<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi Jason,<br>
<br>
That command is not available in 1.7.x <br>
<br>
Consider placing some xlog()'s in your script and to enable debug
level 4 to get an idea of what is going on with your processing.<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 28.09.2015 21:48, Jason Bedward
wrote:<br>
</div>
<blockquote
cite="mid:CANHADwNg+otT229CL40MdFzy9Ry4scbLTKgnw5THqCV60VpZZA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>Thanks, tried this but get the below. I'm using 1.7.1</div>
<div><br>
</div>
<div>unknown command <script_trace>, missing loadmodule?<br>
</div>
<div><br>
</div>
<div>Thanks</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Sep 28, 2015 at 10:44 AM,
Bogdan-Andrei Iancu <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:bogdan@opensips.org"
target="_blank">bogdan@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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 moz-do-not-send="true"
href="http://www.opensips.org/Documentation/Script-CoreFunctions-1-11#toc42"
target="_blank">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 cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>
<div class="h5">
<div>On 27.09.2015 14:03, Jason Bedward wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<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 style="white-space:pre-wrap"> </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 style="white-space:pre-wrap">
</span>}</div>
<div> <span style="white-space:pre-wrap">
</span>else if
(!mf_process_maxfwd_header("10")) {</div>
<div> <span
style="white-space:pre-wrap"> </span>sl_send_reply("483","Too
Many Hops");</div>
<div> <span
style="white-space:pre-wrap"> </span>exit;</div>
<div> <span style="white-space:pre-wrap">
</span>}</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Devel mailing list
<a moz-do-not-send="true" href="mailto:Devel@lists.opensips.org" target="_blank">Devel@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>