[Freeswitch-users] how to know gateway used by distributor

Octavio Duarte xduvox at gmail.com
Sun Dec 26 23:37:45 MSK 2010


Hello everybody

I have this problem , when i use this

<action application="set" data="continue_on_fail=true"/>

1   <action application="bridge" data="sofia/internal/${
distributor(gwusers)}%${domain_name}^$1"  loop="4"/>
or
2   <action application="bridge"
data="sofia/gateway/${distributor(gwproviders)}/$1"
loop="10"/>

both work perfectly

but i don't know for with gateway call went out

i have tried with ${bridge_channel} the result for the first example is

sofia/internal/sip:1002 at 1xx.142.1x7.xxx  it is enough for me!

but for the second example this is the result

sofia/internal/5533186003 and i can't know the gateway that was used!

i use this <param name="master-file-only" value="true"/>   in cdr_csv.conf.xml

so my question is:  how can i know the gateway was used by distributor?

thanks in advance for your help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101226/54d2e784/attachment.html 


More information about the FreeSWITCH-users mailing list