[OpenSIPS-Users] Error with t_check_status

Alexander Mustafin mustafin.aleksandr at gmail.com
Tue Dec 3 06:15:09 CET 2013


Hi!

Can I use lookahead and lookbehind statements in this function (e.g. I would cath all errors, exclude 404, 486) ?

Best regards,
Alexander Mustafin
mustafin.aleksandr at gmail.com




28 нояб. 2013 г., в 12:16, Alexander Mustafin <mustafin.aleksandr at gmail.com> написал(а):

> Hello!
> 
> I was write the next rule in script:
>      if (t_check_status("(?!486)(?!404)[4|5][0-9][0-9]")) {
> 
> And OpenSIPS wasn’t restart succesfully. 
> 
> opensips -C /etc/opensips/opensips.cfg check was good, and no errors in debug.
> 
> With if (t_check_status("[4|5][0-9][0-9]")) works fine. 
> 
> 
> version: opensips 1.10.0-tls (x86_64/linux) daily
> 
> 
> Best regards,
> Alexander Mustafin
> mustafin.aleksandr at gmail.com
> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20131203/fae37856/attachment-0001.htm>


More information about the Users mailing list