[Asterisk-Users] RealTime problem with sipusers accounts

Marco Balmer mb at micressor.ch
Thu Oct 13 22:30:00 MST 2005


Hello @ all,

I hope you can help me.

server1: asterisk-cvs HEAD 2005-10-13
server2: asterisk-cvs HEAD 2005-10-13

I've configured RealTime (sipusers) on server2 together with a MySQL database.
The account in the database exists. It seems to be configured right. Then I
can read realtime infos with commands like "realtime load sipusers name 301"

But Server1 doesn't find the configured accounts. 
server1:
Oct 14 06:56:13 WARNING[8523]: chan_sip.c:9507 handle_response_register: Got
404 Not found on SIP register to service 301 at server2, giving up

Any ideas or hints?

Thank you for help
Marco

server2*CLI> sip show users
Username                   Secret           Accountcode      Def.Context     
ACL  NAT

server2*CLI> realtime load sipusers name 301
                   Column Name  Column Value
          --------------------  --------------------
                            id  6
                          name  301
                      callerid  301
                   canreinvite  yes
                       context  cmo-incoming
                      fromuser  301
                           nat  no
snip....

/etc/asterisk/extconfig.conf
[settings]
sipusers => mysql,asterisk_db,sip_buddies

/etc/asterisk/res_mysql.conf
[general]
dbhost = localhost
dbname = asterisk_db
dbuser = asterisk
dbpass = xxx
dbport = 3306
dbsock = /var/run/mysqld/mysqld.sock

--
PGP Key - http://www.micressor.ch/GPG/gpg-key.txt
http://web.swissjabber.ch - xmpp/jabber: micressor at swissjabber.ch
VoIP - sip:5554079 at sipgate.de




More information about the asterisk-users mailing list