[OpenSIPS-Devel] Opensips not responing to options
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Sep 28 11:44:55 CEST 2015
Hi Jason,
Try to follow the processing through your script by using the
script_trace() function:
http://www.opensips.org/Documentation/Script-CoreFunctions-1-11#toc42
Put it in the very beginning of your script.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 27.09.2015 14:03, Jason Bedward wrote:
> Hi
>
> I have the below but when traffic is coming into my server its not
> responding with 200. Opensips is listening server is on Amazon EC2.
> Please help...
>
> ####### Routing Logic ########
>
> # main request routing logic
> route {
> # log the basic info regarding this call
> xlog("L_DBG", "$ci|start|recieved $oP request $rm $ou");
> xlog("L_DBG", "$ci|log|source $si:$sp");
> xlog("L_DBG", "$ci|log|from $fu");
> xlog("L_DBG", "$ci|log|to $tu");
>
> if(is_method("OPTIONS")) {
> # send reply for each options request
> sl_send_reply("200", "ok");
> exit();
> }
> else if (!mf_process_maxfwd_header("10")) {
> sl_send_reply("483","Too Many Hops");
> exit;
> }
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150928/7c588f66/attachment-0001.htm>
More information about the Devel
mailing list