Asterisk 16.10.0 Don't reply SIP OPTIONS Message from Kamailio 5.3.4

Hi, I am implementing a sip proxy with kamailio and multiple asterisk servers, when kamailio send the OPTIONS asterisk don´t reply, and i see with sngrep tool that in the asterisk servers the SIP message OPTIONS arrives, but has no reply from asterisk, and enabling the sip debug nothing occurs, but the OPTIONS message between asterisk servers is all ok.

On kamailio logs get:

dispatcher [dispatch.c:3159]: ds_options_callback(): OPTIONS-Request was finished with code 408 (to sip:172.20.20.3, group 1)

The SIP traffic arrives the asterisk servers, but asterisk don´t reply the message, (I know this because i can see it with the sngrep tool, because the sip debug on asterisk doesn’t show it) . However when the message is from another asterisk all is ok.

Sip kamailio OPTIONS message from kamailio on asterisk:

OPTIONS sip:172.20.20.3 SIP/2.0
Via: SIP/2.0/UDP 172.16.10.195;branch=z9hG4bKef0b.b1358
To: sip:172.20.20.3
From: sip:kamailio@172.20.20.6;tag=3393f0703fb0ccaca7
09ff37de39f5-b7044ca5
CSeq: 10 OPTIONS
Call-ID: 791b966c5d00cd60-24281@127.0.0.1
Max-Forwards: 70
Content-Length: 0
User-Agent: kamailio (5.3.4 (x86_64/linux))

Which SIP channel driver are you using?

If the it is not logged in the channel driver logging, it never reached the Asterisk process. Was it sent to the right port number? Is there some firewall rule that would block it?

The error was the kamailio send the messages malformed because has two interfaces and was sending the sip message through the wrong.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.