[asterisk-users] Asterisk Realtime problem

Dovid B asteriskusers at dovid.net
Sun May 27 14:19:07 MST 2007




> Hi,
>
> I have installed asterisk-1.4.4 and asterisk-addon-1.4.1.
> I followed every step to configure RealTime but something is not working 
> properly; the warning that I am geting is:
>
> WARNING[32709]: config.c:1229 find_engine: Realtime mapping for 'sippeers' 
> found to engine 'mysql', but the engine is not available
> WARNING[1359]: config.c:1229 find_engine: Realtime mapping for 'sipusers' 
> found to engine 'mysql', but the engine is not available
>
> My cdr_mysql.conf and res_mysql.conf are:
>
> /--- cdr_mysql.conf  ---/
>
> [global]
> hostname = localhost
> dbname = asteriskcdrdb
> password = passw0rd
> user = root
> table = cdr
> port = 3306
> sock = /var/run/mysqld/mysqld.sock
> userfield = 1
>
> /--- res_mysql.conf ---/
>
> [general]
> dbhost = localhost
> dbname = asteriskrealtime
> dbuser = root
> dbpass = passw0rd
> dbport = 3306
> dbsock = /var/run/mysqld/mysqld.sock
>
> Mysql is working properly, I test it using the parameters included in 
> res_mysql.conf.
>
> Is there a way of checking the asterisk conection to the database 
> manually?
> How can I check that the driver was installed properly from the addonss?
> Any idea, suggestion?
>

When I had this issue it was becuase I didn't make && make install the add 
on's. Try make clean and then make && make install again. Also start 
asterisk as asterisk -vvvvv and see if you see any errors there. 




More information about the asterisk-users mailing list