Hello Does anyone succeed in having openwengo SIP pings working with openser I've added the options module and the fonction below but openser isn't answering.
loadmodule "options.so"
......
if (uri==myself) { if ((method==OPTIONS) || ( uri=~"sip:ping[@]+.*")) { options_reply(); }; };
Thanks
Marc
Session Initiation Protocol Status-Line: SIP/2.0 404 Not Found Status-Code: 404 [Resent Packet: False] Message Header Via: SIP/2.0/UDP 192.168.95.109:5060;rport=5060;branch=z9hG4bK1170921213 From: sip.wifirst.fr sip:test@192.168.95.248;tag=62904156 To: sip:ping@192.168.95.248;tag=e9b225e6b81dc6124ee6640a10a59bf1.f647 Call-ID: 668195568@192.168.95.109 CSeq: 20 OPTIONS Sequence Number: 20 Method: OPTIONS Server: OpenSER (1.2.1-notls (i386/linux)) Content-Length: 0