[asterisk-users] UK -999 dialing issue

Benny Amorsen benny+usenet at amorsen.dk
Thu Feb 14 07:57:15 CST 2008


"Steve Langstaff" <steve.langstaff at citel.com> writes:

>> [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},,)

[..]
> 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? 

. does not repeat the previous pattern, it simply matches one or more
of anything. _0Z. will happily match 0100000.


/Benny





More information about the asterisk-users mailing list