[Freeswitch-users] how to get the gateway name which the call is using

Avi Marcus avi at avimarcus.net
Tue Jan 7 14:28:17 MSK 2014


Leg B has "sip_gateway_name" in the Variables section.

-Avi


On Tue, Jan 7, 2014 at 10:54 AM, gggyniidt <gggyniidt at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140107/1c16f001/attachment.html 


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