<div dir="ltr"><div>Hi,</div><div><br></div><div>In the default dial plan, with two extensions defined, 1000 and 1001, when I call from 1000 to 1001, I always get Voicemail, using the default config files: conf/dialplan/default.xml</div>
<div><br></div><div>I changed the following from :</div><div><br></div><div><b> <action application="bridge" data="user/${dialed_extension}@${domain_name}"/></b></div><div>TO</div><div> <b><action application="bridge" data="sofia/internal/${dialed_extension}%${domain_name}"/></b></div>
<div> </div><div>and it did work! Not sure if the first / default one, <b> <action application="bridge" data="user/${dialed_extension}@${domain_name}"/> </b>should work, but something is missing ?</div>
<div><br></div><div><br></div><div>New: </div><div> <extension name="Local_Extension"></div><div> <condition field="destination_number" expression="^(10[01][0-9])$"></div><div>
<action application="set" data="dialed_extension=$1"/></div><div> <action application="export" data="dialed_extension=$1"/></div><div> <!-- bind_meta_app can have these args <key> [a|b|ab] [a|b|o|s] <app> --></div>
<div> <action application="bind_meta_app" data="1 b s execute_extension::dx XML features"/></div><div> <action application="bind_meta_app" data="2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/></div>
<div> <action application="bind_meta_app" data="3 b s execute_extension::cf XML features"/></div><div> <action application="set" data="ringback=${us-ring}"/></div>
<div> <action application="set" data="transfer_ringback=$${hold_music}"/></div><div> <action application="set" data="call_timeout=30"/></div><div> <!-- <action application="set" data="sip_exclude_contact=${network_addr}"/> --></div>
<div> <action application="set" data="hangup_after_bridge=true"/></div><div> <!--<action application="set" data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION"/> --></div>
<div> <action application="set" data="continue_on_fail=true"/></div><div> <action application="hash" data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/></div>
<div> <action application="hash" data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/></div><div> <action application="set" data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}"/></div>
<div> <!--<action application="export" data="nolocal:sip_secure_media=${user_data(${dialed_extension}@${domain_name} var sip_secure_media)}"/>--></div><div> <action application="hash" data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/></div>
<div> <action application="bridge" data="sofia/internal/${dialed_extension}%${domain_name}"/></div><div> <action application="answer"/></div><div> <action application="sleep" data="1000"/></div>
<div> <action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/></div><div> </condition></div><div> </extension></div><div>
<br></div><div><br></div><div>Old: </div><div><br></div><div><div> <extension name="Local_Extension"></div><div> <condition field="destination_number" expression="^(10[01][0-9])$"></div>
<div> <action application="set" data="dialed_extension=$1"/></div><div> <action application="export" data="dialed_extension=$1"/></div><div> <!-- bind_meta_app can have these args <key> [a|b|ab] [a|b|o|s] <app> --></div>
<div> <action application="bind_meta_app" data="1 b s execute_extension::dx XML features"/></div><div> <action application="bind_meta_app" data="2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/></div>
<div> <action application="bind_meta_app" data="3 b s execute_extension::cf XML features"/></div><div> <action application="set" data="ringback=${us-ring}"/></div>
<div> <action application="set" data="transfer_ringback=$${hold_music}"/></div><div> <action application="set" data="call_timeout=30"/></div><div> <!-- <action application="set" data="sip_exclude_contact=${network_addr}"/> --></div>
<div> <action application="set" data="hangup_after_bridge=true"/></div><div> <!--<action application="set" data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION"/> --></div>
<div> <action application="set" data="continue_on_fail=true"/></div><div> <action application="hash" data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/></div>
<div> <action application="hash" data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/></div><div> <action application="set" data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}"/></div>
<div> <!--<action application="export" data="nolocal:sip_secure_media=${user_data(${dialed_extension}@${domain_name} var sip_secure_media)}"/>--></div><div> <action application="hash" data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/></div>
<div> <action application="bridge" data="user/${dialed_extension}@${domain_name}"/></div><div> <action application="answer"/></div><div> <action application="sleep" data="1000"/></div>
<div> <action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/></div><div> </condition></div><div> </extension></div></div>
<div><br></div><div>:-D</div><div><br></div></div>