Re: [OpenSIPS-Users] Regarding Option request .

2016-11-08 Thread Răzvan Crainea
Hello! You chould use the is_from_gw()[1] function to detect if a message is coming from a gateway. So basically your code should look like this: if (method == "OPTIONS" && is_from_gw()) { sl_send_reply("200", "OK"); exit; } [1]

[OpenSIPS-Users] Regarding Option request .

2016-11-08 Thread Sasmita Panda
Hi All , I am using opensips-1.11 . I have a requirement that when an "Option" request will come to my proxy from the gateways I have added in my dr_gateways table then only I will process the request and will send 200 OK . Previously , I was sending 200 Ok to all the Options