<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=787281706-13062005><FONT face=Arial color=#800000 
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=787281706-13062005><FONT face=Arial color=#800000 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=787281706-13062005><FONT face=Arial color=#800000 size=2>Does 
anyone know the solution to this issue?</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#800000 size=2></FONT>&nbsp;</DIV>
<DIV align=left><SPAN 
style="FONT-SIZE: 10pt; COLOR: #800000; FONT-FAMILY: 'Arial'">Regards,<BR>Stojan 
Sljivic </SPAN></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #800000 2px solid; MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
  asterisk-users-bounces@lists.digium.com 
  [mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of </B>Stojan 
  Sljivic - GDS<BR><B>Sent:</B> Friday, June 10, 2005 13:21<BR><B>To:</B> 
  'Asterisk Users Mailing List - Non-Commercial Discussion'<BR><B>Subject:</B> 
  [Asterisk-Users] SIP Authentication<BR><BR></FONT></DIV>
  <DIV><SPAN class=558561511-10062005><FONT face=Arial color=#800000 
  size=2>Hi,</FONT></SPAN></DIV>
  <DIV><SPAN class=558561511-10062005><FONT face=Arial color=#800000 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=558561511-10062005><FONT face=Arial color=#800000 size=2>I 
  use SIP softphone that is not registered at Asterisk.</FONT></SPAN></DIV>
  <DIV><SPAN class=558561511-10062005><FONT face=Arial color=#800000 size=2>When 
  I dial some extension defined in the dial plan (<A 
  href="mailto:100@asterisk-ip">100@asterisk-ip</A>)&nbsp;with my SIP softphone, 
  Asterisk will not ask me for username/password (will not return response 407) 
  as I expected.</FONT></SPAN></DIV>
  <DIV><SPAN class=558561511-10062005><FONT face=Arial color=#800000 size=2>The 
  response 407 - Authentication required will be returned if username defined in 
  the softphone's setting matches one of the SIP peers defined in 
  sip.conf.</FONT></SPAN></DIV>
  <DIV><SPAN class=558561511-10062005><FONT face=Arial color=#800000 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=558561511-10062005><FONT face=Arial color=#800000 size=2>This 
  means that anyone can dial extension at my Asterisk and that is not 
  good,&nbsp; since that person could then dial over my ZAP 
  line.</FONT></SPAN></DIV>
  <DIV><SPAN class=558561511-10062005><FONT face=Arial color=#800000 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=558561511-10062005><FONT face=Arial color=#800000 size=2>How 
  can I configure Asterisk to allow only peers defined in sip.conf to register 
  and dial?</FONT></SPAN></DIV>
  <DIV><SPAN class=558561511-10062005><FONT face=Arial color=#800000 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=558561511-10062005><FONT face=Arial color=#800000 
  size=2>Regards,</FONT></SPAN></DIV>
  <DIV><SPAN class=558561511-10062005><FONT face=Arial color=#800000 
  size=2>Stojan Sljivic</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>