<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>hi friend need ur help in dial plan, i want to allow exten 2000 to 2005 can make call outside and exten 2006 to 2010 can not make call outside. heres my dial plan.</DIV>
<DIV>&nbsp;</DIV>
<DIV>sip.conf</DIV>
<DIV>&nbsp;</DIV>
<DIV>[general]<BR>port = 5060<BR>bindaddr = 0.0.0.0<BR>context = others</DIV>
<DIV>[2000]<BR>type=friend<BR>context=outside<BR>secret=1234<BR>host=dynamic</DIV>
<DIV><BR>[2001]<BR>type=friend<BR>context=outside<BR>secret=1234<BR>host=dynamic</DIV>
<DIV><BR>[2002]<BR>type=friend<BR>context=outside<BR>secret=1234<BR>host=dynamic</DIV>
<DIV><BR>[2003]<BR>type=friend<BR>contex=outside<BR>secret=1234<BR>host=dynamic</DIV>
<DIV>&nbsp;</DIV>
<DIV>[2004]<BR>type=friend<BR>contex=outside<BR>secret=1234<BR>host=dynamic</DIV>
<DIV><BR>[2005]<BR>type=friend<BR>contex=outside<BR>secret=1234<BR>host=dynamic</DIV>
<DIV>&nbsp;</DIV>
<DIV>[2006]<BR>type=friend<BR>contex=internal<BR>secret=1234<BR>host=dynamic</DIV>
<DIV><BR>[2007]<BR>type=friend<BR>contex=internal<BR>secret=1234<BR>host=dynamic</DIV>
<DIV>[2008]<BR>type=friend<BR>contex=internal<BR>secret=1234<BR>host=dynamic</DIV>
<DIV><BR>[2009]<BR>type=friend<BR>contex=internal<BR>secret=1234<BR>host=dynamic</DIV>
<DIV><BR>[2010]<BR>type=friend<BR>contex=internal<BR>secret=1234<BR>host=dynamic</DIV>
<DIV><BR>############################################################################################</DIV>
<DIV>vi /etc/asterisk/extensions.conf</DIV>
<DIV>[from-zaptel]<BR>exten =&gt; s,1,wait(2)<BR>exten =&gt; s,n,dial(sip/2000)<BR>exten =&gt; s,n,dial(sip/2001)<BR>exten =&gt; s,n,Playback(tt-weasels)</DIV>
<DIV>[others]<BR>include =&gt; internal<BR>include =&gt; outside</DIV>
<DIV>[inside]<BR>exten =&gt; _20XX,1,Dial(SIP/${EXTEN})<BR>exten =&gt; _20XX,n,VoiceMail(<A href="mailto:${EXTEN}@others,u">${EXTEN}@others,u</A>)<BR>exten =&gt; _20XX,n,Hangup()</DIV>
<DIV>[outside]<BR>exten =&gt; 2001,1,Dial(Zap/1-1/${EXTEN})<BR>exten =&gt; 2001,n,Hangup</DIV>
<DIV>exten =&gt; 2002,1,Dial(Zap/1-1/${EXTEN})<BR>exten =&gt; 2002,n,Hangup</DIV>
<DIV>exten =&gt; 2003,1,Dial(Zap/1-1/${EXTEN})<BR>exten =&gt; 2003,n,Hangup</DIV>
<DIV>exten =&gt; 2004,1,Dial(Zap/1-1/${EXTEN})<BR>exten =&gt; 2004,n,Hangup</DIV>
<DIV>exten =&gt; 2005,1,Dial(Zap/1-1/${EXTEN})<BR>exten =&gt; 2005,n,Hangup</DIV>
<DIV><BR>this is the log when i am calling from exten 2000 to outside</DIV>
<DIV><BR>Connected to Asterisk 1.4.29 currently running on localhost (pid = 2243)<BR>Verbosity is at least 3<BR>[Feb 13 12:05:47] NOTICE[2482]: chan_sip.c:15124 handle_request_invite: Call from '2002' to extension '919369613616' <STRONG>rejected because extension not found</STRONG>.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>any help n support will be highly appreciated<BR><BR>--- On <B>Sat, 13/2/10, hin lee <I>&lt;hin87@yahoo.com&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: hin lee &lt;hin87@yahoo.com&gt;<BR>Subject: Re: [asterisk-users] parked calls<BR>To: "Asterisk Users Mailing List - Non-Commercial Discussion" &lt;asterisk-users@lists.digium.com&gt;<BR>Date: Saturday, 13 February, 2010, 8:42 AM<BR><BR>
<DIV id=yiv2037169005>
<STYLE type=text/css><!--#yiv2037169005 DIV {margin:0px;}--></STYLE>

<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV>Thank you Doug!&nbsp; I added "courtesytone = beep" and that worked! <BR><BR></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Doug Lytle &lt;support@drdos.info&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Asterisk Users Mailing List - Non-Commercial Discussion &lt;asterisk-users@lists.digium.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Fri, February 12, 2010 6:40:17 AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [asterisk-users] parked calls<BR></FONT><BR>hin lee wrote:<BR>&gt; Using FreePBX, is there a way to play a beep sound when you are <BR>&gt; connected to a parked call? Right now, it's dead silence and we can't <BR>&gt; tell if the call has been connected.<BR>&gt;<BR>I don't know about FreePBX, but under the features.conf, there is:<BR><BR>courtesytone = local/stutter&nbsp; &nbsp; ; Sound file to play to the parked caller<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; when someone dials a parked
 call<BR><BR>I recorded our Definity's stutter tone and put it in the local folder.<BR><BR>Doug<BR><BR><BR>-- <BR>_____________________________________________________________________<BR><SPAN>-- Bandwidth and Colocation Provided by <A href="http://www.api-digital.com/" target=_blank rel=nofollow>http://www.api-digital.com</A> --</SPAN><BR><BR>asterisk-users mailing list<BR>To UNSUBSCRIBE or update options visit:<BR><SPAN>&nbsp; <A href="http://lists.digium.com/mailman/listinfo/asterisk-users" target=_blank rel=nofollow>http://lists.digium.com/mailman/listinfo/asterisk-users</A></SPAN><BR></DIV></DIV></DIV><BR></DIV><BR>-----Inline Attachment Follows-----<BR><BR>
<DIV class=plainMail>-- <BR>_____________________________________________________________________<BR>-- Bandwidth and Colocation Provided by <A href="http://www.api-digital.com/" target=_blank>http://www.api-digital.com</A> --<BR><BR>asterisk-users mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>&nbsp;&nbsp;&nbsp;<A href="http://lists.digium.com/mailman/listinfo/asterisk-users" target=_blank>http://lists.digium.com/mailman/listinfo/asterisk-users</A></DIV></BLOCKQUOTE></td></tr></table><br>



      <!--1--><hr size=1></hr> 
The INTERNET now has a personality. YOURS! <a href="http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/" target="_blank">See your Yahoo! Homepage</a>.