[Freeswitch-users] Dynamic Xml (extension includes and gateway bridging)

Hector Geraldino Hector.Geraldino at ipsoft.com
Mon Jan 20 19:25:50 MSK 2014


You'll be better served if you change both your dialplan and your application to work in "outbound mode":

http://wiki.freeswitch.org/wiki/Mod_event_socket#Outbound

I don't think you can achieve #1 from within your application - at least not consistently - without adding a "park" entry to the dialplan.

For #2, yes, it's possible. Just add the gateway info to the bridge string.  I usually do something like:  bridge sofia/internal/destination at GATEWAY_IP, but you can use "sofia/gateway/destination" if you have the gateways defined on the XML files.

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Yisroel M. Olewski
Sent: Monday, January 20, 2014 5:55 AM
To: freeswitch-users at lists.freeswitch.org
Subject: [Freeswitch-users] Dynamic Xml (extension includes and gateway bridging)

Hello everybody
I have a .net application that connects to a FreeSWITCH instance and handles incoming calls
I do not have easy access to the xml files
I have 2 issues which I think might be similar

1.       Parking: I need to preconfigure all incoming calls to park right away, otherwise the esl commands are ignored (as http://wiki.freeswitch.org/wiki/Mod_event_socket#Inbound ). How can I do this via code without needing to change the files physically? I haven't found any documentation for anything like this

2.       Bridging: I need to be able to dynamically bridge to gateways listed in an external database, so it wouldn't be practical to keep updating the gateway files. Is it possible to bridge via esl to an arbitrary gateway with me providing host and credentials etc?

Sincerely,
Yisroel M. Olewski
CEO
[cid:image001.png at 01CF15D2.570A1DF0]
+1 (718) 514-2721
+972 (52) 764-9971
Websites * CRM * ERP * Telephony * Inventory * Content Management

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140120/9379bde2/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 21149 bytes
Desc: image001.png
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140120/9379bde2/attachment-0001.png 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list