[Asterisk-Users] Realtime Problems

Sixto Diaz sdiaz at sion.com
Mon Nov 21 07:11:10 MST 2005


Did you see the mysql.log file?
I was having a similar problem, and i saw a problem with an update in a
mysql table when a user was trying to register a phone.


Sixto

----- Original Message ----- 
From: "scott" <scott at mysecretworld.co.uk>
To: <asterisk-users at lists.digium.com>
Sent: Monday, November 21, 2005 4:24 AM
Subject: [Asterisk-Users] Realtime Problems


Hi All

I have configured asterisk with the addons and setup my config files so that
i can pull sip extensions (phones) from a mysql database.

I have followed all the docs and have editted my extconfig.conf
res_mysql.conf and sip.conf to contain all that is advised.

>From the CLI i can see realtime has a connection and is able to load the
user but when I plug in the voip phone it fails to register. My database
content matches that of other phones in the sip.conf. If i remove the
database user and add it direct into sip.conf the phone connects fine.

Any help would be appreciated as its driving me mad now Very Happy

CLI> realtime mysql status
Connected to asterisk at 192.168.1.26, port 3306 with username scott for 22
minutes, 47 seconds.

CLI> realtime load sipusers name 114
Column Name Column Value
-------------------- --------------------
id 1
name 114
callerid 114
canreinvite yes
context default
defaultip 192.168.10.136
dtmfmode info
fromuser 114
fullcontact 114
host 192.168.10.136
nat no
secret 114
type friend
username 114
disallow all
allow g729
allow ilbc
allow gsm
allow ulaw
allow alaw
regseconds 0
cancallforward yes

Nov 21 12:52:55 NOTICE[15585]: chan_sip.c:10793 handle_request_register:
Registration from '<sip:114 at 192.168.1.26>' failed for '192.168.10.136' -
Username/auth name mismatch
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list