<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 02/22/2010 11:13 AM, jonas kellens wrote:
<blockquote cite="mid:1266865993.4528.7.camel@jonas.jocan.local"
type="cite">
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1">
<meta name="GENERATOR" content="GtkHTML/3.24.5">
I have followed the instructions on voip-info.org for Realtime SIP
peers, but I get this notice :<br>
<br>
<font size="2"><font color="#0000ff">[Feb 22 20:05:32] NOTICE[15298]:
chan_sip.c:15889 handle_request_register: Registration from
'<a class="moz-txt-link-rfc2396E" href="sip:testsip@192.168.1.150;transport=UDP"><sip:testsip@192.168.1.150;transport=UDP></a>' failed for
'192.168.1.105' - No matching peer found</font></font><br>
<br>
The CLI shows :<br>
<br>
<font color="#0000ff"><font size="2">[Feb 22 19:58:23] == Parsing
'/etc/asterisk/extconfig.conf': [Feb 22 19:58:23] Found</font></font><br>
<font color="#0000ff"><font size="2">[Feb 22 19:58:23] == Binding
voicemail to mysql/AsteriskHosted/voicemail_users</font></font><br>
<font color="#0000ff"><font size="2">[Feb 22 19:58:23] == Binding
sipusers to mysql/AsteriskHosted/sip_buddies</font></font><br>
<font color="#0000ff"><font size="2">[Feb 22 19:58:23] == Binding
sippeers to mysql/AsteriskHosted/sip_buddies</font></font><br>
<br>
I have the following in extconfig.conf :<br>
<br>
<font size="2"><font color="#0000ff">sipusers =>
mysql,Asterisk,sip_buddies</font></font><br>
<font size="2"><font color="#0000ff">sippeers =>
mysql,Asterisk,sip_buddies</font></font><br>
<br>
I have the following in res_mysql.conf :<br>
<br>
<font size="2"><font color="#0000ff">[general]</font></font><br>
<font size="2"><font color="#0000ff">dbhost = 127.0.0.1</font></font><br>
<font size="2"><font color="#0000ff">dbname = Asterisk</font></font><br>
<font size="2"><font color="#0000ff">dbuser = asteriskuser</font></font><br>
<font size="2"><font color="#0000ff">dbpass = asteriskpasswd</font></font><br>
<font size="2"><font color="#0000ff">dbport = 3306</font></font><br>
<font size="2"><font color="#0000ff">dbsock = /tmp/mysql.sock</font></font><br>
<br>
Something I'm missing ?? Need extra configuration ?<br>
<br>
Jonas.
</blockquote>
<br>
The error message would seem to indicate that the endpoint isn't being
matched in sip_buddies. you need the host column to be set to dynamic
for the peer.<br>
<br>
All else seems to be in order<br>
<br>
</body>
</html>