<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi Jason,<br>
<br>
Try to follow the processing through your script by using the
script_trace() function:<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-CoreFunctions-1-11#toc42">http://www.opensips.org/Documentation/Script-CoreFunctions-1-11#toc42</a><br>
<br>
Put it in the very beginning of your script.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 27.09.2015 14:03, Jason Bedward
wrote:<br>
</div>
<blockquote
cite="mid:CANHADwNUvgyvNEZwf0tjtuSzDnXG=NrSFZmRodrek3yQVUJRUQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hi
<div><br>
</div>
<div>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...<br>
<div><br>
</div>
<div>
<div>####### Routing Logic ########</div>
<div><br>
</div>
<div># main request routing logic</div>
<div> route {</div>
<div><span class="" style="white-space:pre"> </span># log
the basic info regarding this call</div>
<div> xlog("L_DBG", "$ci|start|recieved $oP request $rm
$ou");</div>
<div> xlog("L_DBG", "$ci|log|source $si:$sp");</div>
<div> xlog("L_DBG", "$ci|log|from $fu");</div>
<div> xlog("L_DBG", "$ci|log|to $tu");</div>
<div><br>
</div>
<div>if(is_method("OPTIONS")) {</div>
<div> # send reply for each options request</div>
<div> sl_send_reply("200", "ok");</div>
<div> exit();</div>
<div> <span class="" style="white-space:pre"> </span>}</div>
<div> <span class="" style="white-space:pre"> </span>else
if (!mf_process_maxfwd_header("10")) {</div>
<div> <span class="" style="white-space:pre">
</span>sl_send_reply("483","Too Many Hops");</div>
<div> <span class="" style="white-space:pre">
</span>exit;</div>
<div> <span class="" style="white-space:pre"> </span>}</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Devel@lists.opensips.org">Devel@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a>
</pre>
</blockquote>
<br>
</body>
</html>