i had configured asterisk with a minimum dial plan, made 10 extentions. below
is extensions and sip.conf
i want configure dial plan so that
Extention 2000-2005 can receive calls from outside and make calls outside and
can dial all ten extentions.
Extention 2006-2010 can only receive calls from outside but cant call outside
and can dial all ten extentions
thx
#########################################################################################################
vi /etc/asterisk/sip.conf
[general]
port = 5060
bindaddr = 0.0.0.0
context = others
[2000]
type=friend
context=my-phones
secret=1234
host=dynamic
[2001]
type=friend
context=my-phones
secret=1234
host=dynamic
[2002]
type=friend
context=my-phones
secret=1234
host=dynamic
[2003]
type=friend
contex=my-phones
secret=1234
host=dynamic
[2004]
type=friend
contex=my-phones
secret=1234
host=dynamic
[2005]
type=friend
contex=my-phones
secret=1234
host=dynamic
[2006]
type=friend
contex=my-phones
secret=1234
host=dynamic
[2007]
type=friend
contex=my-phones
secret=1234
host=dynamic
[2008]
type=friend
contex=my-phones
secret=1234
host=dynamic
[2009]
type=friend
contex=my-phones
secret=1234
host=dynamic
[2010]
type=friend
contex=my-phones
secret=1234
host=dynamic
#########################################################################################################
vi /etc/asterisk/extensions.conf
[others]
exten => 2000,1,Dial(SIP/2000)
exten => 2001,1,Dial(SIP/2001)
exten => 2002,1,Dial(SIP/2002)
exten => 2003,1,Dial(SIP/2003)
exten => 2004,1,Dial(SIP/2004)
exten => 2005,1,Dial(SIP/2005)
exten => 2006,1,Dial(SIP/2006)
exten => 2007,1,Dial(SIP/2007)
exten => 2008,1,Dial(SIP/2008)
exten => 2009,1,Dial(SIP/2009)
exten => 2010,1,Dial(SIP/2010)
########################################################################################################
plz guide me how to achieve this
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
http://in.yahoo.com/--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users