VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
max.bridgewater at gma... Guest
|
Posted: Tue Jun 23, 2009 10:02 am Post subject: [Freeswitch-users] Help with Socket event again |
|
|
The file is located under /usr/local/freeswitch/conf/dialplan/default/. The name is: mysocket.xml. The content is:
<include>
<extension name="mysocket">
<condition field="destination_number" expression="^242.*" break="on-true">
<action application="socket" data="192.168.50.66:10000 full" />
</condition>
</extension>
</include>
Max.
On Tue, Jun 23, 2009 at 10:44 AM, Michael S Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
|
|
Back to top |
|
|
max.bridgewater at gma... Guest
|
Posted: Tue Jun 23, 2009 2:13 pm Post subject: [Freeswitch-users] Help with Socket event again |
|
|
Hi,
I've got some news on this. When i move my extension to a different directory (/usr/local/freeswitch/conf/dialplan/sockets/) and add an include element at the very sample place where the default is included, things work just as expected. That is, my default.xml now include following:
<X-PRE-PROCESS cmd="include" data="sockets/*.xml"/>
<X-PRE-PROCESS cmd="include" data="default/*.xml"/>
Cheers,
Max.
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Jun 23, 2009 2:31 pm Post subject: [Freeswitch-users] Help with Socket event again |
|
|
I love it when users figure it out AND report back what they did to solve the issue! Nice work.
-MC
On Tue, Jun 23, 2009 at 12:11 PM, Max Bridgewater <max.bridgewater@gmail.com (max.bridgewater@gmail.com)> wrote:
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|