On Tue, 6 Dec 2005 20:50:25 +0100, '[EMAIL PROTECTED]' wrote:

> I wan't users that are within the same area code
> to be able to dial each other using just their
> "extension" as well as using area code +
> "extension". Users in other area codes are of
> course only available through "area code +
> extension".

Can't you first convert the ${EXTEN} to a full 10 digit number, then have send 
them to a macro with all the:

exten => 0470445566,Dial(SIP/WhatEver/${EXTEN})
[...]
exten => _X.,Dial(Zap/g2/${EXTEN})

/Niklas
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to