[OpenSIPS-Users] Validate To Uri

2011-05-04 Thread Jan D.
In an INVITE I want to validate the To Uri ($Tu). This should be a numeric value (ie. 31201234567). Is there a function I can use or should I validate against a regexp (if so, do you have an example). Regards, Jan -- View this message in context:

Re: [OpenSIPS-Users] Validate To Uri

2011-05-04 Thread Denis Putyato
@lists.opensips.org Subject: [OpenSIPS-Users] Validate To Uri In an INVITE I want to validate the To Uri ($Tu). This should be a numeric value (ie. 31201234567). Is there a function I can use or should I validate against a regexp (if so, do you have an example). Regards, Jan -- View this message in context

Re: [OpenSIPS-Users] Validate To Uri

2011-05-04 Thread Dave Singer
, May 04, 2011 1:00 PM To: users@lists.opensips.org Subject: [OpenSIPS-Users] Validate To Uri In an INVITE I want to validate the To Uri ($Tu). This should be a numeric value (ie. 31201234567). Is there a function I can use or should I validate against a regexp (if so, do you have an example