Be sure you set the accounting flag before any t_relay() or t_newtran() for the INVITE. To be sure, try to use log/xlog to put some debugs in your script and check if the flag is really set before t_relay().
Regards, Bogdan
Ruchir Lists wrote:
I configured simple acc module to store records in acc table, set proper flags. Then tried to call number directly(not with forwarding) but still I get only BYE record. Any suggestion?
On Wed, Jun 11, 2008 at 2:43 PM, Bogdan-Andrei Iancu <bogdan@voice-system.ro mailto:bogdan@voice-system.ro> wrote:
Hi Ruchir, There are two aspects here: 1) making acc to work - setting the flags and getting the ACC records 2) enabling multi-leg account and putting more info into the accounted info First you should to solve (1) - just getting a simple ACC record for INVITEs and BYEs (no multi leg accounting) - it this working for you or you get only BYE acc? Regards, Bogdan Ruchir Lists wrote: Hi All, I'm trying to configure OpenSER with multi-leg accounting. I'm using OpenSER 1.2 & radius. I'm using acc_radius table for writing cdr records. I've searched through several articles and mailing list posts about configuring multi-leg accounting and everywhere they talk about setting up multi-leg-info parameter of acc module to configure leg source & destination and setting up accounting flag. But this is not working for me. I get only BYE record in table if I use this way to write multiple records for one call in call forwarding scenario. I managed to get multiple records by calling acc_rad_request on INVITE, ACK, BYE & CANCEL. For instance, I have 4 users; 90001, 90002, 90003, 90004. The call forwarding is setup as below: 90004 -> 90001 -> 90003. I dial 90004 from 90002 user and it forwards the call to 90001 & then 90003 and they're connected properlry. However I don't get leg source/destination properly and also I get 7-8 bye records for this call. Can anyone guide me in right direction if I'm doing anything wrong. Regards, Ruchir ------------------------------------------------------------------------ _______________________________________________ Users mailing list Users@lists.openser.org <mailto:Users@lists.openser.org> http://lists.openser.org/cgi-bin/mailman/listinfo/users