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