<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi,</div><div class=""><br class=""></div><div class="">1. It seems your call is catched by another dialplan extension. Make sure once you transfer the call to the default context, your new extension is on the top of everything.</div><div class=""><br class=""></div><div class="">2. </div><div class=""><div class=""><extension name="outgoing"></div><div class=""> <condition field="destination_number" expression="^(100)$”></div></div><div class=""><br class=""></div><div class="">This condition will never match your call. </div><div class=""><br class=""></div><div class="">You have to do:</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>- <condition field="destination_number" expression="^(1001)$”></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>OR</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>- <condition field="destination_number" expression="^(100)”></div><div class=""><br class=""></div><div class="">Srigo</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 18, 2017, at 5:45 AM, alex <<a href="mailto:hiastar_alex@163.com" class="">hiastar_alex@163.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class=""><div class="">I create two sip extension 1000 and 1001,i have to calls 1000 to 1001.</div><div class="">This is my outbount route:</div><div class=""><div class=""><include></div><div class=""><context "name=default"></div><div class=""><extension name="outgoing"></div><div class=""> <condition field="destination_number" expression="^(100)$"></div><div class=""> <action application="bridge" data="sofia/freetdm/wp1/a/$1"/></div><div class=""> </condition></div><div class=""> </extension></div><div class=""></context></div><div class=""></include></div></div><div class="">But it didn't take the route.</div><div class="">Why is that? what should i do?</div><div class="">This are CLI log:</div><div class=""><div class="">2017-10-13 05:02:36.296708 [NOTICE] switch_channel.c:1104 New Channel <a href="mailto:sofia/internal/1000@192.168.1.70" class="">sofia/internal/1000@192.168.1.70</a> [b12d303a-1f58-4731-b568-78e2b256c28b]</div><div class="">2017-10-13 05:02:36.316705 [INFO] mod_dialplan_xml.c:637 Processing 1000 <1000>->1234 in context public</div><div class="">2017-10-13 05:02:36.316705 [NOTICE] switch_ivr.c:2201 Transfer <a href="mailto:sofia/internal/1000@192.168.1.70" class="">sofia/internal/1000@192.168.1.70</a> to XML[1001@default]</div><div class="">2017-10-13 05:02:36.316705 [INFO] mod_dialplan_xml.c:637 Processing 1000 <1000>->1001 in context default</div><div class="">2017-10-13 05:02:36.316705 [CRIT] mod_dptools.c:1782 WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING</div><div class="">2017-10-13 05:02:36.316705 [CRIT] mod_dptools.c:1782 Open /usr/local/freeswitch/conf/vars.xml and change the default_password.</div><div class="">2017-10-13 05:02:36.316705 [CRIT] mod_dptools.c:1782 Once changed type 'reloadxml' at the console.</div><div class="">2017-10-13 05:02:36.316705 [CRIT] mod_dptools.c:1782 WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING</div><div class="">2017-10-13 05:02:46.336708 [INFO] switch_ivr_async.c:4273 Bound B-Leg: *1 execute_extension::dx XML features</div><div class="">2017-10-13 05:02:46.336708 [INFO] switch_ivr_async.c:4273 Bound B-Leg: *2 record_session::/usr/local/freeswitch/recordings/1000.2017-10-13-05-02-46.wav</div><div class="">2017-10-13 05:02:46.336708 [INFO] switch_ivr_async.c:4273 Bound B-Leg: *3 execute_extension::cf XML features</div><div class="">2017-10-13 05:02:46.336708 [INFO] switch_ivr_async.c:4273 Bound B-Leg: *4 execute_extension::att_xfer XML features</div><div class="">2017-10-13 05:02:46.336708 [NOTICE] switch_channel.c:1104 New Channel <a href="mailto:sofia/internal/1001@192.168.1.69" class="">sofia/internal/1001@192.168.1.69</a>:5060 [4e2e818f-98f5-461b-ad4c-ad34eb933191]</div><div class="">2017-10-13 05:02:46.336708 [NOTICE] switch_ivr_originate.c:2868 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]</div><div class="">2017-10-13 05:02:46.396708 [NOTICE] sofia.c:7391 Ring-Ready <a href="mailto:sofia/internal/1001@192.168.1.69" class="">sofia/internal/1001@192.168.1.69</a>:5060!</div><div class="">2017-10-13 05:02:46.396708 [INFO] switch_ivr_originate.c:1220 Sending early media</div><div class="">2017-10-13 05:02:46.416708 [NOTICE] sofia_media.c:92 Pre-Answer <a href="mailto:sofia/internal/1000@192.168.1.70" class="">sofia/internal/1000@192.168.1.70</a>!</div><div class="">2017-10-13 05:02:50.016708 [NOTICE] sofia.c:8474 Hangup <a href="mailto:sofia/internal/1000@192.168.1.70" class="">sofia/internal/1000@192.168.1.70</a> [CS_EXECUTE] [ORIGINATOR_CANCEL]</div><div class="">2017-10-13 05:02:50.016708 [NOTICE] switch_ivr_originate.c:3629 Hangup <a href="mailto:sofia/internal/1001@192.168.1.69" class="">sofia/internal/1001@192.168.1.69</a>:5060 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]</div><div class="">2017-10-13 05:02:50.036718 [NOTICE] switch_ivr_originate.c:2868 Cannot create outgoing channel of type [user] cause: [ORIGINATOR_CANCEL]</div><div class="">2017-10-13 05:02:50.036718 [INFO] mod_dptools.c:3508 Originate Failed. Cause: ORIGINATOR_CANCEL</div><div class="">2017-10-13 05:02:50.036718 [NOTICE] switch_core_session.c:1731 Session 2 (<a href="mailto:sofia/internal/1001@192.168.1.69" class="">sofia/internal/1001@192.168.1.69</a>:5060) Ended</div><div class="">2017-10-13 05:02:50.036718 [NOTICE] switch_core_session.c:1735 Close Channel <a href="mailto:sofia/internal/1001@192.168.1.69" class="">sofia/internal/1001@192.168.1.69</a>:5060 [CS_DESTROY]</div><div class="">2017-10-13 05:02:50.056713 [NOTICE] switch_core_session.c:1731 Session 1 (<a href="mailto:sofia/internal/1000@192.168.1.70" class="">sofia/internal/1000@192.168.1.70</a>) Ended</div><div class="">2017-10-13 05:02:50.056713 [NOTICE] switch_core_session.c:1735 Close Channel <a href="mailto:sofia/internal/1000@192.168.1.70" class="">sofia/internal/1000@192.168.1.70</a> [CS_DESTROY]</div></div><div class=""><br class=""></div><div class="">Thanks for answer.</div></div><br class=""><br class=""><span title="neteasefooter" class=""><div id="netease_mail_footer" class=""><div style="border-top:#CCC 1px solid;padding:10px 5px;font-size:17px;color:#777;line-height:22px" class=""><a href="http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9" target="_blank" style="color:#3366FF;text-decoration:none" class="">【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> </a>
</div></div></span>_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services:<br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></body></html>