[Asterisk-Users] newbiew extensions.conf question
Jason Walker
desktophero at gmail.com
Thu Aug 4 15:22:17 MST 2005
If all of your extensions are in the same schema (i.e. 7## or 7###) you
could do this:
Exten => _7XX,1,Dial(DEVICE/${EXTEN})
Exten => _7XX,2,Voicemail(u${EXTEN})
This would allow for any 7## number to call into the extension. ${EXTEN} is
the variable for the extension dialed. I am using "DEVICE" in case you
decide to use other methods or protocols - IAX/2, Zap, etc.
Hope that helps.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Kenny Kant
Sent: Thursday, August 04, 2005 3:07 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] newbiew extensions.conf question
I am newbie trying to setup about 12 Polycom Ip500's
on an asterisk server. I am working on my
extensions.conf and am trying to make it so that all
my extensions can dial each other. My extensions are
number 720, 721, 722, 723 ..etc
in my from-sip context I began doing entries such as:
exten => 720,1,Dial(SIP/720,20)
exten => 720,2,Voicemail(u720)
exten => 721,1,Dial(SIP/721,20)
exten => 721,2,Voicemail(u721)
..etc ..etc
This is not a big deal for such a small number of
extensions but I was thinking about larger installs..
this would begin to suck. Is there anyway around
this?
Thanks!
Kenny
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list