Осознал!
Продолжаю..
conf/ivr_menus/my1.domain.xml
Код:
<entry action="menu-exec-app" digits="1" param="execute_extension set:call_timeout=15,bridge:user/101@my1.domain,transfer:102 my1.domain transfer inline"/>
conf/dialplan/my1.domain.xml
Код:
<context name="transfer">
<extension name="102">
<condition field="destination_number" expression="^102$">
<action application="bridge" data="{leg_timeout=15,ignore_early_media=true}user/102@my1.domain"/>
<action application="hangup"/>
</condition>
</extension>
</context>
Так не работает!
В WIKI так:
Usage
Код:
transfer <destination_number> [<dialplan> [<context>]]
Если так:
transfer:102 XML transfer inlineто:
Код:
EXECUTE sofia/external/123456@provider.com execute_extension(set:call_timeout=15,bridge:user/101@my1.domain,transfer:102 XML transfer inline)
[INFO] mod_dialplan_xml.c:558 Processing 123456 <123456>->set:call_timeout=15,bridge:user/101@ my1.domain,transfer:102 in context transfer
Dialplan: sofia/external/123456@provider.com parsing [transfer->102] continue=false
Dialplan: sofia/external/123456@provider.com Regex (FAIL) [102] destination_number(set:call_timeout=15,bridge:user/101@ my1.domain,transfer:102) =~ /^102$/ break=on-false
Если так:
transfer:102 my1.domain transfer inlineто:
Код:
EXECUTE sofia/external/123456@provider.com execute_extension(transfer:102 my1.domain transfer inline)
[DEBUG] switch_core_file.c:216 File /usr/local/freeswitch/sounds/my1.domain/hello.wav sample rate 44100 doesn't match requested rate 8000
[DEBUG] switch_ivr_play_say.c:1319 Codec Activated L16@8000hz 1 channels 20ms
Меню зацикливается после нажатия "1"