[Asterisk-Users] Dialplan - strip IDD prefix and insert another

Ira ira at extrasensory.com
Sun Mar 5 11:01:26 MST 2006


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





More information about the asterisk-users mailing list