[OpenSIPS-Users] [OpenSIPS-Devel] Opensips not responing to options

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Sep 28 22:19:23 CEST 2015


Hi Jason,

That command is not available in 1.7.x

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.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 28.09.2015 21:48, Jason Bedward wrote:
> Hi,
>
> Thanks, tried this but get the below. I'm using 1.7.1
>
> unknown command <script_trace>, missing loadmodule?
>
> Thanks
>
> On Mon, Sep 28, 2015 at 10:44 AM, Bogdan-Andrei Iancu 
> <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>
>     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  <mailto: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/users/attachments/20150928/993ef162/attachment.htm>


More information about the Users mailing list