<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 10/26/2011 3:34 PM, Miha Zoubek wrote:
<blockquote cite="mid:4EA80C5F.6020501@softnet.si" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi,<br>
<br>
I am new <span style="background: none repeat scroll 0% 0%
yellow;" class="J-JK9eJ-PJVNOc">Freeswitch</span> user. I have
read <span style="background: none repeat scroll 0% 0% yellow;"
class="J-JK9eJ-PJVNOc">freeswitch</span> book. I registered
first few phones and make few inbound calls.<br>
I am trying to get outgoing calls working but having no luck. <br>
I have configured my <span style="background: none repeat scroll
0% 0% yellow;" class="J-JK9eJ-PJVNOc">gw</span> and set up
calling plan. When I try to dial number 051357952 I get this:<br>
<br>
<span style="background: none repeat scroll 0% 0% yellow;"
class="J-JK9eJ-PJVNOc">reeswitch</span>@<span style="background:
none repeat scroll 0% 0% yellow;" class="J-JK9eJ-PJVNOc">localhost</span>.<span
style="background: none repeat scroll 0% 0% yellow;"
class="J-JK9eJ-PJVNOc">localdomain</span>> 2011-10-26
15:27:25.919562 [NOTICE] switch_channel.c:669 New Channel <span
style="background: none repeat scroll 0% 0% yellow;"
class="J-JK9eJ-PJVNOc">sofia</span>/internal/1030@172.31.1.157
[f2132149-dc40-4601-bd34-c22e5b06b696]<br>
2011-10-26 15:27:25.955550 [INFO] mod_<span style="background:
none repeat scroll 0% 0% yellow;" class="J-JK9eJ-PJVNOc">dialplan</span>_<span
style="background: none repeat scroll 0% 0% yellow;"
class="J-JK9eJ-PJVNOc">xml</span>.c:418 Processing
1030->9051357952 in context default<br>
2011-10-26 15:27:25.960548 [NOTICE] switch_channel.c:669 New
Channel <span style="background: none repeat scroll 0% 0%
yellow;" class="J-JK9eJ-PJVNOc">sofia</span>/external/051357952
[5ccfd0ae-1bcc-4f19-9ca1-e19f8808e6a4]<br>
2011-10-26 15:27:26.095518 [NOTICE] <span style="background: none
repeat scroll 0% 0% yellow;" class="J-JK9eJ-PJVNOc">sofia</span>.c:4789
Hangup <span style="background: none repeat scroll 0% 0% yellow;"
class="J-JK9eJ-PJVNOc">sofia</span>/external/051357952
[CS_CONSUME_MEDIA] [NO_ROUTE_DESTINATION]<br>
2011-10-26 15:27:26.098534 [INFO] mod_<span style="background:
none repeat scroll 0% 0% yellow;" class="J-JK9eJ-PJVNOc">dptools</span>.c:2355
Originate Failed. Cause: NO_ROUTE_DESTINATION<br>
2011-10-26 15:27:26.098534 [NOTICE] mod_<span style="background:
none repeat scroll 0% 0% yellow;" class="J-JK9eJ-PJVNOc">dptools</span>.c:2418
Hangup <span style="background: none repeat scroll 0% 0% yellow;"
class="J-JK9eJ-PJVNOc">sofia</span>/internal/1030@172.31.1.157
[CS_EXECUTE] [NO_ROUTE_DESTINATION]<br>
2011-10-26 15:27:26.098534 [NOTICE] switch_core_session.c:1182
Session 49 (<span style="background: none repeat scroll 0% 0%
yellow;" class="J-JK9eJ-PJVNOc">sofia</span>/external/051357952)
Ended<br>
2011-10-26 15:27:26.098534 [NOTICE] switch_core_session.c:1184
Close Channel <span style="background: none repeat scroll 0% 0%
yellow;" class="J-JK9eJ-PJVNOc">sofia</span>/external/051357952
[CS_DESTROY]<br>
2011-10-26 15:27:26.140506 [NOTICE] switch_core_session.c:1182
Session 48 (<span style="background: none repeat scroll 0% 0%
yellow;" class="J-JK9eJ-PJVNOc">sofia</span>/internal/1030@172.31.1.157)
Ended<br>
2011-10-26 15:27:26.140506 [NOTICE] switch_core_session.c:1184
Close Channel <span style="background: none repeat scroll 0% 0%
yellow;" class="J-JK9eJ-PJVNOc">sofia</span>/internal/1030@172.31.1.157
[CS_DESTROY]<br>
<br>
<span style="background: none repeat scroll 0% 0% yellow;"
class="J-JK9eJ-PJVNOc">GW</span>:<br>
<br>
<include><br>
<gateway name="IP800"><br>
<!-- Your <span style="background: none repeat scroll 0%
0% yellow;" class="J-JK9eJ-PJVNOc">username</span>, which is not
your DID --><br>
<<span style="background: none repeat scroll 0% 0% yellow;"
class="J-JK9eJ-PJVNOc">param</span> name="<span
style="background: none repeat scroll 0% 0% yellow;"
class="J-JK9eJ-PJVNOc">username</span>" value="Demo2"/><br>
<<span style="background: none repeat scroll 0% 0% yellow;"
class="J-JK9eJ-PJVNOc">param</span> name="password"
value="1234"/><br>
<<span style="background: none repeat scroll 0% 0% yellow;"
class="J-JK9eJ-PJVNOc">param</span> name="register"
value="true"/><br>
<<span style="background: none repeat scroll 0% 0% yellow;"
class="J-JK9eJ-PJVNOc">param</span> name="realm"
value="172.31.1.200"/><br>
</gateway><br>
</include><br>
<br>
This is my dial plan:<br>
<br>
<include><br>
<extension name="Dial Out Custom Gateway"><br>
<condition field="destination_number"
expression="^9(\d{9})$"><br>
<action application="bridge" data="<span
style="background: none repeat scroll 0% 0% yellow;"
class="J-JK9eJ-PJVNOc">sofia</span>/gateway/IP800/$1"/><br>
</condition><br>
</extension><br>
</include><br>
<br>
<br>
sofia status<br>
<br>
Name
Type Data State<br>
=================================================================================================<br>
external profile <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="sip:mod_sofia@172.31.1.157:5080">sip:mod_sofia@172.31.1.157:5080</a>
RUNNING (0)<br>
external::example.com gateway <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="sip:joeuser@example.com">sip:joeuser@example.com</a>
NOREG<br>
external::IP800 gateway <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="sip:Demo2@172.31.1.200">sip:Demo2@172.31.1.200</a>
REGED<br>
internal profile <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="sip:mod_sofia@172.31.1.157:5060">sip:mod_sofia@172.31.1.157:5060</a>
RUNNING (0)<br>
172.31.1.157
alias internal ALIASED<br>
=================================================================================================<br>
2 profiles 1 alias<br>
<br>
<br>
Please help me why I am getting not route to destination.<br>
<br>
Thank you very much for all your help!<br>
<br>
BR,<br>
<span style="background: none repeat scroll 0% 0% yellow;"
class="J-JK9eJ-PJVNOc">Miha</span><br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
Please, could any one just point me on right direction:)<br>
<br>
Thanks!<br>
<br>
BR,<br>
Miha<br>
</body>
</html>