Hi Jason, As you log everything on L_DBG, be sure you set debug level 4 in your cfg.
Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 28.09.2015 23:21, Jason Bedward wrote:
I have the below but I dont see much in log.... ####### 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"); script_trace( 1, "$rm from $si, ruri=$ru", "me"); 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; } if (has_totag()) { # sequential requests within a dialog should # take the path determined by record-routing if (loose_route()) { if (is_method("BYE")) { setflag(1); # do accounting ...setflag(3); # ... even if the transaction fails}On Mon, Sep 28, 2015 at 9:19 PM, Bogdan-Andrei Iancu <[email protected] <mailto:[email protected]>> wrote: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 <[email protected] <mailto:[email protected]>> 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 [email protected] <mailto:[email protected]> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
