[Asterisk-Users] RealTime Drivers Connectivity Error

adnan adnan at xnet.com.pk
Thu Dec 30 13:39:59 MST 2004


Hello *'s,
i am using Realtime Sip drivers but its not working here is my configs:
extconfig.conf
[settings]
; Realtime configuration engine
;
; maps a particular family of realtime
; configuration to a given database driver,
; database and table (or uses the name of
; the family if the table is not specified
;
sipfriends => mysql,asterisk,sip_friends    

res_mysql.conf
[general]
dbhost = localhost.localdoamin/127.0.0.1
dbname = asterisk
dbuser = asterisk
dbpass = 123456
dbport = 3306
dbsock = /var/lib/mysql/mysql.sock

error detail:
Dec 31 01:20:49 ERROR[4298]: res_config_mysql.c:617 mysql_reconnect: 
MySQL RealTime: Failed to connect database server asterisk on 
localhost.localdomain/127.0.0.1. Check debug for more info.
  == Registered application 'UserEvent'
 [app_verbose.so]Segmentation fault (core dumped)
 i change dbhost parameter several times like(localhost,192.168.10.193 
etc) but can't works
I am using latest  CVS-Head
kindly pointout my mistakes.
Thanks In Advance.
Adnan Ahmed.




More information about the asterisk-users mailing list