I have followed the instructions on voip-info.org for Realtime SIP peers, but I get this notice : [Feb 22 20:05:32] NOTICE[15298]: chan_sip.c:15889 handle_request_register: Registration from '<sip:testsip at 192.168.1.150;transport=UDP>' failed for '192.168.1.105' - No matching peer found The CLI shows : [Feb 22 19:58:23] == Parsing '/etc/asterisk/extconfig.conf': [Feb 22 19:58:23] Found [Feb 22 19:58:23] == Binding voicemail to mysql/AsteriskHosted/voicemail_users [Feb 22 19:58:23] == Binding sipusers to mysql/AsteriskHosted/sip_buddies [Feb 22 19:58:23] == Binding sippeers to mysql/AsteriskHosted/sip_buddies I have the following in extconfig.conf : sipusers => mysql,Asterisk,sip_buddies sippeers => mysql,Asterisk,sip_buddies I have the following in res_mysql.conf : [general] dbhost = 127.0.0.1 dbname = Asterisk dbuser = asteriskuser dbpass = asteriskpasswd dbport = 3306 dbsock = /tmp/mysql.sock Something I'm missing ?? Need extra configuration ? Jonas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100222/6d147dcc/attachment.htm
Little fault in my mailing : The CLI shows : [Feb 22 19:58:23] == Parsing '/etc/asterisk/extconfig.conf': [Feb 22 19:58:23] Found [Feb 22 19:58:23] == Binding voicemail to mysql/Asterisk/voicemail_users [Feb 22 19:58:23] == Binding sipusers to mysql/Asterisk/sip_buddies [Feb 22 19:58:23] == Binding sippeers to mysql/Asterisk/sip_buddies My database-name is just 'Asterisk', my bad. So... what am I missing for this realtime SIP to work ?? Jonas On Mon, 2010-02-22 at 20:13 +0100, jonas kellens wrote:> I have followed the instructions on voip-info.org for Realtime SIP > peers, but I get this notice : > > [Feb 22 20:05:32] NOTICE[15298]: chan_sip.c:15889 > handle_request_register: Registration from > '<sip:testsip at 192.168.1.150;transport=UDP>' failed for '192.168.1.105' > - No matching peer found > > The CLI shows : > > [Feb 22 19:58:23] == Parsing '/etc/asterisk/extconfig.conf': [Feb 22 > 19:58:23] Found > [Feb 22 19:58:23] == Binding voicemail to > mysql/Asterisk/voicemail_users > [Feb 22 19:58:23] == Binding sipusers to mysql/Asterisk/sip_buddies > [Feb 22 19:58:23] == Binding sippeers to mysql/Asterisk/sip_buddies > > I have the following in extconfig.conf : > > sipusers => mysql,Asterisk,sip_buddies > sippeers => mysql,Asterisk,sip_buddies > > I have the following in res_mysql.conf : > > [general] > dbhost = 127.0.0.1 > dbname = Asterisk > dbuser = asteriskuser > dbpass = asteriskpasswd > dbport = 3306 > dbsock = /tmp/mysql.sock > > Something I'm missing ?? Need extra configuration ? > > Jonas.-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100222/a9336fa4/attachment.htm
On 02/22/2010 11:13 AM, jonas kellens wrote:> I have followed the instructions on voip-info.org for Realtime SIP > peers, but I get this notice : > > [Feb 22 20:05:32] NOTICE[15298]: chan_sip.c:15889 > handle_request_register: Registration from > '<sip:testsip at 192.168.1.150;transport=UDP>' failed for '192.168.1.105' > - No matching peer found > > The CLI shows : > > [Feb 22 19:58:23] == Parsing '/etc/asterisk/extconfig.conf': [Feb 22 > 19:58:23] Found > [Feb 22 19:58:23] == Binding voicemail to > mysql/AsteriskHosted/voicemail_users > [Feb 22 19:58:23] == Binding sipusers to > mysql/AsteriskHosted/sip_buddies > [Feb 22 19:58:23] == Binding sippeers to > mysql/AsteriskHosted/sip_buddies > > I have the following in extconfig.conf : > > sipusers => mysql,Asterisk,sip_buddies > sippeers => mysql,Asterisk,sip_buddies > > I have the following in res_mysql.conf : > > [general] > dbhost = 127.0.0.1 > dbname = Asterisk > dbuser = asteriskuser > dbpass = asteriskpasswd > dbport = 3306 > dbsock = /tmp/mysql.sock > > Something I'm missing ?? Need extra configuration ? > > Jonas.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. All else seems to be in order -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100222/01ce90cf/attachment.htm