# Realtime Errors

**URL:** <https://community.asterisk.org/t/realtime-errors/2626>\
**Category:** Asterisk Support\
**Created:** [November 21, 2005, 12:54pm UTC](https://community.asterisk.org/t/realtime-errors/2626 "2005-11-21T12:54:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![scottpinhorne](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@scottpinhorne](https://community.asterisk.org/u/scottpinhorne)\
**Post date:** [November 21, 2005, 12:54pm UTC](https://community.asterisk.org/t/realtime-errors/2626/1 "2005-11-21T12:54:59Z")

</div>

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 😃

CLI\> realtime mysql status  
Connected to [asterisk@192.168.1.26](mailto:asterisk@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@192.168.1.26’ failed for ‘192.168.10.136’ - Username/auth name mismatch

---

<div class="post-metadata">

**Author:** ![nsilva](https://avatars.discourse-cdn.com/v4/letter/n/3bc359/32.png) [@nsilva](https://community.asterisk.org/u/nsilva)\
**Post date:** [November 21, 2005, 3:54pm UTC](https://community.asterisk.org/t/realtime-errors/2626/2 "2005-11-21T15:54:46Z")

</div>

Hey,

check your ip or the full contact field…

other than that, everything seems to be ok…

i don’t use all the realtime variables…

only the ones i need…

---

<div class="post-metadata">

**Author:** ![scottpinhorne](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@scottpinhorne](https://community.asterisk.org/u/scottpinhorne)\
**Post date:** [November 21, 2005, 3:58pm UTC](https://community.asterisk.org/t/realtime-errors/2626/3 "2005-11-21T15:58:17Z")

</div>

Hi

I have tried both of these with no success ☹

I to will only use those that i need but while i am trying to get it working i thought it best i do what the documentation tells me 😆

Many Thanks  
Scott Pinhorne
