[SR-Users] WARNING: topos [tps_storage.c:400]: tps_storage_record(): no local address

Sergey Basov sergey.v.basov at gmail.com
Tue Jun 5 15:26:06 CEST 2018


Hi,

I using OPTIONS method to ping kamailio with topos module loaded.

I does not see such message in logs.

My configuration block:
        if (is_method("OPTIONS")) {
            sl_send_reply("200", "Kamailio is alive");
            exit;
        }

Using kamailio 5.1.3 with topos loaded, cisco and asterisk as clients with
OPTIONS ping enabled.

--
Best regards,
Sergey Basov                     e-mail: sergey.v.basov at gmail.com

2018-06-05 15:33 GMT+03:00 Minh Phan <mphan at wengo.com>:

> Is anyone using OPTIONS method to ping a Kamailio instance with topos
> module loaded without having these warning in the log? It cannot happen
> only to me though :)
>
> Thanks for your feedback,
> Minh Phan
>
>
>
>
> Le ven. 1 juin 2018 à 18:42, Minh Phan <mphan at wengo.com> a écrit :
>
>> Hi Daniel,
>>
>> No, there is no To tag parameter. The OPTIONS messages are generated from
>> another Kamailio instance. Bellow is one example:
>>
>> *OPTIONS sip:x.x.x.x:5060 SIP/2.0*
>> *Via: SIP/2.0/UDP
>> x.x.x.x:5061;branch=z9hG4bKee3.b1602cf5000000000000000000000000.0*
>> *To: <sip:x.x.x.x:5060>*
>> *From:
>> <sip:dispatcher at localhost>;tag=f905dae741751e3834bfaa7eb51f4e32-3219*
>> *CSeq: 10 OPTIONS*
>> *Call-ID: 1358f8fe2a483dc4-7994 at x.x.x.x*
>> *Max-Forwards: 70*
>> *Content-Length: 0*
>> *User-Agent: kamailio (5.1.2 (x86_64/linux))  *
>>
>>
>> Cheers,
>> Minh
>>
>>
>>
>> Le jeu. 31 mai 2018 à 21:44, Daniel-Constantin Mierla <miconda at gmail.com>
>> a écrit :
>>
>>> Hello,
>>>
>>> does the OPTIONS request have To header tag parameter?
>>>
>>> Cheers,
>>> Daniel
>>>
>>> On 31.05.18 18:20, Minh Phan wrote:
>>>
>>> Hi List,
>>>
>>> I have this warning message in kamailio log when Kamailio handle an
>>> OPTIONS message with topos module enabled (I am using Kamailio 5.1.2):
>>>
>>> WARNING: topos [tps_storage.c:400]: tps_storage_record(): no local
>>> address - do record routing for all initial requests
>>>
>>> In my config file, OPTIONS message is handled this way:
>>>     if ( is_method("OPTIONS") ) {
>>>         t_newtran();
>>>         record_route();
>>>         t_reply("200","OK");
>>>         exit;
>>>     }
>>>
>>> I have found this issue on Github but it is closed and I am not sure
>>> what was the solution: #1483
>>> <https://github.com/kamailio/kamailio/issues/1483>
>>>
>>> My server receives 4 OPTIONS messages every 10 seconds that give as many
>>> warning in my log file. What could I do to get rid of them?
>>>
>>> Thanks,
>>> Minh
>>>
>>>
>>>
>>> _______________________________________________
>>> Kamailio (SER) - Users Mailing Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>> --
>>> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
>>> Kamailio World Conference -- www.kamailioworld.com
>>>
>>>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180605/f9e331c7/attachment.html>


More information about the sr-users mailing list