On Monday 24 March 2014 15:23:31 Alexandr Usov wrote:
Peers (from Internet behind NAT) registered on Kamailio (local ip 192.168.182.1), calls from/to routed via Asterisk (192.168.182.24).
Can't use qualify info:
<--- SIP read from UDP:192.168.182.1:5060 ---> SIP/2.0 484 Address Incomplete
...
<------------->
Check your kamailio.cfg. In the "default" config OPTIONS get this response due to: if ($rU==$null) { # request with no Username in RURI sl_send_reply("484","Address Incomplete"); exit; }
You'll have to response with a 200 yourself, eg:
route[REQINIT]{ ... if($si=="192.168.182.24" && is_method("OPTIONS")) { sl_send_reply("200","Up and running"); exit; }
It's up to you to decide to which OPTIONS requests to response with what code.