[Asterisk-Dev] cdr update patch

Thomas Haeger thomas.haeger at beronet.com
Wed Aug 27 04:32:51 MST 2003


Hi Mark and all others,

this is a litlle patch for updating the cdr if the "immediate" option is
"yes" in the zapata.conf.
Bacause, if the "immidiate" option is "yes" then the first extension is
matching is "s", i think. Then, if you make a call, because you have
something like exten => s,1,Background(blah) and the pbx match another
extension the cdr will never be updated. The destination extension is always
"s". That's, and bacause the "ast_cdr_update" function never be used, why i
made the little patch.

Nice story , he?
I hope you guys understand what i mean.

Mark,
please, i think this is a very small bug, but for me it is relative
important that the cdr will be updated.
And i hope this is the right area in the code where i placed the
"ast_cdr_update".

Best regards,

Thomas.

*******************************************
beroNet technologies GmbH
Dipl.- Ing. Thomas Häger
Potsdamer Str. 18 A
14513 Teltow

FON:    +49 (0) 3328 3077731
FAX:    +49 (0) 3328 334779
Email:  thomas.haeger at beronet.com
*******************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cdr_update.diff
Type: application/octet-stream
Size: 341 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20030827/1f8c9676/cdr_update.obj


More information about the asterisk-dev mailing list