[asterisk-users] Problems with SIP realtime

Juan Miguel jmiguely at gmail.com
Mon Feb 22 14:25:09 CST 2010


Hello Jonas:

Change this parameter, if you are using Mysql.

[general]
dbhost = 127.0.0.1
dbname = Asterisk
dbuser = asteriskuser
dbpass = asteriskpasswd
dbport = 3306
*dbsock = /var/lib/mysql/mysql.sock*

cheersss...
2010/2/22 jonas kellens <jonas.kellens at telenet.be>

> 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<sip%3Atestsip 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.
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100222/0b335f2d/attachment.htm 


More information about the asterisk-users mailing list