[OpenSIPS-Users] opensips-cp cdrviewer acc options

Brett Nemeroff brett at nemeroff.com
Tue Mar 30 15:14:30 CEST 2010


Yeah sip_code = 183 and sip_reason is "Session Progress". Of course,
that's variable. I have a more complicated SP I use for another
product that ignores 1xx records.

I've mentioned this a few times. I get mostly angry replies back about
how what I'm doing is a bad idea... however, if you are going to pull
CDR from a proxies ACC table, wouldn't you be safer using dialog
callbacks to track the actual state of the call to produce the
records?

Otherwise, all that hard work in tracking dialogs will likely be
somehow duplicated in a mysql stored procedure to essentially track
the state.

One issue I have with this whole mess is that when a call reports a
503, I don't know if it's "done" yet when I look at the ACC table.. if
it rolls to another gateway, I could get another 503 or a 200..
Looking at the ACC table in a snapshot in time, it might look like the
call just failed. :/ I think getting call records out of dialog
callbacks might fix that as well.

Just a thought..

reinvites and session timers produce additional invites that look like
the originals (except the from/to tags I believe) and can really muck
the acc recs up.

-Brett


On Tue, Mar 30, 2010 at 5:50 AM, Bogdan-Andrei Iancu
<bogdan at voice-system.ro> wrote:
> Hi Brett,
>
> yes, the early media will produce 2 start records - the procedure is
> designed to generate a CDR for each start (when a single stop with more
> starts) in order to work with multi leg accounting (when you have
> multiple starts, for each leg).
>
> Can you see any difference between the start acc record for the early
> media and for the call established (I guess the reply_code is different,
> right ?)
>
> Regards,
> Bogdan
>
> Brett Nemeroff wrote:
>> All,
>> So I'm getting duplicate CDR events in my CDRviewer. I think this is
>> because of my acc settings. I think it's probably prudent to mention
>> something about the ACC module configuration in the docs.
>>
>> reporting early media appears to be duplicating the cdr event. In
>> other words, two ACC records with method=INVITE.
>>
>> I'm curious.. how would re-invites/session timers affect this SP?
>> -Brett
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> --
> Bogdan-Andrei Iancu
> www.voice-system.ro
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list