[Freeswitch-users] outbound route question

alex hiastar_alex at 163.com
Wed Oct 18 03:45:02 UTC 2017


I create two sip extension 1000 and 1001,i have to calls 1000 to 1001.
This is my outbount route:
<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.
Why is that? what should i do?
This are CLI log:
2017-10-13 05:02:36.296708 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1000 at 192.168.1.70 [b12d303a-1f58-4731-b568-78e2b256c28b]
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 [NOTICE] switch_ivr.c:2201 Transfer sofia/internal/1000 at 192.168.1.70 to XML[1001 at default]
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_channel.c:1104 New Channel sofia/internal/1001 at 192.168.1.69:5060 [4e2e818f-98f5-461b-ad4c-ad34eb933191]
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 [NOTICE] sofia.c:7391 Ring-Ready sofia/internal/1001 at 192.168.1.69:5060!
2017-10-13 05:02:46.396708 [INFO] switch_ivr_originate.c:1220 Sending early media
2017-10-13 05:02:46.416708 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/1000 at 192.168.1.70!
2017-10-13 05:02:50.016708 [NOTICE] sofia.c:8474 Hangup sofia/internal/1000 at 192.168.1.70 [CS_EXECUTE] [ORIGINATOR_CANCEL]
2017-10-13 05:02:50.016708 [NOTICE] switch_ivr_originate.c:3629 Hangup sofia/internal/1001 at 192.168.1.69:5060 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
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
2017-10-13 05:02:50.036718 [NOTICE] switch_core_session.c:1731 Session 2 (sofia/internal/1001 at 192.168.1.69:5060) Ended
2017-10-13 05:02:50.036718 [NOTICE] switch_core_session.c:1735 Close Channel sofia/internal/1001 at 192.168.1.69:5060 [CS_DESTROY]
2017-10-13 05:02:50.056713 [NOTICE] switch_core_session.c:1731 Session 1 (sofia/internal/1000 at 192.168.1.70) Ended
2017-10-13 05:02:50.056713 [NOTICE] switch_core_session.c:1735 Close Channel sofia/internal/1000 at 192.168.1.70 [CS_DESTROY]


Thanks for answer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171018/a90edc9a/attachment.html>


More information about the FreeSWITCH-users mailing list