what is the full path/filename of your dialplan? your debug level is not detailed enough. set the log level to 7. $fs_cli -l 7 On Thu, Oct 27, 2011 at 6:07 PM, Miha Zoubek <miha@softnet.si> wrote:
Hi,
I have dialed 9051357952. IP800 is our GW. I created on it one SIP account and connect freeswitch with it.
BR, Miha
On 10/27/2011 11:19 AM, Nandy Dagondon wrote:
hi,
what is IP800? is this a FXO gateway? or a SIP provider?
u hv to dial 9051357952 to match the dialplan.
-nandy
On Wed, Oct 26, 2011 at 9:34 PM, Miha Zoubek <miha@softnet.si> wrote:
Hi,
I am new Freeswitch user. I have read freeswitch book. I registered first few phones and make few inbound calls. I am trying to get outgoing calls working but having no luck. I have configured my gw and set up calling plan. When I try to dial number 051357952 I get this:
reeswitch@localhost.localdomain> 2011-10-26 15:27:25.919562 [NOTICE] switch_channel.c:669 New Channel sofia/internal/1030@172.31.1.157[f2132149-dc40-4601-bd34-c22e5b06b696] 2011-10-26 15:27:25.955550 [INFO] mod_dialplan_xml.c:418 Processing 1030->9051357952 in context default 2011-10-26 15:27:25.960548 [NOTICE] switch_channel.c:669 New Channel sofia/external/051357952 [5ccfd0ae-1bcc-4f19-9ca1-e19f8808e6a4] 2011-10-26 15:27:26.095518 [NOTICE] sofia.c:4789 Hangup sofia/external/051357952 [CS_CONSUME_MEDIA] [NO_ROUTE_DESTINATION] 2011-10-26 15:27:26.098534 [INFO] mod_dptools.c:2355 Originate Failed. Cause: NO_ROUTE_DESTINATION 2011-10-26 15:27:26.098534 [NOTICE] mod_dptools.c:2418 Hangup sofia /internal/1030@172.31.1.157 [CS_EXECUTE] [NO_ROUTE_DESTINATION] 2011-10-26 15:27:26.098534 [NOTICE] switch_core_session.c:1182 Session 49 (sofia/external/051357952) Ended 2011-10-26 15:27:26.098534 [NOTICE] switch_core_session.c:1184 Close Channel sofia/external/051357952 [CS_DESTROY] 2011-10-26 15:27:26.140506 [NOTICE] switch_core_session.c:1182 Session 48 (sofia/internal/1030@172.31.1.157) Ended 2011-10-26 15:27:26.140506 [NOTICE] switch_core_session.c:1184 Close Channel sofia/internal/1030@172.31.1.157 [CS_DESTROY]
GW:
<include> <gateway name="IP800"> <!-- Your username, which is not your DID --> <param name="username" value="Demo2"/> <param name="password" value="1234"/> <param name="register" value="true"/> <param name="realm" value="172.31.1.200"/> </gateway> </include>
This is my dial plan:
<include> <extension name="Dial Out Custom Gateway"> <condition field="destination_number" expression="^9(\d{9})$"> <action application="bridge" data="sofia/gateway/IP800/$1"/> </condition> </extension> </include>
sofia status
Name Type Data State
================================================================================================= external profile sip:mod_sofia@172.31.1.157:5080 RUNNING (0) external::example.com gateway sip:joeuser@example.com NOREG external::IP800 gateway sip:Demo2@172.31.1.200 REGED internal profile sip:mod_sofia@172.31.1.157:5060 RUNNING (0) 172.31.1.157 alias internal ALIASED
================================================================================================= 2 profiles 1 alias
Please help me why I am getting not route to destination.
Thank you very much for all your help!
BR, Miha
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org