<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>&gt; 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-&gt;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.&nbsp; 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>
      &lt;include&gt;<br>
      &nbsp; &lt;gateway name="IP800"&gt;<br>
      &nbsp;&nbsp;&nbsp; &lt;!-- Your <span style="background: none repeat scroll 0%
        0% yellow;" class="J-JK9eJ-PJVNOc">username</span>, which is not
      your DID --&gt;<br>
      &nbsp;&nbsp;&nbsp; &lt;<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"/&gt;<br>
      &nbsp;&nbsp;&nbsp; &lt;<span style="background: none repeat scroll 0% 0% yellow;"
        class="J-JK9eJ-PJVNOc">param</span> name="password"
      value="1234"/&gt;<br>
      &nbsp;&nbsp;&nbsp; &lt;<span style="background: none repeat scroll 0% 0% yellow;"
        class="J-JK9eJ-PJVNOc">param</span> name="register"
      value="true"/&gt;<br>
      &nbsp;&nbsp;&nbsp; &lt;<span style="background: none repeat scroll 0% 0% yellow;"
        class="J-JK9eJ-PJVNOc">param</span> name="realm"
      value="172.31.1.200"/&gt;<br>
      &nbsp;&lt;/gateway&gt;<br>
      &lt;/include&gt;<br>
      <br>
      This is my dial plan:<br>
      <br>
      &lt;include&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;extension name="Dial Out Custom Gateway"&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number"
      expression="^9(\d{9})$"&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="<span
        style="background: none repeat scroll 0% 0% yellow;"
        class="J-JK9eJ-PJVNOc">sofia</span>/gateway/IP800/$1"/&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/extension&gt;<br>
      &lt;/include&gt;<br>
      <br>
      <br>
      sofia status<br>
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; State<br>
=================================================================================================<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; external&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; profile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      RUNNING (0)<br>
      &nbsp;&nbsp;&nbsp; external::example.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gateway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a
        moz-do-not-send="true" class="moz-txt-link-freetext"
        href="sip:joeuser@example.com">sip:joeuser@example.com</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      NOREG<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; external::IP800&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gateway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      REGED<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; internal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; profile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      RUNNING (0)<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 172.31.1.157&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      alias&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; internal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>