<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> </DIV>
<DIV>sip.conf</DIV>
<DIV> </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> </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> </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 => s,1,wait(2)<BR>exten => s,n,dial(sip/2000)<BR>exten => s,n,dial(sip/2001)<BR>exten => s,n,Playback(tt-weasels)</DIV>
<DIV>[others]<BR>include => internal<BR>include => outside</DIV>
<DIV>[inside]<BR>exten => _20XX,1,Dial(SIP/${EXTEN})<BR>exten => _20XX,n,VoiceMail(<A href="mailto:${EXTEN}@others,u">${EXTEN}@others,u</A>)<BR>exten => _20XX,n,Hangup()</DIV>
<DIV>[outside]<BR>exten => 2001,1,Dial(Zap/1-1/${EXTEN})<BR>exten => 2001,n,Hangup</DIV>
<DIV>exten => 2002,1,Dial(Zap/1-1/${EXTEN})<BR>exten => 2002,n,Hangup</DIV>
<DIV>exten => 2003,1,Dial(Zap/1-1/${EXTEN})<BR>exten => 2003,n,Hangup</DIV>
<DIV>exten => 2004,1,Dial(Zap/1-1/${EXTEN})<BR>exten => 2004,n,Hangup</DIV>
<DIV>exten => 2005,1,Dial(Zap/1-1/${EXTEN})<BR>exten => 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> </DIV>
<DIV> </DIV>
<DIV>any help n support will be highly appreciated<BR><BR>--- On <B>Sat, 13/2/10, Michelle Dupuis <I><support@ocg.ca></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Michelle Dupuis <support@ocg.ca><BR>Subject: Re: [asterisk-users] Robotic sound sometimes<BR>To: "'Asterisk Users List'" <asterisk-users@lists.digium.com><BR>Date: Saturday, 13 February, 2010, 3:35 AM<BR><BR>
<DIV id=yiv1877693794>
<STYLE type=text/css>#yiv1877693794 P {
MARGIN:0px;}
</STYLE>
<DIV dir=ltr align=left><SPAN class=289170422-12022010><FONT face=Arial color=#0000ff size=2>No, phone on LAN, through Asterisk box on LAN, through firewall, out to fiber connection (lots of capacity there), to ITSP.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=289170422-12022010><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=289170422-12022010><FONT face=Arial color=#0000ff size=2>Codec is uLaw.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=289170422-12022010><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=289170422-12022010><FONT face=Arial color=#0000ff size=2>This only happens sometimes, so I'm wondering if it's an asterisk bug? Aastra bug? Network latency? LAN capacity, etc. Never seen this before...</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of </B>Tim Nelson<BR><B>Sent:</B> Friday, February 12, 2010 4:34 PM<BR><B>To:</B> Asterisk Users List<BR><B>Subject:</B> Re: [asterisk-users] Robotic sound sometimes<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV style="FONT-SIZE: 12pt; COLOR: #000000; FONT-FAMILY: Times New Roman">What codecs are you using? Are the calls internal(local network) only?<BR><BR>Tim Nelson<BR>Systems/Network Support<BR>Rockbochs Inc.<BR>(218)727-4332 x105<BR><BR>----- "Michelle Dupuis" <support@ocg.ca> wrote: <BR>>
<DIV><SPAN class=073132821-12022010><FONT face=Arial size=2>We have inherited an installation with Ast 1.4 and Aastra phones. The client complains that sometimes the call audio turns tinny and robotic...I heard it and it sounds wierd.</FONT></SPAN></DIV>
<DIV><SPAN class=073132821-12022010><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=073132821-12022010><FONT face=Arial size=2>Has anyone else experienced this? Cause? Solutions?</FONT></SPAN></DIV>
<DIV><SPAN class=073132821-12022010><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=073132821-12022010><FONT face=Arial size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=073132821-12022010><FONT face=Arial size=2>MD</FONT></SPAN></DIV><BR>> -- _____________________________________________________________________ -- 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</DIV></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> <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>.