you must have changed more than you think.<div><br></div><div>you might want to diff you configs against the in-tree ones.</div><div><br><div><br><div class="gmail_quote">On Wed, Jun 30, 2010 at 10:19 PM, Deya M <span dir="ltr"><<a href="mailto:deya787@gmail.com">deya787@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><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>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div></div>