[OpenSIPS-Users] mediaproxy DB
Darshak Modi
darshak.modi at elitecore.com
Tue Dec 22 10:30:09 CET 2009
Ok. But in config.ini, I have only radius based accounting.
[Database]
; This section needs to be configured if database accounting is enabled
; Database URI in the form: scheme://user:password@host/database
;dburi = mysql://mediaproxy:mediaproxy@localhost/mediaproxy
Do I need to enable this?
AND in CDRTool-global.inc I have to set the username/pass as specified
above?
class DB_mediaproxy extends DB_Sql {
var $Host = "sipdb";
var $Database = "mediaproxy";
var $User = "mediaproxy";
var $Password = "mediaproxy";
var $Halt_On_Error ="yes";
}
-Thanks
Darshak
-----Original Message-----
From: users-bounces at lists.opensips.org
[mailto:users-bounces at lists.opensips.org] On Behalf Of Saúl Ibarra Corretgé
Sent: Tuesday, December 22, 2009 1:53 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] mediaproxy DB
On 22/12/09 5:49 AM, Darshak Modi wrote:
> This is syslog after starting mediaproxy dispatcher and relay.
> As it says both started successfully.
> CDRTool also gets started successfully. But I cant find mediaproxy DB into
> mysql.
>
MediaProxy will generate a table inside the database specified in the
dburi, so if you had something like mysql://user:pass@host/opensips then
you'll have the media_sessions table in the opensips database.
Regards,
--
Saúl Ibarra Corretgé
AG Projects
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list