[OpenSIPS-Devel] Opensips not responing to options
Jason Bedward
mase2hot at gmail.com
Sun Sep 27 13:03:08 CEST 2015
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;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150927/0b68ddb2/attachment.htm>
More information about the Devel
mailing list