[OpenSIPS-Users] need help on connection CDRTool to opensips
ha do
haloha201 at yahoo.com
Tue Nov 9 04:11:25 CET 2010
Hi all
i installed opensips and mediaproxy in server 1, ip address : 192.168.1.39
and cdrtool and freeradius in server 2, ip address : 192.168.1.42
the opensips, mediaproxy, freeradius starting are fine
i use the link below as a guide
http://cdrtool.ag-projects.com/browser/doc/INSTALL.txt
the problem i got only with cdrtool
Nov 9 04:56:22 cdrtool cdrtool[3219]: Read 12291 PSTN destinations from cache
in 0 seconds
Nov 9 04:56:22 cdrtool cdrtool[3219]: Error in connect(): pconnect as opensips
to 192.168.1.39 failed
Nov 9 04:56:22 cdrtool cdrtool[3219]: Database DB_opensips error: (0) select *
from domain
Nov 9 04:56:22 cdrtool cdrtool[3219]: Error in connect(): pconnect as opensips
to 192.168.1.39 failed
Nov 9 04:56:22 cdrtool cdrtool[3219]: Database DB_opensips error: (0) select *
from trusted
Nov 9 04:56:22 cdrtool cdrtool[3219]: PSTN destinations cache size: 0.64 MB
Nov 9 04:56:22 cdrtool cdrtool[3219]: SIP destinations cache size: 0.00 MB
Nov 9 04:56:22 cdrtool cdrtool[3219]: Cached 12291 total, 12291 default, 0
gateway, 0 domain, 0 subscriber destinations
Nov 9 04:56:22 cdrtool cdrtool[3219]: Cached 0 SIP destinations
the cdrtool is fine with almost component except the connection to opensips
the global.inc with define opensips server
class DB_opensips extends DB_Sql {
var $Host = "192.168.1.39";
var $Database = "opensips";
var $User = "opensips";
var $Password = "sips";
var $Halt_On_Error = "no";
}
and issue the command grant all on opensips.* to opensips@'192.168.1.%'
identified by 'sips'; in opensips server
please help
Ha`
More information about the Users
mailing list