[asterisk-users] Problems with SIP realtime

jonas kellens jonas.kellens at telenet.be
Mon Feb 22 14:13:07 CST 2010


The problem was that I had a different value for 'name' and 'username'.

How can I have the 'name' different from the 'username' ??? Why do these
2 need to be the same ??

Jonas.

On Mon, 2010-02-22 at 20:36 +0100, jonas kellens wrote:

> 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/10c8b28b/attachment.htm 


More information about the asterisk-users mailing list