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:, 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: SIP/2.0
Via: SIP/2.0/UDP;branch=z9hG4bKef0b.b1358
To: sip:
From: sip:kamailio@;tag=3393f0703fb0ccaca7
Call-ID: 791b966c5d00cd60-24281@
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.