<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Ok, after reading this, I'm curious! What if you set the port on the
    realm? It looks like it's trying the realm, failing and then
    substituting proxy or register-proxy. It shouldn't be necessary to
    set the ip:port in the dialplan, that's the gateway's job.<br>
    <br>
    I know that setting the port on the realm works on my Sipura
    SPA3102, but just as a test case......<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 16/01/2014 4:11 AM, Ian McMaster
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAL0C-v8yLtCapeVXBuTjhCiykhQGssoA3uA6FtCnyRzuTQ5mkw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Thank you Normando!
        <div>Works like a charm!</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Wed, Jan 15, 2014 at 10:55 AM,
          Normando Hall <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:nhall@unixlan.com.ar" target="_blank">nhall@unixlan.com.ar</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> Hi<br>
              <br>
              Append the IP and port of your GW as:<br>
              <br>
              data="sofia/gateway/babytel/$1@IP:PORT"<br>
              <br>
              In my GW only works when I append IP:PORT. I don't know
              why.<br>
              <br>
              <br>
              <div>El 15/01/2014 07:48 a.m., Fernando - NextBilling IP
                Solutions escribi&oacute;:<br>
              </div>
              <div>
                <div class="h5">
                  <blockquote type="cite"> Hello.
                    <div><br>
                    </div>
                    <div>Try to set the loglevel to 7 ( <b>/log 7 </b>)
                      and enable siptrace on sofia profile (<b>sofia
                        profile external siptrace on</b>).</div>
                    <div><br>
                    </div>
                    <div>WIth a good level of debug and the siptrace we
                      can know if the call reached your gateway and what
                      kind of response FS receive from gw.</div>
                    <div><br>
                    </div>
                    <div><br>
                      <div>
                        <div
style="text-indent:0px;letter-spacing:normal;text-align:start;text-transform:none;white-space:normal;word-wrap:break-word;word-spacing:0px">
                          <div
style="text-indent:0px;letter-spacing:normal;text-align:start;text-transform:none;white-space:normal;word-wrap:break-word;word-spacing:0px">
                            <div
style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><b
                                style="color:rgb(51,51,51)"><font
                                  color="#000066">Best regards,<br>
                                </font><br>
                                Fernando da Silva Santos</b></div>
                            <div
style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><b
                                style="color:rgb(51,51,51)">CIO -
                                NextBilling IP Solutions</b></div>
                            <div
style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><b
                                style="color:rgb(51,51,51)">$ 55 (11)
                                3090-0077</b></div>
                            <div
style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><b
                                style="color:rgb(51,51,51)">$ 55 (21)
                                3090-0017</b></div>
                            <div
style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><b
style="color:rgb(51,51,51);font-size:12px">$ 0800 580-9200&nbsp;<br>
                              </b></div>
                          </div>
                        </div>
                      </div>
                      <br>
                      <div>
                        <div>Em 14/01/2014, &agrave;(s) 19:31, Ian McMaster
                          &lt;<a moz-do-not-send="true"
                            href="mailto:ian.mcmaster@gmail.com"
                            target="_blank">ian.mcmaster@gmail.com</a>&gt;

                          escreveu:</div>
                        <br>
                        <blockquote type="cite">
                          <div dir="ltr">
                            <div>I have tried two dialplan routes:</div>
                            <div><br>
                            </div>
                            <div>1) &nbsp;Freeswitch cookbook suggests
                              putting in conf/dialplan/default.xml</div>
                            <div><br>
                            </div>
                            <div>&nbsp; &nbsp; &lt;extension
                              name="dial-10-digit-number no prefix"&gt;</div>
                            <div>&nbsp; &nbsp; &nbsp; &lt;condition
                              field="destination_number"
                              expression="^(\d{10})$"&gt;</div>
                            <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="bridge"
                              data="sofia/gateway/babytel/$1"/&gt;</div>
                            <div>&nbsp; &nbsp; &nbsp; &lt;/condition&gt;</div>
                            <div>&nbsp; &nbsp; &lt;/extension&gt;</div>
                            <div><br>
                            </div>
                            <div>2) &nbsp;Freeswitch 1.0.6 book suggest
                              putting in conf/default/01_babytel.xml</div>
                            <div><br>
                            </div>
                            <div>
                              <div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;extension name="Outbound
                                Babytel calls - prefix 91"&gt;</div>
                              <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;condition
                                field="destination_number"
                                expression="^9(1\d{10})$"&gt;</div>
                              <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action
                                application="bridge"
                                data="sofia/gateway/babytel/$1"/&gt;</div>
                              <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/condition&gt;</div>
                              <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/extension&gt;</div>
                            </div>
                            <div><br>
                            </div>
                            <div>Both give the same symptom:</div>
                            <div>
                              <div>freeswitch@internal&gt; /log 6</div>
                              <div>+OK log level 6 [6]</div>
                              <div> freeswitch@internal&gt;</div>
                              <div>2014-01-14 16:28:33.238770 [NOTICE]
                                switch_channel.c:1055 New Channel
                                sofia/internal/<a moz-do-not-send="true"
                                  href="mailto:101@192.168.2.7"
                                  target="_blank">101@192.168.2.7</a>
                                [b5bdf358-5142-4b0e-8753-d15a84922e18]</div>
                              <div> 2014-01-14 16:28:33.378781 [INFO]
                                mod_dialplan_xml.c:558 Processing 101
                                &lt;101&gt;-&gt;<a
                                  moz-do-not-send="true"
                                  href="tel:9058305602"
                                  value="+19058305602" target="_blank">9058305602</a>
                                in context default</div>
                              <div>2014-01-14 16:28:33.378781 [NOTICE]
                                switch_channel.c:1055 New Channel
                                sofia/external/<a moz-do-not-send="true"
                                  href="tel:9058305602"
                                  value="+19058305602" target="_blank">9058305602</a>
                                [9ddd008b-3e75-46ed-a864-858554737aeb]</div>
                            </div>
                            <div>&lt;then nothing....&gt;</div>
                            <div>After about 30 seconds,&nbsp;</div>
                            <div>2014-01-14 16:29:33.019000 [INFO]
                              mod_dptools.c:3201 Originate Failed.
                              &nbsp;Cause: NO_ANSWER</div>
                            <div><br>
                            </div>
                          </div>
                          <div class="gmail_extra"> <br>
                            <br>
                            <div class="gmail_quote">On Tue, Jan 14,
                              2014 at 3:59 PM, Vik Killa <span
                                dir="ltr">&lt;<a moz-do-not-send="true"
                                  href="mailto:vipkilla@gmail.com"
                                  target="_blank">vipkilla@gmail.com</a>&gt;</span>
                              wrote:<br>
                              <blockquote class="gmail_quote"
                                style="margin:0 0 0 .8ex;border-left:1px
                                #ccc solid;padding-left:1ex">
                                <div dir="ltr">What dialplan entry is
                                  executing?</div>
                                <div class="gmail_extra"><br>
                                  <br>
                                  <div class="gmail_quote">
                                    <div>
                                      <div>On Tue, Jan 14, 2014 at 3:39
                                        PM, Ian McMaster <span
                                          dir="ltr">&lt;<a
                                            moz-do-not-send="true"
                                            href="mailto:ian.mcmaster@gmail.com"
                                            target="_blank">ian.mcmaster@gmail.com</a>&gt;</span>
                                        wrote:<br>
                                      </div>
                                    </div>
                                    <blockquote class="gmail_quote"
                                      style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                                      <div>
                                        <div>
                                          <div dir="ltr">Apologies for a
                                            simple newbie question.
                                            &nbsp;Following examples in the
                                            first two FreeSWITCH books,
                                            have been able to set up a
                                            SIP gateway, register, and
                                            receive calls.
                                            <div> However I can't make
                                              calls. &nbsp;The dialplan is
                                              being entered, but 'hangs'
                                              at</div>
                                            <div><br>
                                            </div>
                                            <div>switch_channel.c:1055
                                              New Channel
                                              sofia/external/<a
                                                moz-do-not-send="true"
                                                href="tel:16475551212"
                                                value="+16475551212"
                                                target="_blank">16475551212</a></div>
                                            <div><br>
                                            </div>
                                            <div>a) &nbsp;The provider name
                                              is "babytel".<br>
                                            </div>
                                            <div>b) &nbsp;The dial plan
                                              bridge is to
                                              data="sofia/gateway/babytel/$1"
                                              &nbsp;(as per the books)</div>
                                            <div>c) &nbsp;The provider xml
                                              file is in
                                              conf/sip_profiles/external
                                              &nbsp;(as per the books)</div>
                                            <div><br>
                                            </div>
                                            <div>d) &nbsp;sofia status</div>
                                            <div>Name:
                                              &nbsp;external::babytel</div>
                                            <div>Type: &nbsp;gateway</div>
                                            <div>State: &nbsp;REGED</div>
                                            <div> <br>
                                            </div>
                                            <div>Why is the bridge
                                              channel called
                                              "sofia/external/...."?
                                              &nbsp;And not
                                              "sofia/babytel/..."? &nbsp;&nbsp;</div>
                                            <div>Why does sofia status
                                              show
                                              "external::&lt;provider&gt;"
                                              (the books just show the
                                              provider name)?</div>
                                            <div><br>
                                            </div>
                                            <div>Can anyone explain why
                                              the bridge to the gateway
                                              does not occur?<br>
                                              <br>
                                              Thank you,</div>
                                            <div>Ian.</div>
                                          </div>
                                          <br>
                                        </div>
                                      </div>
_________________________________________________________________________<br>
                                      Professional FreeSWITCH Consulting
                                      Services:<br>
                                      <a moz-do-not-send="true"
                                        href="mailto:consulting@freeswitch.org"
                                        target="_blank">consulting@freeswitch.org</a><br>
                                      <a moz-do-not-send="true"
                                        href="http://www.freeswitchsolutions.com/"
                                        target="_blank">http://www.freeswitchsolutions.com</a><br>
                                      <br>
                                      FreeSWITCH-powered IP PBX: The
                                      CudaTel Communication Server<br>
                                      <a moz-do-not-send="true"
                                        href="http://www.cudatel.com/"
                                        target="_blank">http://www.cudatel.com</a><br>
                                      <br>
                                      Official FreeSWITCH Sites<br>
                                      <a moz-do-not-send="true"
                                        href="http://www.freeswitch.org/"
                                        target="_blank">http://www.freeswitch.org</a><br>
                                      <a moz-do-not-send="true"
                                        href="http://wiki.freeswitch.org/"
                                        target="_blank">http://wiki.freeswitch.org</a><br>
                                      <a moz-do-not-send="true"
                                        href="http://www.cluecon.com/"
                                        target="_blank">http://www.cluecon.com</a><br>
                                      <br>
                                      FreeSWITCH-users mailing list<br>
                                      <a moz-do-not-send="true"
                                        href="mailto:FreeSWITCH-users@lists.freeswitch.org"
                                        target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
                                      <a moz-do-not-send="true"
                                        href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                                        target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                                      UNSUBSCRIBE:<a
                                        moz-do-not-send="true"
                                        href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                                        target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                                      <a moz-do-not-send="true"
                                        href="http://www.freeswitch.org/"
                                        target="_blank">http://www.freeswitch.org</a><br>
                                      <br>
                                    </blockquote>
                                  </div>
                                  <br>
                                </div>
                                <br>
_________________________________________________________________________<br>
                                Professional FreeSWITCH Consulting
                                Services:<br>
                                <a moz-do-not-send="true"
                                  href="mailto:consulting@freeswitch.org"
                                  target="_blank">consulting@freeswitch.org</a><br>
                                <a moz-do-not-send="true"
                                  href="http://www.freeswitchsolutions.com/"
                                  target="_blank">http://www.freeswitchsolutions.com</a><br>
                                <br>
                                FreeSWITCH-powered IP PBX: The CudaTel
                                Communication Server<br>
                                <a moz-do-not-send="true"
                                  href="http://www.cudatel.com/"
                                  target="_blank">http://www.cudatel.com</a><br>
                                <br>
                                Official FreeSWITCH Sites<br>
                                <a moz-do-not-send="true"
                                  href="http://www.freeswitch.org/"
                                  target="_blank">http://www.freeswitch.org</a><br>
                                <a moz-do-not-send="true"
                                  href="http://wiki.freeswitch.org/"
                                  target="_blank">http://wiki.freeswitch.org</a><br>
                                <a moz-do-not-send="true"
                                  href="http://www.cluecon.com/"
                                  target="_blank">http://www.cluecon.com</a><br>
                                <br>
                                FreeSWITCH-users mailing list<br>
                                <a moz-do-not-send="true"
                                  href="mailto:FreeSWITCH-users@lists.freeswitch.org"
                                  target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
                                <a moz-do-not-send="true"
                                  href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                                  target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                                UNSUBSCRIBE:<a moz-do-not-send="true"
                                  href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                                  target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                                <a moz-do-not-send="true"
                                  href="http://www.freeswitch.org/"
                                  target="_blank">http://www.freeswitch.org</a><br>
                                <br>
                              </blockquote>
                            </div>
                            <br>
                          </div>
_________________________________________________________________________<br>
                          Professional FreeSWITCH Consulting Services:<br>
                          <a moz-do-not-send="true"
                            href="mailto:consulting@freeswitch.org"
                            target="_blank">consulting@freeswitch.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://www.freeswitchsolutions.com"
                            target="_blank">http://www.freeswitchsolutions.com</a><br>
                          <br>
                          FreeSWITCH-powered IP PBX: The CudaTel
                          Communication Server<br>
                          <a moz-do-not-send="true"
                            href="http://www.cudatel.com"
                            target="_blank">http://www.cudatel.com</a><br>
                          <br>
                          Official FreeSWITCH Sites<br>
                          <a moz-do-not-send="true"
                            href="http://www.freeswitch.org"
                            target="_blank">http://www.freeswitch.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://wiki.freeswitch.org"
                            target="_blank">http://wiki.freeswitch.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://www.cluecon.com"
                            target="_blank">http://www.cluecon.com</a><br>
                          <br>
                          FreeSWITCH-users mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:FreeSWITCH-users@lists.freeswitch.org"
                            target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                            target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                          UNSUBSCRIBE:<a moz-do-not-send="true"
                            href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                            target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                          <a moz-do-not-send="true"
                            href="http://www.freeswitch.org"
                            target="_blank">http://www.freeswitch.org</a><br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
                  </blockquote>
                  <br>
                </div>
              </div>
              <span class="HOEnZb"><font color="#888888">
                  <pre cols="72">-- 
Normando Hall
Rosario - Argentina
<a moz-do-not-send="true" href="mailto:normandohall@gmail.com" target="_blank">normandohall@gmail.com</a>
</pre>
                </font></span></div>
            <br>
_________________________________________________________________________<br>
            Professional FreeSWITCH Consulting Services:<br>
            <a moz-do-not-send="true"
              href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
            <br>
            FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
            <a moz-do-not-send="true" href="http://www.cudatel.com"
              target="_blank">http://www.cudatel.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              target="_blank">http://www.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://wiki.freeswitch.org"
              target="_blank">http://wiki.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://www.cluecon.com"
              target="_blank">http://www.cluecon.com</a><br>
            <br>
            FreeSWITCH-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
              target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
            UNSUBSCRIBE:<a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
              target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              target="_blank">http://www.freeswitch.org</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

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>
    <br>
  </body>
</html>