In article <[EMAIL PROTECTED]>,
James Steven <[EMAIL PROTECTED]> wrote:
> Hi 
> 
> I have inserted the lines you suggested but Asterisk keeps the 0 when
> dialling with all alternatives.  Also, I am unsure what the phrase
> "${EXTEN::2}${EXTEN:3}" does?  Could you explain this abit?
> 
> My extensions.conf is:
> 
> [default] 
> exten => _0[1-9].,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:1})
> exten => _00.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:2})
> exten => _440.,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:3})
> exten => _09XX,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN})
> exten => _44.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN})

That last line needs to be:

exten => _44[1-9].,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN})

otherwise it could be overriding the _440. line.

Also, Z is a shorter equivalent to [1-9]

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

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

Reply via email to