Al wrote: >Subject: [sipX-dev] XECS-2153 - CDRs shows 0 seconds duration >for calls thathave been active for 10 hours or more > >This issue deals with the case of the Proxy Call State Event >Observer missing an end of call (BYE) message. > >To trap this type of scenario, CDR will periodically check for >calls that have been active for a long time (ie. > 8 hours is >the current >default) and when it finds one, it will close the CDR record >and write it to the database. > >This issue deals with the fact that the record shows a total >time of 0 seconds and a call status of "Completed". > >To resolve this issue, I'd like to do 2 things: > >1. Provide a total time value which represents the current >long call timeout value. Even though putting in this value is >not accurate (since we don't know when the call ended or even >if it has ended), it is better for Call Accounting to have >something other than 0 in it. > >2. Instead of marking the call as "Completed" to introduce a >new Status type of "Long Call". > >Putting in a total time value of the cur While I'm in the code >adding a new Status type of "Long Call", I'd also like to add >another type "Transferred" in hopes of adding >support/detection for this in the near future (btw. This will >then require translations for each of these new status types >into all languages we support). > >If there are no objections, I'll proceed today with the >necessary changes in both CDR and in sipXconfig.
>>I like the concept. Is the name "Long Call" appropiate? As >>this is really an error condition isn't it? I'm open to suggestions for a name but it isn't always an error condition. If you truly have a call that goes on longer than the long call timeframe then it isn't an error condition. Unfortunately, because we're stateless and there isn't any sort of call audit mechanism, we have no way of knowing if the call is still active or not. I think in the future, for cases where we haven't missed the BYE and the call simply lasted longer than the "long call" timeout, I'd like to look into the ability to "update" the CDR record to then properly reflect that the call did indeed last a really long time. I don't think this would be possible for this release though. Raymond _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
