[Spce-user] loose-routing

Daniel Grotti dgrotti at sipwise.com
Mon Nov 6 05:18:39 EST 2017


Hi Stefano,
what is "c.voceblu.it" ?
This is not part of your domain, or ?
Also, can you kindly post the output from the following commands:

1) mysql> select * from kamailio.domain;
2) # ngcp-kamctl proxy fifo domain_dump


Thanks,

-- 
Daniel Grotti
Head of Customer Support
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Office: +43(0)130120332
Email: dgrotti at sipwise.com
Website: https://www.sipwise.com

On 11/06/2017 11:15 AM, stefanormc wrote:
> I added the dns name in the domains section but still getting the same 
> problem:
>
> Nov  6 10:43:44 centrale03 proxy[3507]: NOTICE: <script>: New request 
> on proxy - M=INVITE R=sip:0322259098 at c.voceblu.it 
> <mailto:sip%3A0322259098 at c.voceblu.it> F=sip:0119084086 at c.voceblu.it 
> <mailto:sip%3A0119084086 at c.voceblu.it> T=sip:0322259098 at c.voceblu.it 
> <mailto:sip%3A0322259098 at c.voceblu.it> IP=178.255.188.147:58296 
> <http://178.255.188.147:58296> (127.0.0.1:5060 
> <http://127.0.0.1:5060>) ID=418017e2-baee-4baa-9e60-13e95ebc6f5b 
> UA='Gigaset T440/T640'
>
> Nov  6 10:43:44 centrale03 proxy[3507]: NOTICE: <script>: Initial 
> loose-routing rejected - R=sip:centrale03.avanzati.it 
> <http://centrale03.avanzati.it> 
> ID=418017e2-baee-4baa-9e60-13e95ebc6f5b UA='Gigaset T440/T640'
>
>
> this is a different customer with a Gigaset PBX with a PJSIP trunk
> c.voceblu.it <http://c.voceblu.it> is a valid local domain as well as 
> centrale03.avanzati.it <http://centrale03.avanzati.it>
>
> What happens if I disable that part of the script?
>
>
>
> Il giorno 6 novembre 2017 @ 10:04:39, stefanormc (stefanormc at gmail.com 
> <mailto:stefanormc at gmail.com>) ha scritto:
>
>> I have both domains configured, one is a reseller.
>> 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
>>
>> 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.
>>
>> # 	Reseller 	Domain 	
>> 6 	PSA 	voceblu.it <http://voceblu.it> 	
>> 7 	G-Eva 	geva.voceblu.it <http://geva.voceblu.it>
>>
>>
>>
>> thanks
>>
>> ciao
>>
>> stefano
>>
>>
>> Il giorno 6 novembre 2017 @ 09:43:52, Daniel Grotti 
>> (dgrotti at sipwise.com <mailto:dgrotti at sipwise.com>) ha scritto:
>>
>>> Hi Stefano,
>>> looks like veceblu.it <http://veceblu.it> is not a local domain, the 
>>> check that is failing is the one provided by Henk:
>>>
>>> if($du != $null && is_domain_local("$dd"))
>>>
>>> -- Daniel Grotti Head of Customer Support Sipwise GmbH, Campus 
>>> 21/Europaring F15 AT-2345 Brunn am Gebirge Office: +43(0)130120332 
>>> Email: dgrotti at sipwise.com Website: https://www.sipwise.com
>>> On 11/05/2017 09:29 PM, Henk wrote:
>>>>
>>>> Hi Stefano,
>>>>
>>>> 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 _voceblu.it <http://voceblu.it>_ and not geva.voceblu.it.
>>>> <http://geva.voceblu.it> Are both domains existing in SPCE?
>>>>
>>>>
>>>> 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:
>>>>
>>>>         if(!has_totag())
>>>>         {
>>>>             if($du != $null && _*is_domain_local("$dd")*_)
>>>>             {
>>>>     xlog("L_INFO", "Reset initial local route - R=$ru ID=$ci 
>>>> UA='$ua'\n");
>>>>     $du = $null;
>>>>             }
>>>>             else
>>>>             {
>>>>     xlog("L_NOTICE", "_*Initial loose-routing rejected*_ - R=$ru 
>>>> ID=$ci UA='$ua'\n");
>>>>     sl_send_reply("403", "Initial Loose-Routing Forbidden");
>>>>     exit;
>>>>             }
>>>>         }
>>>>
>>>> Hope this helps,
>>>>
>>>> Regards,
>>>>
>>>> Henk Plessius
>>>>
>>>> On 5-11-2017 19:31, stefanormc wrote:
>>>>> Hi Henk,
>>>>>
>>>>> I’m no too sure what you mean. What proxy domain do you refer to?
>>>>>
>>>>> In my case, user is XXXXX at geva.voceblu.it 
>>>>> <mailto:XXXXX at geva.voceblu.it> and I have geva.voceblu.it 
>>>>> <http://geva.voceblu.it> realm configured
>>>>>
>>>>> Proxy is centrale.aXXXXXXti.it <http://centrale.aXXXXXXti.it> that 
>>>>> seems to be correctly configured on the Grandstream ATA
>>>>>
>>>>> Thanks
>>>>>
>>>>> ciao
>>>>>
>>>>> Stefano
>>>>>
>>>>> On 4 November 2017 at 21:04:09, Henk (henk at voipdigit.nl 
>>>>> <mailto:henk at voipdigit.nl>) wrote:
>>>>>
>>>>>> Hi Stefano,
>>>>>>
>>>>>> 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.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Henk Plessius
>>>>>>
>>>>>>
>>>>>> On 4-11-2017 17:13, stefanormc wrote:
>>>>>>> Hello again,
>>>>>>>
>>>>>>> Anyone…? No ideas?
>>>>>>>
>>>>>>> I’m stuck
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Ciao
>>>>>>>
>>>>>>> Stefano
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 3 October 2017 at 14:00:16, stefanormc (stefanormc at gmail.com 
>>>>>>> <mailto:stefanormc at gmail.com>) wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> 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.
>>>>>>>>
>>>>>>>> This what I see in spce log:
>>>>>>>>
>>>>>>>> Oct  3 10:55:40 centrale proxy[3476]: NOTICE: <script>: New 
>>>>>>>> request on proxy - M=INVITE R=sip:0110133301 at voceblu.it 
>>>>>>>> <mailto:sip%3A0110133301 at voceblu.it>;user=phone 
>>>>>>>> F=sip:0119649202 at voceblu.it 
>>>>>>>> <mailto:sip%3A0119649202 at voceblu.it>;user=phone 
>>>>>>>> T=sip:0110133301 at voceblu.it 
>>>>>>>> <mailto:sip%3A0110133301 at voceblu.it>;user=phone 
>>>>>>>> IP=172.26.4.92:1024 <http://172.26.4.92:1024> (127.0.0.1:5060 
>>>>>>>> <http://127.0.0.1:5060>) ID=1052434700-5060-11 at BJC.BGI.B.H 
>>>>>>>> UA='Grandstream HT701 1.0.8.2'
>>>>>>>> Oct  3 10:55:40 centrale proxy[3476]: NOTICE: <script>: Initial 
>>>>>>>> loose-routing rejected - R=sip:0110133301 at voceblu.it 
>>>>>>>> <mailto:sip%3A0110133301 at voceblu.it>;user=phone 
>>>>>>>> ID=1052434700-5060-11 at BJC.BGI.B.H UA='Grandstream HT701 1.0.8.2’
>>>>>>>>
>>>>>>>> Outbound calls worked fine before upgrading
>>>>>>>>
>>>>>>>> Any hint where the problem might lie?
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> stefano
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Spce-user mailing list
>>>>>>> Spce-user at lists.sipwise.com
>>>>>>> https://lists.sipwise.com/listinfo/spce-user
>>>>>>
>>>>>> _______________________________________________
>>>>>> Spce-user mailing list
>>>>>> Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com>
>>>>>> https://lists.sipwise.com/listinfo/spce-user
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Spce-user mailing list
>>>> Spce-user at lists.sipwise.com
>>>> https://lists.sipwise.com/listinfo/spce-user
>>>
>>> _______________________________________________
>>> Spce-user mailing list
>>> Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com>
>>> https://lists.sipwise.com/listinfo/spce-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20171106/c443dd90/attachment-0001.html>


More information about the Spce-user mailing list