Hello,
I got the problem. When i was dialing a number that was directly hitting the IVR it is not
accounting the INVITE and only CANCEL is accounted. not sure for this behaviour. I am
investigating for this. ethereal trap & xlgos shows both INVITE and CANCEL but only
acc shows CANCEL.
But when i dialed a number that was ringing before answered or pointed to VM than i am
able to see the INVITE and CANCEL both accounted in cdrs as expected. but in this case i
have to add the setflag lines. 1 - normal acc & 3 - failed transactions in CANCEL
method.
Can you please clarify that why there is no need to add the setflag for the CANCEL method?
Not working for me that way.
Thank you,
KC
--- On Sun, 2/11/08, Iñaki Baz Castillo <ibc(a)aliax.net> wrote:
From: Iñaki Baz Castillo <ibc(a)aliax.net>
Subject: Re: [Kamailio-Users] INVITE accounting problem
To: users(a)lists.kamailio.org
Date: Sunday, 2 November, 2008, 3:49 AM
El Sábado, 1 de Noviembre de 2008, Kaeman Chris escribió:
if (is_method("CANCEL")) {
setflag(1);
setflag(3);
if (t_check_trans())
t_relay();
exit;
}
I suposse (you didn't say it) that flag(1) is the accounting flag.
Well, delete the "setflag" lines above since you don't need to
set accounting
flags for CANCEL. If you already set acc flag during the INVITE then the
CANCEL will be automatically handled by accounting module.
--
Iñaki Baz Castillo
_______________________________________________
Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
From Chandigarh to Chennai - find friends all over India. Go to
http://in.promos.yahoo.com/groups/citygroups/