[Freeswitch-users] Variables from failed call to be exported to a a new B leg

Tchavdar Paskov chavpaskov at shaw.ca
Thu Feb 26 12:56:10 PST 2009


Hi Everybody,

this is what i' trying to do / unsuccessfully / so far:


   <extension name="test">
      <condition field="destination_number" expression="^1(\d+)$" break="never">
         <action application="set" data="bypass_media=true" />
         <action application="set" data="continue_on_fail=true"/>
         <action application="bridge" data="sofia/gateway/gw_1/$1"/>
         <action application="info" />  -> at this point i'd like to collect some sip Vars from the failed call
         <action application="export" data="nolocal:sip_hangup_phrase" /> - from what i red in wiki i think this is the way to export the var to the Bleg
         <action application="bridge" data="sofia/gateway/gw_2/$0" />
      </condition>
    </extension>

the gw_2  does not  seem to receive the  sip_hangup_phrase.
pls  help me to figure out what i'm doing wrong.

thank you in advance.
regards
Chav

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


More information about the FreeSWITCH-users mailing list