[OpenSIPS-Users] Dialog duration accounting question
Bogdan-Andrei Iancu
bogdan at opensips.org
Thu Jan 20 12:53:21 CET 2011
What version of opensips are you using ? Looking at your acc content, I
guess the acc is generating START/STOP events, instead of generating
directly a CDR (per call). So, it seams that acc does not see the dialog
support...
Try to change the script as:
route {
### setflag(4); # remove this
seturi("sip:333 at 192.168.253.55");
append_branch("sip:333 at 192.168.253.10", "0.5");
append_branch("sip:333 at 192.168.253.55", "0.5");
serialize_branches(1);
next_branches();
t_on_failure("serial");
create_dialog(); #### add this
setflag(1);
setflag(2);
setflag(3);
t_relay();
}
Regards,
Bogdan
Apostolos Pantsiopoulos wrote:
> Hi Bogdan,
>
> Unfortunately this is not what I have.
> I have an acc file (I falsely called it the CDRs file) which is in
> "/var/log/acc/acc_5.log" due to the fact that I configured it like
> this in acc :
>
> modparam("acc", "db_url", "flatstore:/var/log/acc")
>
> and the contents do not follow the "scripts/dbtext/opensips/acc"
> description.
>
> All it contains is this (after a call) :
>
> ACK|22078SIPpTag001|15280SIPpTag0114|1-22078 at 192.168.253.55|200|OK|1295519625|
>
> BYE|22078SIPpTag001|15280SIPpTag0114|1-22078 at 192.168.253.55|200|OK|1295519626|
>
>
> Regards,
>
>
--
Bogdan-Andrei Iancu
OpenSIPS Event - expo, conf, social, bootcamp
2 - 4 February 2011, ITExpo, Miami, USA
OpenSIPS solutions and "know-how"
More information about the Users
mailing list