<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap:break-word;line-break:after-white-space"><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 added the dns name in the domains section but still getting the same problem:</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"><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Nov  6 10:43:44 centrale03 proxy[3507]: NOTICE: <script>: New request on proxy - M=INVITE R=<a href="mailto:sip%3A0322259098@c.voceblu.it">sip:0322259098@c.voceblu.it</a> F=<a href="mailto:sip%3A0119084086@c.voceblu.it">sip:0119084086@c.voceblu.it</a> T=<a href="mailto:sip%3A0322259098@c.voceblu.it">sip:0322259098@c.voceblu.it</a> IP=<a href="http://178.255.188.147:58296">178.255.188.147:58296</a> (<a href="http://127.0.0.1:5060">127.0.0.1:5060</a>) ID=418017e2-baee-4baa-9e60-13e95ebc6f5b UA='Gigaset T440/T640'</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Nov  6 10:43:44 centrale03 proxy[3507]: NOTICE: <script>: Initial loose-routing rejected - R=sip:<a href="http://centrale03.avanzati.it">centrale03.avanzati.it</a> ID=418017e2-baee-4baa-9e60-13e95ebc6f5b UA='Gigaset T440/T640'</span></p><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div></div> this is a different customer with a Gigaset PBX with a PJSIP trunk<div><a href="http://c.voceblu.it">c.voceblu.it</a> is a valid local domain as well as <a href="http://centrale03.avanzati.it">centrale03.avanzati.it</a></div><div><br></div><div>What happens if I disable that part of the script?</div><div><br></div><div><br></div><div> <div id="bloop_sign_1509962847698662912" class="bloop_sign"></div> <br><p class="airmail_on">Il giorno
 6 novembre 2017 @ 10:04:39, stefanormc (<a href="mailto:stefanormc@gmail.com">stefanormc@gmail.com</a>) ha scritto:</p> <blockquote type="cite" class="clean_bq"><span><div style="word-wrap:break-word;line-break:after-white-space"><div></div><div>




<title></title>



<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 have both domains configured, one is a reseller.</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">
There are approx 100 subscribers working on each domain but they
are both giving the same error on the same device, a grandstream
ht701 ATA </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">
if by local domain you mean configured under ‘domains’ in spce,
then they both are. I have not configured the dns proxy name as
suggested by Henk yet. I’ll try that today.</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">
<table class="table table-bordered table-striped table-highlight table-hover ngcp-datatable dataTable no-footer" id="Domain_table" style="max-width:100%;border-spacing:0px;width:1169px;margin:5px 0px;border-width:1px 1px 1px 0px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-top-color:rgb(28,43,55);border-right-color:rgb(221,221,221);border-bottom-color:rgb(221,221,221);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;clear:both;color:rgb(51,51,51);font-family:"Open Sans",arial,sans-serif;font-size:12px">
<thead>
<tr style="background:linear-gradient(rgb(95,155,67),rgb(73,119,52)) repeat-x rgb(86,141,61)">
<th class="header headerSortDown" tabindex="0" rowspan="1" colspan="1" style="padding:10px 8px;line-height:20px;vertical-align:bottom;border-top-width:0px;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);font-size:13px;color:rgb(255,255,255);border-right-width:1px;border-right-style:solid;border-right-color:rgb(62,102,44);border-top-left-radius:4px;width:140px">
#</th>
<th class="header" tabindex="0" rowspan="1" colspan="1" style="padding:10px 8px;line-height:20px;vertical-align:bottom;border-top-width:0px;border-left-width:1px;border-left-style:solid;border-left-color:rgb(119,183,90);font-size:13px;color:rgb(255,255,255);border-right-width:1px;border-right-style:solid;border-right-color:rgb(62,102,44);width:326px">
Reseller</th>
<th class="header" tabindex="0" rowspan="1" colspan="1" style="padding:10px 8px;line-height:20px;vertical-align:bottom;border-top-width:0px;border-left-width:1px;border-left-style:solid;border-left-color:rgb(119,183,90);font-size:13px;color:rgb(255,255,255);border-right-width:1px;border-right-style:solid;border-right-color:rgb(62,102,44);width:446px">
Domain</th>
<th class="ngcp-actions-column sorting_disabled" rowspan="1" colspan="1" style="width:186px;white-space:nowrap;padding:10px 8px;line-height:20px;vertical-align:bottom;border-top-width:0px;border-left-width:1px;border-left-style:solid;border-left-color:rgb(119,183,90);font-size:13px;color:rgb(255,255,255);border-right-style:none;border-top-right-radius:4px">
</th>
</tr>
</thead>
<tbody>
<tr class="sw_action_row">
<td class="sorting_1" style="padding:13px 8px;line-height:20px;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid;border-left-color:rgb(221,221,221);border-right-width:1px;border-right-style:solid;border-right-color:rgb(221,221,221);background-color:rgb(240,243,247)">
6</td>
<td style="padding:13px 8px;line-height:20px;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid;border-left-color:rgb(255,255,255);border-right-width:1px;border-right-style:solid;border-right-color:rgb(221,221,221);background-color:rgb(240,243,247)">
PSA</td>
<td style="padding:13px 8px;line-height:20px;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid;border-left-color:rgb(255,255,255);border-right-width:1px;border-right-style:solid;border-right-color:rgb(221,221,221);background-color:rgb(240,243,247)">
<a href="http://voceblu.it">voceblu.it</a></td>
<td class=" ngcp-actions-column" style="width:10px;white-space:nowrap;padding:13px 8px;line-height:20px;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid;border-left-color:rgb(255,255,255);border-right-style:none;background-color:rgb(240,243,247)">
<br></td>
</tr>
<tr class="sw_action_row">
<td class="sorting_1" style="padding:13px 8px;line-height:20px;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);border-left-width:1px;border-left-style:solid;border-left-color:rgb(221,221,221);border-right-width:1px;border-right-style:solid;border-right-color:rgb(221,221,221)">
7</td>
<td style="padding:13px 8px;line-height:20px;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);border-left-width:1px;border-left-style:solid;border-left-color:rgb(255,255,255);border-right-width:1px;border-right-style:solid;border-right-color:rgb(221,221,221)">
G-Eva</td>
<td style="padding:13px 8px;line-height:20px;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);border-left-width:1px;border-left-style:solid;border-left-color:rgb(255,255,255);border-right-width:1px;border-right-style:solid;border-right-color:rgb(221,221,221)">
<a href="http://geva.voceblu.it">geva.voceblu.it</a></td>
</tr>
</tbody>
</table>
</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">
<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>
<br>
<div id="bloop_sign_1509958659181263872" class="bloop_sign"></div>
<br>
<p class="airmail_on">Il giorno 6 novembre 2017 @ 09:43:52, Daniel
Grotti (<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>) ha
scritto:</p>
<blockquote type="cite" class="clean_bq">
<div text="#000000" bgcolor="#FFFFFF">
<div><span><tt>Hi Stefano,<br>
looks like <a href="http://veceblu.it">veceblu.it</a> 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></span>
<pre class="moz-signature" cols="72"><span>--   
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>
</span></pre>
<div class="moz-cite-prefix"><span>On 11/05/2017 09:29 PM, Henk
wrote:<br></span></div>
<blockquote type="cite" cite="mid:38646665-544a-690e-41f6-c0df13029d51@voipdigit.nl">
<p><span>Hi Stefano,</span></p>
<span>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"><a href="http://voceblu.it">voceblu.it</a></font></u> and not <a 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></span>
<div class="moz-cite-prefix"><span>On 5-11-2017 19:31, stefanormc
wrote:<br></span></div>
<blockquote cite="mid:CAHTRqyWwqfH3iTAp_OB8v6BMY2dzb9=QEcwudpRdNru+1T1-ng@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">
<span>Hi Henk,</span></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>
<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>I’m no too sure what you mean. What proxy domain do you refer
to? </span></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>
<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>In my case, user is <a href="mailto:XXXXX@geva.voceblu.it">XXXXX@geva.voceblu.it</a> and I
have <a href="http://geva.voceblu.it">geva.voceblu.it</a> realm
configured</span></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>Proxy is <a href="http://centrale.aXXXXXXti.it">centrale.aXXXXXXti.it</a> that
seems to be correctly configured on the Grandstream
ATA<br></span>
<div><span><br></span></div>
<div><span>Thanks</span></div>
<div><span><br></span></div>
<div><span>ciao</span></div>
<div><span><br></span></div>
<div><span>Stefano </span></div>
<span><br></span>
<p class="airmail_on"><span>On 4 November 2017 at 21:04:09, Henk
(<a href="mailto:henk@voipdigit.nl">henk@voipdigit.nl</a>) wrote:</span></p>
<blockquote type="cite" class="clean_bq">
<div bgcolor="#FFFFFF" text="#000000">
<div>
<p><span><span>Hi Stefano,</span></span></p>
<p><span>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.</span></p>
<p><span>Regards,</span></p>
<p><span>Henk Plessius<br></span></p>
<span><br></span>
<div class="moz-cite-prefix"><span>On 4-11-2017 17:13, stefanormc
wrote:<br></span></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">
<span>Hello again,</span></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>
<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>Anyone…? No ideas?</span></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>
<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>I’m stuck</span></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>
<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>Thanks</span></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>
<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>Ciao</span></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>
<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>Stefano </span></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><br>
<br></span>
<p class="airmail_on"><span>On 3 October 2017 at 14:00:16,
stefanormc (<a href="mailto:stefanormc@gmail.com">stefanormc@gmail.com</a>)
wrote:</span></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><span><br></span></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 href="mailto:sip%3A0110133301@voceblu.it">sip:0110133301@voceblu.it</a>;user=phone
F=<a href="mailto:sip%3A0119649202@voceblu.it">sip:0119649202@voceblu.it</a>;user=phone
T=<a href="mailto:sip%3A0110133301@voceblu.it">sip:0110133301@voceblu.it</a>;user=phone
IP=<a href="http://172.26.4.92:1024">172.26.4.92:1024</a> (<a href="http://127.0.0.1:5060">127.0.0.1:5060</a>)
<a 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 href="mailto:sip%3A0110133301@voceblu.it">sip:0110133301@voceblu.it</a>;user=phone
<a 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 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>
_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>

<a href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a><br>
</div>
</div>
</blockquote>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
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>
_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a><br></div>
</div>
</blockquote>


</div></div></span></blockquote></div></body></html>