<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, Peder <I>&lt;peder@networkoblivion.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: Peder &lt;peder@networkoblivion.com&gt;<BR>Subject: Re: [asterisk-users] Robotic sound sometimes<BR>To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" &lt;asterisk-users@lists.digium.com&gt;<BR>Date: Saturday, 13 February, 2010, 4:25 AM<BR><BR>
<DIV class=plainMail>There is a statistics area and you can select sip or voip calls to see<BR>calls.&nbsp; It shows packet loss, jitter, latency, out of sequence packets, etc.<BR>It can even play them back, so you can check where the loss is and play back<BR>the call to see if the noise is in the same spot.&nbsp; Here is some info from<BR>the wireshark website:<BR><BR><A href="http://wiki.wireshark.org/VoIP_calls" target=_blank>http://wiki.wireshark.org/VoIP_calls</A><BR><BR><BR><BR>-----Original Message-----<BR>From: <A href="http://in.mc954.mail.yahoo.com/mc/compose?to=asterisk-users-bounces@lists.digium.com" ymailto="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</A><BR>[mailto:<A href="http://in.mc954.mail.yahoo.com/mc/compose?to=asterisk-users-bounces@lists.digium.com" ymailto="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</A>] On Behalf Of Steve Edwards<BR>Sent:
 Friday, February 12, 2010 4:40 PM<BR>To: Asterisk Users Mailing List - Non-Commercial Discussion<BR>Subject: Re: [asterisk-users] Robotic sound sometimes<BR><BR>On Fri, 12 Feb 2010, Peder wrote:<BR><BR>&gt; Since it is sporadic, my guess would be network latency / packet loss <BR>&gt; /jitter to ITSP.&nbsp; You may have lots of capacity and they may claim to <BR>&gt; have lots of capacity, but what about the links between you and them. <BR>&gt; Who knows when/if there is loss and latency and jitter there.&nbsp; Setup <BR>&gt; wireshark to grab some calls and when someone complains about it, look <BR>&gt; at the stats for that call.&nbsp; It will tell you if there is loss or <BR>&gt; latency or jitter.<BR><BR>Do you know of a link that explains how to detect latency or jitter? My <BR>wireshark skills are pretty non-existent. Does it have a wizzy filter that <BR>will tell you or do you need to check the timestamps of the RTP packets? <BR>Any chance you
 could write up your technique?<BR><BR>-- <BR>Thanks in advance,<BR>-------------------------------------------------------------------------<BR>Steve Edwards&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<A href="http://in.mc954.mail.yahoo.com/mc/compose?to=sedwards@sedwards.com" ymailto="mailto:sedwards@sedwards.com">sedwards@sedwards.com</A>&nbsp; &nbsp; &nbsp; Voice: +1-760-468-3867 PST<BR>Newline&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Fax: +1-760-731-3000<BR><BR>-- <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><BR><BR><BR>-- <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><BR></DIV></BLOCKQUOTE></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>.