[OpenSIPS-Users] log_next_state_dlg bogus events

Vlad Paiu vladpaiu at opensips.org
Thu Mar 8 15:10:03 CET 2012


Hello,

Please check the $DLG_status pvar at [1] . Basically, do
     if (is_method("BYE") && $DLG_status < 3) {
         sl_send_reply("501", "Method Not Supported Here");
     }

[1] http://www.opensips.org/html/docs/modules/1.7.x/dialog.html#id295284

Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com


On 03/08/2012 04:07 PM, Jan D. wrote:
> Vlad,
>
> Your right, it is a X-lite client behind a buggy nat router (speedtouch).
>
> Can I do some scripting to get rid of the critical logging and give a nice
> response?
>
> Maybe with the dlg_flag, or something like ie.:
>
> if(is_method("BYE")&&  ...)
> {
> 	xlog("L_INFO", " INFO : 501 BYE in dialog state x\n");
> 	sl_send_reply("501", "Method Not Supported Here");
> 	exit;
> }
>
> Gr.
>
> Jan
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/log-next-state-dlg-bogus-events-tp7354379p7354979.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list