Steve Langstaff wrote:
>> [softoption-zap]
>>
>> exten => _0[123456789].,1,NoOp(${EXTEN})
>> exten => _0[123456789].,2,Dial(Zap/g0/${EXTEN},,j)
>> exten => _0[123456789].,103,Dial(IAX2/Gradwell/44${EXTEN:1},,)
>> exten => _00[1-9].,1,Dial(IAX2/Gradwell/${EXTEN:2},,)
>> exten => _90[123456789].,1,Dial(IAX2/Gradwell/44${EXTEN:2},,)
>
> Just an aside -
>
> 1) For clarity, could you use 'Z' here instead of '[123456789]'?
>
> 2) It does not look like you would be able to dial numbers that
> start with 0[123456789] and then have subsequent zeros
> (e.g. 01xx xxx 0000) - is that your intent?
>
Very good point, he probably wants.
exten => _90ZX.,1,Dial(IAX2/Gradwell/44${EXTEN:2},,)
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users