Le 14/02/2011 15:44, salaheddine elharit a écrit :
thanks for your response
i have tested with a regular phone and i get the same result
my question if there is any action to do in dial plan or extenssion.conf in order to call this number becouse in dial plan i can
bloc a number to be call

exten => _OUT.,n,Set(match=${REGEX("^06XXXXXXX" ${AH_PHONE_NUMBER})})

exten => _OUT.,n,GotoIf($["${match}" = "1"]?rien)


I think you're in France, your REGEX is wrong: France has 10 digits (one X missing). Also, remember that since few monthes, French mobile phones can also start with 07xxxxxxxx.

Regards

--
Daniel

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to