[OpenSIPS-Users] Opensips 1.6.2 w/ Control Panel 4.0 - Problem w/ CDRViews and Dialog

Erick Chinchilla Berrocal erick at netcrc.net
Mon Apr 26 19:35:11 CEST 2010


FYI 

I tried to get (look) the calls in the modules CDRViewer and Dialog and not
is possible.

The following files have the default configuration and the MySQL tables is
according the script.

/var/www/opensips-cp/config/tools/system/cdrviewer/local.inc.php

/var/www/opensips-cp/config/tools/system/dialog/local.inc.php

This is the configuration for the modules in the file opensips.cfg

 

#

loadmodule "db_mysql.so"

loadmodule "signaling.so"

loadmodule "sl.so"

loadmodule "tm.so"

loadmodule "rr.so"

loadmodule "maxfwd.so"

loadmodule "usrloc.so"

loadmodule "registrar.so"

loadmodule "textops.so"

loadmodule "mi_fifo.so"

loadmodule "uri.so"

loadmodule "xlog.so"

loadmodule "acc.so"

 

#

# ----- usrloc params -----

/* uncomment the following lines if you want to enable DB persistency

   for location entries */

modparam("usrloc", "db_mode",   2)

modparam("usrloc", "db_url",

        "mysql://opensips:opensipsrw@localhost/opensips")

modparam("usrloc", "use_domain", 1)

modparam("usrloc", "nat_bflag", 3)

modparam("usrloc", "user_column", "username")

modparam("usrloc", "domain_column", "domain")

modparam("usrloc", "contact_column", "contact")

modparam("usrloc", "expires_column", "expires")

modparam("usrloc", "q_column", "q")

modparam("usrloc", "callid_column", "callid")

modparam("usrloc", "cseq_column", "cseq")

modparam("usrloc", "methods_column", "methods")

modparam("usrloc", "flags_column", "flags")

modparam("usrloc", "cflags_column", "cflags")

modparam("usrloc", "user_agent_column", "user_agent")

modparam("usrloc", "received_column", "received")

modparam("usrloc", "socket_column", "socket")

modparam("usrloc", "path_column", "path")

modparam("usrloc", "use_domain", 1)

modparam("usrloc", "desc_time_order", 1)

modparam("usrloc", "timer_interval", 120)

modparam("usrloc", "matching_mode", 1)

 

##

# ----- acc params -----

/* what sepcial events should be accounted ? */

modparam("acc", "early_media", 1)

modparam("acc", "report_ack", 1)

modparam("acc", "report_cancels", 1)

/* by default ww do not adjust the direct of the sequential requests.

   if you enable this parameter, be sure the enable "append_fromtag"

   in "rr" module */

modparam("acc", "detect_direction", 0)

/* account triggers (flags) */

modparam("acc", "failed_transaction_flag", 3)

modparam("acc", "log_flag", 1)

modparam("acc", "log_missed_flag", 2)

/* uncomment the following lines to enable DB accounting also */

modparam("acc", "db_flag", 1)

modparam("acc", "db_missed_flag", 2)

#modparam("acc", "db_extra",
"from_did=$avp(s:from_did);to_did=$avp(s:to_did)")

 

 

Thanks

Erick Ch.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100426/42a09ccc/attachment.htm 


More information about the Users mailing list