<action application="set" data="import=vars,you,want,from,the,bleg" /> <action application="bridge" data="..." /> <!-- Vars defined in the import var will be copied back to the A-leg --> <action application="bridge" data="..." />
On 26-Feb-09, at 3:56 PM, Tchavdar Paskov wrote: > 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 > _______________________________________________ > 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 _______________________________________________ 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