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:[email protected]");
append_branch("sip:[email protected]", "0.5");
append_branch("sip:[email protected]", "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|[email protected]|200|OK|1295519625|
BYE|22078SIPpTag001|15280SIPpTag0114|[email protected]|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"
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users