[asterisk-users] Asterisk Regular expression to validate any phonenumber

BERGANZ François francois at acropolistelecom.net
Mon Aug 31 04:59:10 CDT 2009


Use the pattern matching P137 in “Asterisk: the future of telephony”

 

For example

Exten => 919XXXXXXXXX,n,

 

 

Cordialement,

P Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.

 

De : asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] De la part de DHAVAL
INDRODIYA
Envoyé : lundi 31 août 2009 11:53
À : Asterisk Users Mailing List - Non-Commercial Discussion
Objet : [asterisk-users] Asterisk Regular expression to validate any
phonenumber

 

Hi 

I am using asterisk version 1.6.0.5 

I have build up one utility that will fire Originate Action on Manager... 
In which, i have define number to call eg. 919912312345 (MobileNumber) 

How can i know that this number format is true for Indian Number... 
In originate action, user can enter any international number.. How can I
came to know this number format is right for that country...??

IS there any regular expression to validate this number .....

regards
Dhaval

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090831/c5014f3a/attachment.htm 


More information about the asterisk-users mailing list