<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><span class="value">
i had configured asterisk with a minimum dial plan, made 10 extentions. below is extensions and sip.conf<br><br>i want configure dial plan so that<br><br>Extention 2000-2005 can receive calls from outside and make calls outside and can dial all ten extentions.<br>Extention 2006-2010 can only receive calls from outside but cant call outside and can dial all ten extentions<br>thx<br><br><br><br><br><br>##########################<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>#########<br>vi /etc/asterisk/sip.conf <br><br>[general]<br>port = 5060<br>bindaddr = 0.0.0.0<br>context = others <br><br>[2000]<br>type=friend<br>context=my-phones<br>secret=1234<br>host=dynamic <br><br>[2001]<br>type=friend<br>context=my-phones<br>secret=1234<br>host=dynamic <br><br>[2002]<br>type=friend<br>context=my-phones<br>secret=1234<br>host=dynamic
<br><br>[2003]<br>type=friend<br>contex=my-phones<br>secret=1234<br>host=dynamic <br><br>[2004]<br>type=friend<br>contex=my-phones<br>secret=1234<br>host=dynamic <br><br>[2005]<br>type=friend<br>contex=my-phones<br>secret=1234<br>host=dynamic <br><br>[2006]<br>type=friend<br>contex=my-phones<br>secret=1234<br>host=dynamic <br><br>[2007]<br>type=friend<br>contex=my-phones<br>secret=1234<br>host=dynamic <br><br>[2008]<br>type=friend<br>contex=my-phones<br>secret=1234<br>host=dynamic <br><br>[2009]<br>type=friend<br>contex=my-phones<br>secret=1234<br>host=dynamic <br><br>[2010]<br>type=friend<br>contex=my-phones<br>secret=1234<br>host=dynamic <br><br>##########################<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>#########<br><br>vi /etc/asterisk/extensions.c<wbr>onf <br>[others] <br>exten => 2000,1,Dial(SIP/2000)<br>exten => 2001,1,Dial(SIP/2001)<br>exten =>
2002,1,Dial(SIP/2002)<br>exten => 2003,1,Dial(SIP/2003)<br>exten => 2004,1,Dial(SIP/2004)<br>exten => 2005,1,Dial(SIP/2005)<br>exten => 2006,1,Dial(SIP/2006)<br>exten => 2007,1,Dial(SIP/2007)<br>exten => 2008,1,Dial(SIP/2008)<br>exten => 2009,1,Dial(SIP/2009)<br>exten => 2010,1,Dial(SIP/2010) <br>##########################<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>########<br>plz guide me how to achieve this</span></td></tr></table><br>
<!--1--><hr size=1></hr>
Your Mail works best with the New Yahoo Optimized IE8. <a href="http://in.rd.yahoo.com/tagline_ie8_new/*http://downloads.yahoo.com/in/internetexplorer/" target="_blank">Get it NOW!</a>.