[OpenSIPS-Devel] a little question about the configure file...

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Sep 22 10:40:03 CEST 2009


Hi Faye,

徐飞 wrote:
> Hi Professors!
> I have a little question. I have to handle with the NAT scenario, and 
> in nathelper configure file, I saw this sentence "status =~ 
> "(183)|2[0-9][0-9]"".
"status" is a keyword for the reply code - 
http://www.opensips.org/Resources/DocsCoreFcn#toc10
> so what does that mean? especially for this figure '=~'?
that operator means matching against a regular expression - if the left 
side value matches the right side regexp.

Regards,
Bogdan
> I'm looking forward to your reply!! Thanks~~
> Faye
> 2009/09/22
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>   




More information about the Devel mailing list