Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Help with Socket event again

Goto page Previous  1, 2
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
max.bridgewater at gma...
Guest





PostPosted: Tue Jun 23, 2009 10:02 am    Post subject: [Freeswitch-users] Help with Socket event again Reply with quote

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:
Quote:

On Jun 23, 2009, at 7:04 AM, Max Bridgewater
<max.bridgewater@gmail.com (max.bridgewater@gmail.com)> wrote:



Quote:
Hi Michael,

Using loopback solves my problem. Thanks a lot.
There is a strange thing i observed though. I need to paste my
extension in the default.xml file. Having them in the default
directory isn't enough. Is that normal?




No it isn't. What is the name of the file that has your extension and
what subdir is it in? Can you pb the contents?
-MC

Quote:
Max.

Quote:


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Back to top
max.bridgewater at gma...
Guest





PostPosted: Tue Jun 23, 2009 2:13 pm    Post subject: [Freeswitch-users] Help with Socket event again Reply with quote

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





PostPosted: Tue Jun 23, 2009 2:31 pm    Post subject: [Freeswitch-users] Help with Socket event again Reply with quote

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:
Quote:
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.
       


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services