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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to