And what is your error in the dialog ad cdrviewer modules ?? what is not working ? any error message ?
Regards, Bogdan Erick Chinchilla Berrocal wrote: > > > > > > *From:* Erick Chinchilla Berrocal [mailto:[email protected]] > *Sent:* Wednesday, April 28, 2010 11:08 AM > *To:* 'OpenSIPS users mailling list' > *Subject:* RE: [OpenSIPS-Users] Opensips 1.6.2 w/ Control Panel 4.0 - > Problem w/ CDRViews and Dialog > > > > Alex this is my current setup > > - /var/www/opensips-cp/config/db.inc.php > > //database driver mysql or pgsql > > $config->db_driver = "mysql"; > > > > //database host > > $config->db_host = "localhost"; > > > > //database port - leave empty for default > > $config->db_port = ""; > > > > //database connection user > > $config->db_user = "root"; > > > > //database connection password > > $config->db_pass = "passwd root"; > > > > //database name > > $config->db_name = "opensips"; > > > > if (!empty($config->db_port) ) $config->db_host = $config->db_host . > ":" . $config->db_port; > > > > ?> > > > > - /var/www/opensips-cp/config/boxes.global.inc.php > > /*==================== DEFINITION OF BOXES (servers) > ========================*/ > > // each server is a box > > > > $box_id=0; > > > > // mi host:port pair || fifo_file > > $boxes[$box_id]['mi']['conn']="/tmp/opensips_fifo"; > > > > // monit host:port > > $boxes[$box_id]['monit']['conn']="127.0.0.1:2812"; > > $boxes[$box_id]['monit']['user']="admin"; > > $boxes[$box_id]['monit']['pass']="monit"; > > $boxes[$box_id]['monit']['has_ssl']=0; > > > > > > // description (appears in mi , monit ) > > $boxes[$box_id]['desc']="Primary SIP server"; > > > > > > $boxes[$box_id]['assoc_id']=1; > > > > // enable local smonitor charts on this box : 0=disabled 1=enabled > > // (cron) > > $boxes[$box_id]['smonitor']['charts']=1; > > > > - Opensips.cfg > > - # ----- mi_fifo params ----- > > - modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo") > > - modparam("mi_fifo", "fifo_mode", 0666) > > > > Thanks > > Erick Ch. > > > > *From:* [email protected] > [mailto:[email protected]] *On Behalf Of *Alex Ionescu > *Sent:* Wednesday, April 28, 2010 3:07 AM > *To:* OpenSIPS users mailling list > *Subject:* Re: [OpenSIPS-Users] Opensips 1.6.2 w/ Control Panel 4.0 - > Problem w/ CDRViews and Dialog > > > > Hi Erick, > > The global db.inc.php (the one you have in > /var/www/opensips-cp/config/) is used by all the modules as long as > they don't find something more specific defined into their config > files (like, for example, if you want a different db setup for module > *domains* you can edit > */var/www/opensips-cp/config/tools/system/domains/db.inc.php* - and > this will override the global db setup ). > > Dialog takes the call information using a MI command. So you must have > OpenSIPS Control Panel and OpenSIPS configured properly (you must > choose between xmlrpc and fifo) - see the OpenSIPS config file (to > enable mi_xmlrpc module or the mi_fifo) and also check the > config/boxes.global.inc.php to have the correct MI connection > parameters set up. > > Regards, > Alex > > > > -- > Alex Ionescu > www.voice-system.ro <http://www.voice-system.ro> > > > > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 3997 (20090409) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Bogdan-Andrei Iancu www.voice-system.ro _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
