[OpenSIPS-Users] opensips-cp cdrviewer

2008-11-26 Thread Andrew Yager
Hi, I'm working with opensips-cp and trying to get the cdrviewer to work. The acc table has the following structure: CREATE TABLE acc ( id INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL, method VARCHAR(16) DEFAULT '' NOT NULL, from_tag VARCHAR(64) DEFAULT '' NOT NULL, t

Re: [OpenSIPS-Users] opensips-cp cdrviewer

2008-11-28 Thread Bogdan-Andrei Iancu
Hi Andrew, That is a know bug in the procedure (at least in the first version of Control Panel) - feel free to strip from the procedure the missing fields. Regards, Bogdan Andrew Yager wrote: > Hi, > > I'm working with opensips-cp and trying to get the cdrviewer to work. > > The acc table has t

[OpenSIPS-Users] OpenSIPs-CP CDRviewer question

2010-03-24 Thread Christian Vo
Hello, So I realized I didn't have accounting to database enabled properly, And added the following lines to my opensips.cfg: modparam("acc", "db_url", "mysql://:@localhost/opensips") modparam("acc", "db_extra", "caller_id=$fu; callee_id=$tu") now I see there is an entry into the "acc" table:

Re: [OpenSIPS-Users] OpenSIPs-CP CDRviewer question

2010-03-24 Thread Bogdan-Andrei Iancu
Hi Christian, you need to go into opensips-cp > trunk > config > tools > system > cdrviewer > local.inc.php file and configure the $show_field array to show you whatever columns you need. Probably by mistake, it is configured to show some columns that does not exists. Regards, Bogdan Christi

Re: [OpenSIPS-Users] OpenSIPs-CP CDRviewer question

2010-03-24 Thread Christian Vo
ese fields blanked out... -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu Sent: Wednesday, March 24, 2010 12:24 PM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] OpenSIPs-CP CDRviewer question Hi

Re: [OpenSIPS-Users] OpenSIPs-CP CDRviewer question

2010-03-24 Thread Brett Nemeroff
; > > I don't know what "leg_type" corresponds to, (no entry in the acc table > afaik), but I do see caller_id and callee_id... > but the CDRviewer is showing my call entry with these fields blanked out... > > > > -Original Message- > From: users-boun.

[OpenSIPS-Users] opensips-cp cdrviewer acc options

2010-03-26 Thread Brett Nemeroff
All, So I'm getting duplicate CDR events in my CDRviewer. I think this is because of my acc settings. I think it's probably prudent to mention something about the ACC module configuration in the docs. reporting early media appears to be duplicating the cdr event. In other words, two ACC records wi

Re: [OpenSIPS-Users] opensips-cp cdrviewer acc options

2010-03-30 Thread Bogdan-Andrei Iancu
Hi Brett, yes, the early media will produce 2 start records - the procedure is designed to generate a CDR for each start (when a single stop with more starts) in order to work with multi leg accounting (when you have multiple starts, for each leg). Can you see any difference between the start

Re: [OpenSIPS-Users] opensips-cp cdrviewer acc options

2010-03-30 Thread Brett Nemeroff
Yeah sip_code = 183 and sip_reason is "Session Progress". Of course, that's variable. I have a more complicated SP I use for another product that ignores 1xx records. I've mentioned this a few times. I get mostly angry replies back about how what I'm doing is a bad idea... however, if you are goin