<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
..MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi Guys,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Just new to Asterisk and am completely stumped. I have created two accounts as instructed. Please see below for the config of the user accounts. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[Peter]<o:p></o:p></p><p class=MsoNormal>type=friend<o:p></o:p></p><p class=MsoNormal>host=IP address<o:p></o:p></p><p class=MsoNormal>disallow=all<o:p></o:p></p><p class=MsoNormal>allow=ulaw<o:p></o:p></p><p class=MsoNormal>allow=alaw<o:p></o:p></p><p class=MsoNormal>callerid=Peter <6004><o:p></o:p></p><p class=MsoNormal>secret=XXXXXXX<o:p></o:p></p><p class=MsoNormal>context=default<o:p></o:p></p><p class=MsoNormal>port=9060<o:p></o:p></p><p class=MsoNormal>nat=force_rport,comedia<o:p></o:p></p><p class=MsoNormal>deny=0.0.0.0<o:p></o:p></p><p class=MsoNormal>permit=IP/255.255.0.0,IP/255.255.0.0,PrvIP/255.255.0.0, PrvIP/255.255.0.0<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>When attempting to register there appears to be something not allowing the authentication of the client against Asterisk. I am getting a 401 Unauthorized on first attempt and then 403 (Bad auth) on second. Is there any ACL config that I have missed which is not allow a good authentication. I have enabled nat and allowed all public and private IP’s of the two clients with masks. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The CLI console returns the following: <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>ignore - Apr 16 11:09:57] NOTICE[24359]: chan_sip.c:27724 handle_request_register: Registration from '"6004"<<a href="sip:6004@xx.xx.xx.xx:9060">sip:6004@xx.xx.xx.xx:9060</a>>' failed for 'IP:57836' - No matching peer found<o:p></o:p></p><p class=MsoNormal>[Apr 16 11:09:57] NOTICE[24359]: chan_sip.c:27724 handle_request_register: Registration from '"6004"<<a href="sip:6004@IP:9060">sip:6004@IP:9060</a>>' failed for 'IP:57836' - No matching peer found<o:p></o:p></p><p class=MsoNormal>serverIP*CLI> <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Have searched under No matching peer found and although there is some info on this it does not appear to satisfy my situation. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Please help. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='line-height:150%'><i>Best Regards, <o:p></o:p></i></p><p class=MsoNormal style='line-height:150%'><i><o:p> </o:p></i></p><p class=MsoNormal style='line-height:150%'><i>Peter </i><i><span style='font-size:7.0pt;line-height:150%'><o:p></o:p></span></i></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div>
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
<tr>
<td style='border:none;padding:0px 15px 0px 8px'>
<a href="http://www.avast.com/">
<img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" />
</a>
</td>
<td>
<p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
This email is free from viruses and malware because <a href="http://www.avast.com/">avast! Antivirus</a> protection is active.
</p>
</td>
</tr>
</table>
<br />
</body></html>