At 07:57 AM 03/05/2006, you wrote:
How can I "strip" the 00 and insert 011 in one entry in the dialplan. I'm stripping the 00 and passing the rest of the numbers for numbers dialled as 001X. (as in: 00|1XX.) but in case of numbers out of the US, how would I insert the 011 ?

exten => _011X. , 1, dial(sip/1/00${EXTEN:3})

Or something similar to that. Match to the 011, delete it, {EXTEN:3}, and then add the 00 before dialing.

Ira

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: 03/03/2006


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to