[asterisk-users] Problems with SIP realtime
Bruce Ferrell
bferrell at baywinds.org
Mon Feb 22 16:09:46 CST 2010
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
More information about the asterisk-users
mailing list