[OpenSER-Users] How to account INVITEs and not "200 OK"s?
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Feb 13 14:23:58 CET 2008
Hi Peter,
From accounting point of view, the relevant timestamp is when the call
starts and, from sip point of view, this is 200 OK.
But if from whatever reasons you want to account the timestamp for
INVITE, use extra accounting (see acc module page). At INVITE time store
in an AVP the current timestamp (use pseudo-vars for this) and set this
AVP into extra acc.
regards,
Bogdan
Peter Lemenkov wrote:
> Hello All!
>
> Right now OpenSER generates Acc-Session-Start when "200 OK" message
> arrives. I need to generate Acc-Session-Start exactly in that moment
> when INVITE received (I can't need to wait for answer from other
> side).
>
> So how can I do it?
>
>
More information about the Users
mailing list