HiAbout #1, I guess I’ll have to change the xml or use curl (as ido suggested)About #2, can you show me a working gateway string example ? I understand I need to send proxy, username & password
thanks 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. OlewskiSent: Monday, January 20, 2014 5:55 AMTo: freeswitch-users at lists.freeswitch.orgSubject: [Freeswitch-users] Dynamic Xml (extension includes and gateway bridging) Hello everybodyI have a .net application that connects to a FreeSWITCH instance and handles incoming callsI do not have easy access to the xml filesI 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. OlewskiCEO[cid:image001.png at 01CF15D2.570A1DF0]+1 (718) 514-2721+972 (52) 764-9971Websites * CRM * ERP * Telephony * Inventory * Content ManagementSincerely,
Yisroel M. Olewski
CEO

+1 (718) 514-2721
+972 (52) 764-9971
Websites · CRM · ERP · Telephony · Inventory · Content Management