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

gggyniidt gggyniidt at gmail.com
Wed Jan 8 05:15:07 MSK 2014


I got it. Thanks Avi Marcus


2014/1/7 Avi Marcus <avi at avimarcus.net>

> 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
>>
>>
>
> _________________________________________________________________________
> 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/20140108/9569ef9a/attachment.html 


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