<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
if you just want to send a 200 ok for OPTIONS, do:<br>
<br>
if(is_method("OPTIONS")) {<br>
send_reply("200", "OK");<br>
exit;<br>
}<br>
<br>
You can also add condition on IP of the trunk gateway, like:<br>
<br>
if(src_ip==_GW_IP) {<br>
...<br>
}<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 13/01/14 17:30, Keith wrote:<br>
</div>
<blockquote
cite="mid:CAK7Ybu9_KD1txzJfsvz_v9MDvh937tLZqxOk3swwOyGwTMKVZg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I have a trunk trying to connect to Kamailio but when it
sends me OPTIONS I am not replying with 200 OK. </div>
<div><br>
</div>
<div>This trunk is no authenticated in any way.</div>
<div>
<br>
</div>
<div>Any ideas?</div>
<div>Keith</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>