how to know gateway used by distributor
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@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
try to make a condition cond() in your dialplan ----- Original Message ----- From: Octavio Duarte To: freeswitch-users@lists.freeswitch.org Sent: Sunday, December 26, 2010 3:37 PM Subject: [Freeswitch-users] how to know gateway used by distributor 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@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.xmlso my question is: how can i know the gateway was used by distributor? thanks in advance for your help ------------------------------------------------------------------------------ _______________________________________________ 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
thanks for your reply i have solved the problem by using b-leg cdr and exporting a-leg variable so know i have the cdrs as i wanted to thanks -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-know-gateway-used-by-di... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (3)
-
Madovsky
-
Octavio Duarte
-
xduvox