I create two sip extension 1000 and 1001,i have to calls 1000 to 1001.
<include>
<context "name=default">
<extension name="outgoing">
<condition field="destination_number" expression="^(100)$">
<action application="bridge" data="sofia/freetdm/wp1/a/$1"/>
</condition>
</extension>
</context>
</include>
But it didn't take the route.
2017-10-13 05:02:36.316705 [INFO] mod_dialplan_xml.c:637 Processing 1000 <1000>->1234 in context public
2017-10-13 05:02:36.316705 [INFO] mod_dialplan_xml.c:637 Processing 1000 <1000>->1001 in context default
2017-10-13 05:02:36.316705 [CRIT] mod_dptools.c:1782 WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
2017-10-13 05:02:36.316705 [CRIT] mod_dptools.c:1782 Open /usr/local/freeswitch/conf/vars.xml and change the default_password.
2017-10-13 05:02:36.316705 [CRIT] mod_dptools.c:1782 Once changed type 'reloadxml' at the console.
2017-10-13 05:02:36.316705 [CRIT] mod_dptools.c:1782 WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
2017-10-13 05:02:46.336708 [INFO] switch_ivr_async.c:4273 Bound B-Leg: *1 execute_extension::dx XML features
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
2017-10-13 05:02:46.336708 [INFO] switch_ivr_async.c:4273 Bound B-Leg: *3 execute_extension::cf XML features
2017-10-13 05:02:46.336708 [INFO] switch_ivr_async.c:4273 Bound B-Leg: *4 execute_extension::att_xfer XML features
2017-10-13 05:02:46.336708 [NOTICE] switch_ivr_originate.c:2868 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
2017-10-13 05:02:46.396708 [INFO] switch_ivr_originate.c:1220 Sending early media
2017-10-13 05:02:50.036718 [NOTICE] switch_ivr_originate.c:2868 Cannot create outgoing channel of type [user] cause: [ORIGINATOR_CANCEL]
2017-10-13 05:02:50.036718 [INFO] mod_dptools.c:3508 Originate Failed. Cause: ORIGINATOR_CANCEL
Thanks for answer.