Hello,
I am using Mysql for Asterisk. To do, i follow this Tuto << gtrgrenoble.fr/projets/2007/ … k/bdd.html >> i must use a database for the extension when i want to save a count SIP on x-lite or ekiga i got this message from the softphone : << Registration error :403 - Forbidden ( Bad auth ) and asterisk shows this message : << [Mar 31 13:49:40] NOTICE[1229]: chan_sip.c:25958 handle_request_register: Registration from ‘"2000"sip:2000@192.168.8.141’ failed for ‘192.168.8.1:25224’ - No matching peer found
[Mar 31 13:49:40] NOTICE[1229]: chan_sip.c:25958 handle_request_register: Registration from ‘"2000"sip:2000@192.168.8.141’ failed for ‘192.168.8.1:25224’ - No matching peer found
ubuntu*CLI>
Any help please and thanks
Show your configs and the output of sip show peers.
file : extconfig.conf
sipusers => mysql,Base,sip
sippeers => mysql,Base,sip
extensions => mysql,Base,extensions
file : res_config_mysql.conf
[Base]
dbhost = 127.0.0.1
dbname = Base
dbuser = root
dbpass = admin
dbport = 3306
file : extconfig.conf
switch => Realtime/@extensions
i have 2 tables sip and extensions the same example in this tuto " gtrgrenoble.fr/projets/2007/ … k/bdd.html"
when i run sip show peers :
ubuntuCLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status Description Realtime
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]
ubuntuCLI>
it works well now
i have to fill sip table’s with the right informations. Thanks for your help