[Freeswitch-users] Set/Export channel variable

Ahmed Ajmal ahmed.ajmal at breezecom.ae
Wed Mar 10 06:01:38 PST 2010


Hi 

 

I am trying to set a channel variable on the bridge application using this:

 

<action application="bridge"
data="[gw=gateway1]sofia/gateway/gw/$number@$ipgw1 |
[gw=gateway2]sofia/gateway/gw/$number@$ipgw2"/>

 

The application runs fine, what I now need to do is set/export the 'gw'
channel variable for CDR so that I know which gateway was dialed. I have
tried using set and export application but that doesn't work. Please help.

 

Thanks

Ahmed

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100310/46982227/attachment-0002.html 


More information about the FreeSWITCH-users mailing list