<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi Stefano,<br>
      looks like veceblu.it is not a local domain, the check that is
      failing is the one provided by Henk:<br>
      <br>
      if($du != $null && is_domain_local("$dd"))<br>
      <br>
    </tt>
    <pre class="moz-signature" cols="72">-- 
Daniel Grotti
Head of Customer Support
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Office: +43(0)130120332
Email: <a class="moz-txt-link-abbreviated" href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>
Website: <a class="moz-txt-link-freetext" href="https://www.sipwise.com">https://www.sipwise.com</a>
</pre>
    <div class="moz-cite-prefix">On 11/05/2017 09:29 PM, Henk wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:38646665-544a-690e-41f6-c0df13029d51@voipdigit.nl">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      <p>Hi Stefano,</p>
      I had to add the DNS name of my server to SPCE as a dummy domain
      to stop the loose-routing error. But if I look at your log, it
      seems you are using <u><font color="#3333ff">voceblu.it</font></u>
      and not <a moz-do-not-send="true" href="http://geva.voceblu.it">geva.voceblu.it.<br>
      </a>Are both domains existing in SPCE?<br>
      <br>
      <br>
      In the script (/etc/kamailio/proxy/proxy.cfg) there is a test to
      see if the destination uri domain is local, if this fails it
      produces the loose-route error:<br>
      <font size="-2"><br>
                if(!has_totag())<br>
                {<br>
                    if($du != $null && <u><b>is_domain_local("$dd")</b></u>)<br>
                    {<br>
                        xlog("L_INFO", "Reset initial local route -
        R=$ru ID=$ci UA='$ua'\n");<br>
                        $du = $null;<br>
                    }<br>
                    else<br>
                    {<br>
                        xlog("L_NOTICE", "<u><b>Initial loose-routing
            rejected</b></u> - R=$ru ID=$ci UA='$ua'\n");<br>
                        sl_send_reply("403", "Initial Loose-Routing
        Forbidden");<br>
                        exit;<br>
                    }<br>
                }</font><br>
      <br>
      Hope this helps,<br>
      <br>
      Regards,<br>
      <br>
      Henk Plessius<br>
      <br>
      <div class="moz-cite-prefix">On 5-11-2017 19:31, stefanormc wrote:<br>
      </div>
      <blockquote
cite="mid:CAHTRqyWwqfH3iTAp_OB8v6BMY2dzb9=QEcwudpRdNru+1T1-ng@mail.gmail.com"
        type="cite">
        <style>body{font-family:Helvetica,Arial;font-size:13px}</style>
        <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Hi
          Henk,</div>
        <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br>
        </div>
        <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">I’m
          no too sure what you mean. What proxy domain do you refer to? </div>
        <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br>
        </div>
        <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">In
          my case, user is <a moz-do-not-send="true"
            href="mailto:XXXXX@geva.voceblu.it">XXXXX@geva.voceblu.it</a> and
          I have <a moz-do-not-send="true"
            href="http://geva.voceblu.it">geva.voceblu.it</a> realm
          configured</div>
        <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br>
        </div>
        Proxy is <a moz-do-not-send="true"
          href="http://centrale.aXXXXXXti.it">centrale.aXXXXXXti.it</a> that
        seems to be correctly configured on the Grandstream ATA<br>
        <div><br>
        </div>
        <div>Thanks</div>
        <div><br>
        </div>
        <div>ciao</div>
        <div><br>
        </div>
        <div>Stefano </div>
        <br>
        <p class="airmail_on">On 4 November 2017 at 21:04:09, Henk (<a
            moz-do-not-send="true" href="mailto:henk@voipdigit.nl">henk@voipdigit.nl</a>)
          wrote:</p>
        <blockquote type="cite" class="clean_bq"><span>
            <div bgcolor="#FFFFFF" text="#000000">
              <div>
                <title></title>
                <p>Hi Stefano,</p>
                <p>I had the same problem when I made a connection to an
                  authorization domain which was not the same as the
                  server address. In some clients you have to use the
                  proxy setting to specify the server address. The
                  kamailio proxy checks the domain against the known
                  domains (domain table in the kamailio db). I solved
                  this by adding the proxy domain in SPCE. Hope this
                  helps for you too.</p>
                <p>Regards,</p>
                <p>Henk Plessius<br>
                </p>
                <br>
                <div class="moz-cite-prefix">On 4-11-2017 17:13,
                  stefanormc wrote:<br>
                </div>
                <blockquote
cite="mid:CAHTRqyVh1Y2enYqOriTo=XXFCpSTpnbRBqp1nAJEZudjVB89PQ@mail.gmail.com"
                  type="cite">
                  <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Hello
                    again,</div>
                  <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br>
                  </div>
                  <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Anyone…?
                    No ideas?</div>
                  <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br>
                  </div>
                  <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">I’m
                    stuck</div>
                  <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br>
                  </div>
                  <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Thanks</div>
                  <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br>
                  </div>
                  <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Ciao</div>
                  <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br>
                  </div>
                  <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Stefano </div>
                  <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br>
                  </div>
                  <br>
                  <br>
                  <p class="airmail_on">On 3 October 2017 at 14:00:16,
                    stefanormc (<a moz-do-not-send="true"
                      href="mailto:stefanormc@gmail.com">stefanormc@gmail.com</a>)
                    wrote:</p>
                  <blockquote type="cite" class="clean_bq">
                    <div style="word-wrap:break-word">
                      <div>
                        <div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><span><br>
                          </span></div>
                        <span>Hi all,</span>
                        <div><span><br>
                          </span></div>
                        <div><span>I just updated to 5.4.1 and I’m
                            experiencing a ‘loose routing’ problem on
                            outbound calls from certain clients that are
                            correctly registered and have no problem on
                            inbound calls.</span></div>
                        <div><span><br>
                          </span></div>
                        <div><span>This what I see in spce log:</span></div>
                        <div><span><br>
                          </span></div>
                        <div>
                          <div><span>Oct  3 10:55:40 centrale
                              proxy[3476]: NOTICE: <script>: New
                              request on proxy - M=INVITE R=<a
                                moz-do-not-send="true"
                                href="mailto:sip%3A0110133301@voceblu.it">sip:0110133301@voceblu.it</a>;user=phone
                              F=<a moz-do-not-send="true"
                                href="mailto:sip%3A0119649202@voceblu.it">sip:0119649202@voceblu.it</a>;user=phone
                              T=<a moz-do-not-send="true"
                                href="mailto:sip%3A0110133301@voceblu.it">sip:0110133301@voceblu.it</a>;user=phone
                              IP=<a moz-do-not-send="true"
                                href="http://172.26.4.92:1024">172.26.4.92:1024</a>
                              (<a moz-do-not-send="true"
                                href="http://127.0.0.1:5060">127.0.0.1:5060</a>)
                              <a moz-do-not-send="true"
                                class="moz-txt-link-abbreviated"
                                href="mailto:ID=1052434700-5060-11@BJC.BGI.B.H">ID=1052434700-5060-11@BJC.BGI.B.H</a>
                              UA='Grandstream HT701 1.0.8.2'</span></div>
                          <div><span>Oct  3 10:55:40 centrale
                              proxy[3476]: NOTICE: <script>:
                              Initial loose-routing rejected - R=<a
                                moz-do-not-send="true"
                                href="mailto:sip%3A0110133301@voceblu.it">sip:0110133301@voceblu.it</a>;user=phone
                              <a moz-do-not-send="true"
                                class="moz-txt-link-abbreviated"
                                href="mailto:ID=1052434700-5060-11@BJC.BGI.B.H">ID=1052434700-5060-11@BJC.BGI.B.H</a>
                              UA='Grandstream HT701 1.0.8.2’</span></div>
                          <div><span><br>
                            </span></div>
                          <div><span>Outbound calls worked fine before
                              upgrading</span></div>
                          <div><span><br>
                            </span></div>
                          <div><span>Any hint where the problem might
                              lie?</span></div>
                          <div><span><br>
                            </span></div>
                          <div><span>Thanks</span></div>
                          <div><span><br>
                            </span></div>
                          <div><span>stefano</span></div>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                  <fieldset class="mimeAttachmentHeader"></fieldset>
                  <br>
                  <pre>_______________________________________________
Spce-user mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a>
</pre>
                </blockquote>
                <br>
                _______________________________________________<br>
                Spce-user mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
                <a moz-do-not-send="true"
                  href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a><br>
              </div>
            </div>
          </span></blockquote>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Spce-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a class="moz-txt-link-freetext" href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>