[asterisk-dev] [Code Review] app_queue.c updatecdr appendcdr if needed only update last cdr on stack

irroot reviewboard at asterisk.org
Fri Sep 16 04:50:00 CDT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1266/
-----------------------------------------------------------

(Updated Sept. 16, 2011, 4:49 a.m.)


Review request for Asterisk Developers and Putnopvut.


Changes
-------

Added JIRA bug id looking over this again it is a bug.
as its a bug ive changed the branch to 1.8.

the channel is locked now when appending this record to protect it.


Summary
-------

A CDR may not be initiated for a Queue

when updatecdr is set if the channel uniqueid does not match the last cdr's linkedid or uniqueid
a newcdr will be created and appended to the stack.

this can happen when a call is attended transferd into the queue extension.

Could someone more familiar with CDR's please check this.


This addresses bug ASTERISK-18567.
    https://issues.asterisk.org/jira/browse/ASTERISK-18567


Diffs (updated)
-----

  /branches/1.8/apps/app_queue.c 336153 

Diff: https://reviewboard.asterisk.org/r/1266/diff


Testing
-------


Thanks,

irroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110916/58204d13/attachment.htm>


More information about the asterisk-dev mailing list