[asterisk-users] UK -999 dialing issue

Steve Langstaff steve.langstaff at citel.com
Thu Feb 14 08:27:21 CST 2008


> From: asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
> Benny Amorsen
> Sent: 14 February 2008 13:57

> "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.

Oops! Yes, I see that now - my fault for confusing Asterisk pattern
matching with RFC3435 pattern matching. Sorry.



More information about the asterisk-users mailing list