[asterisk-dev] CDR questions
Steve Murphy
murf at digium.com
Wed Jan 10 13:34:26 MST 2007
I shake my head over CDR's. Either something needs fixing, or I just
plain am not understanding things correctly.
For instance, take the app ForkCDR(). I see exactly what it does, and I
wonder what it's good for.
It duplicates the current CDR on the channel, and links it into the cdr
chain. Most apps that would apply to a cdr (like setCID funcs) apply to
all the CDRs.
The two CDRs are almost exact duplicates of each other. Operations you
would hope only apply to the new CDR end up applying to both the new and
old.
So, now you get two CDR's. Whoopee. They both start at the same time,
etc. How exciting.
Now, it would seem more useful to me to End, and Post the current cdr,
and then, create a new CDR in its place with a new start time, and carry
over any vars, etc, that may have been associated with the previous CDR.
It might be real nice if the two cdrs had the exact same uniqueID, and
all the other stuff like userfield, etc. were the same.
Am I wrong? Is there some magic here I'm missing?
--
Steve Murphy
Software Developer
Digium
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3227 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20070110/68e8d08a/smime.bin
More information about the asterisk-dev
mailing list