[Freeswitch-users] bind_meta_app what call leg?-decision
Михаил Салтанов
melkybes at mail.ru
Mon Dec 13 13:12:35 MSK 2010
Hello
The decision of this problem
in default.xml
<------><action application="set" data="bridge_pre_execute_aleg_app=bind_meta_app"/>
<------><action application="set" data="bridge_pre_execute_aleg_data=1 ab s execute_extension::dxa XML features"/>
<------><action application="set" data="bridge_pre_execute_bleg_app=bind_meta_app"/>
<------><action application="set" data="bridge_pre_execute_bleg_data=1 ab s execute_extension::dxb XML features"/>
in features.xml
<!-- In call Transfer for phones without a transfer button -->
<extension name="dxa">
<condition field="destination_number" expression="^dxa$">
<------><action application="answer"/>
<------><action application="set" data="who_make_transfer=${caller_id_number}"/>
<------><action application="read" data="11 11 'tone_stream://%(10000,0,350,440)' digits 5000 #"/>
<------><action application="execute_extension" data="is_transfer XML features"/>
</condition>
</extension>
....
<extension name="dxb">
<condition field="destination_number" expression="^dxb$">
<action application="set" data="who_make_transfer=${destination_number}"/>
<><action application="answer"/>
<------><action application="read" data="11 11 'tone_stream://%(10000,0,350,440)' digits 5000 #"/>
<------><action application="set" data="accountcode=${who_make_transfer}"/>
<------><action application="execute_extension" data="is_transfer XML features"/>
</condition>
</extension>
С уважением
Михаил Салтанов
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101213/ec8dd73b/attachment.html
More information about the FreeSWITCH-users
mailing list