<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">looks like that the call is handled by another extension, please be sure to put your new extension before the part that is handling the default extension i.e. 1000 to 1009</div><div class=""><br class=""></div><div class="">i.e. before the below line:</div><div class=""><span style="background-color: rgb(145, 145, 145);" class=""><br class=""></span></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(145, 145, 145);" class=""> <extension name="Local_Extension"></span></div><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(145, 145, 145);" class=""> <condition field="destination_number" expression="^(10[01][0-9])$"></span></div></div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Ahmed Habiba.<br class=""><div><br class=""><blockquote type="cite" class=""><div class=""><br class=""></div><div class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">alex <<a href="mailto:hiastar_alex@163.com" class="">hiastar_alex@163.com</a>><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">[Freeswitch-users] outbound route question</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">October 18, 2017 at 6:45:02 AM GMT+3<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a><br class=""></span></div><br class=""><br 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=""></div></blockquote></div><br class=""></div></body></html>