[asterisk-users] Asterisk and PBX internal numbers

Phil Reynolds phil-asterisk at tinsleyviaduct.com
Fri Mar 20 05:34:31 CDT 2009


Quoting "Oguzhan Kayhan" <oguzhank at bilkent.edu.tr>:

> Yes seems pretty simple,
> so can i use a wildcard instead of giving all numbers one by one?
> Such
>
> instead of exten => 1500,1,Dial(SIP/1500)
>
> exten => _15XX,1,Dial(SIP/_15XX)   ?????
> assuming all my local numbers are on 15 prefix??

Almost.

exten => _15XX,1,Dial(SIP/${EXTEN})

-- 
Phil Reynolds
mail: phil-asterisk at tinsleyviaduct.com
Web: http://www.tinsleyviaduct.com/phil/
Waltham 66, Emley Moor 69, Droitwich 79, Windows 95


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the asterisk-users mailing list