dynamic gateway declaration in freeswitch. Is it possible?
Hi guys, I've just faced with a problem of defining a dynamic gateway the same way as in asterisk sip.conf with "host=dynamic" configuration parameter. So the question is how to define a gateway to a host behind a nat where host ip and port become available only after registration of this host on freeswitch. Any idea would be very much appreciated, Dmitry -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/dynamic-gateway-declaration-in... Sent from the freeswitch-users mailing list archive at Nabble.com.
One of these threads might answer your question; http://lists.freeswitch.org/pipermail/freeswitch-users/2010-November/064860.... http://freeswitch-users.2379917.n2.nabble.com/Setting-gateway-username-dynam... http://marc.info/?l=freeswitch-users&m=130159068314989&w=2 You can also use mod_xml_curl perhaps with a simple PHP script to achieve your end goal as well. As far as I'm aware, there is no way to specify a 'dynamic' URL in the gateway configuration (although strangely, it is possible in mod_xml_curl, with use-dynamic-url, as shown here http://jira.freeswitch.org/browse/FS-419- you could maybe put in a feature request?) I could be wrong, there might very well be support for this, but I couldn't find any reference to it. Hope this helps Cal On Mon, Mar 25, 2013 at 3:23 PM, rdmitry <rdmitry0911@gmail.com> wrote:
Hi guys,
I've just faced with a problem of defining a dynamic gateway the same way as in asterisk sip.conf with "host=dynamic" configuration parameter. So the question is how to define a gateway to a host behind a nat where host ip and port become available only after registration of this host on freeswitch.
Any idea would be very much appreciated, Dmitry
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/dynamic-gateway-declaration-in... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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
Use gateways where FS registers to the gateway and use user directory entries for where the gateway registers to FS. Use the user/ endpoint syntax or sofia_contact API output for calling to the registered user (gateway). -Steve On 25 March 2013 15:23, rdmitry <rdmitry0911@gmail.com> wrote:
Hi guys,
I've just faced with a problem of defining a dynamic gateway the same way as in asterisk sip.conf with "host=dynamic" configuration parameter. So the question is how to define a gateway to a host behind a nat where host ip and port become available only after registration of this host on freeswitch.
Any idea would be very much appreciated, Dmitry
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/dynamic-gateway-declaration-in... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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
OK, I'm trying to use user syntax but when I make call to a host behind a nat from an extension, registered on freeswitch, freeswitch considers this call as a local one and uses my local caller id for this call. I can't change the outbound_caller_id_number neither in <variables> section of user description nor in dial_string which in my case looks like this: How in this case I can change an outbound_caller_id_number for this user? -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/dynamic-gateway-declaration-in... Sent from the freeswitch-users mailing list archive at Nabble.com.
That's not a gateway, that's a user.... On 3/25/13 9:23 AM, "rdmitry" <rdmitry0911@gmail.com> wrote:
Hi guys,
I've just faced with a problem of defining a dynamic gateway the same way as in asterisk sip.conf with "host=dynamic" configuration parameter. So the question is how to define a gateway to a host behind a nat where host ip and port become available only after registration of this host on freeswitch.
Any idea would be very much appreciated, Dmitry
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/dynamic-gateway-declaration-in... reeswitch-Is-it-possible-tp7589006.html Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
participants (4)
-
Cal Leeming [Simplicity Media Ltd]
-
Ken Rice
-
rdmitry
-
Steven Ayre