[SR-Users] SIP OPTIONS
Daniel-Constantin Mierla
miconda at gmail.com
Wed Jan 15 10:06:30 CET 2014
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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140115/55c31559/attachment.html>
More information about the sr-users
mailing list