DHAVAL INDRODIYA
2009-Aug-31 09:53 UTC
[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/cad5b65e/attachment.htm
BERGANZ François
2009-Aug-31 09:59 UTC
[asterisk-users] Asterisk Regular expression to validate any phonenumber
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
BERGANZ François
2009-Aug-31 10:00 UTC
[asterisk-users] Asterisk Regular expression to validate any phonenumber
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/f6482026/attachment.htm