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@localhost>;tag=f905dae741751e3834bfaa7eb51f4e32-3219
CSeq: 10 OPTIONS
Call-ID: 1358f8fe2a483dc4-7994@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@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

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 List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com