how to get the gateway name which the call is using
Hello My dialplan like this: <extension name="test"> <condition field="destination_number" expresion="^(100)$"> <action application="bridge" data="sofia/gateway/gw/100|sofia/gateway/gw1/100"/> </condition> </extension> I want to know which gateway was using by the call, gw or gw1? is there any variables to use? Thanks!
Leg B has "sip_gateway_name" in the Variables section. -Avi On Tue, Jan 7, 2014 at 10:54 AM, gggyniidt <gggyniidt@gmail.com> wrote:
Hello
My dialplan like this: <extension name="test"> <condition field="destination_number" expresion="^(100)$"> <action application="bridge" data="sofia/gateway/gw/100|sofia/gateway/gw1/100"/> </condition> </extension>
I want to know which gateway was using by the call, gw or gw1? is there any variables to use?
Thanks!
_________________________________________________________________________ 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
I got it. Thanks Avi Marcus 2014/1/7 Avi Marcus <avi@avimarcus.net>
Leg B has "sip_gateway_name" in the Variables section.
-Avi
On Tue, Jan 7, 2014 at 10:54 AM, gggyniidt <gggyniidt@gmail.com> wrote:
Hello
My dialplan like this: <extension name="test"> <condition field="destination_number" expresion="^(100)$"> <action application="bridge" data="sofia/gateway/gw/100|sofia/gateway/gw1/100"/> </condition> </extension>
I want to know which gateway was using by the call, gw or gw1? is there any variables to use?
Thanks!
_________________________________________________________________________ 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
_________________________________________________________________________ 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
participants (2)
-
Avi Marcus
-
gggyniidt