Hello,

if you just want to send a 200 ok for OPTIONS, do:

if(is_method("OPTIONS")) {
  send_reply("200", "OK");
  exit;
}

You can also add condition on IP of the trunk gateway, like:

if(src_ip==_GW_IP) {
 ...
}

Cheers,
Daniel

On 13/01/14 17:30, Keith wrote:
Hi,

I have a trunk trying to connect to Kamailio but when it sends me OPTIONS I am not replying with 200 OK. 

This trunk is no authenticated in any way.

Any ideas?
Keith



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda