[Home]

Summary:ASTERISK-23626: CDR custom field is not inserted to DB when call is not answered
Reporter:Marek Labonarski (mareklabonarski)Labels:
Date Opened:2014-04-13 12:32:21Date Closed:2014-05-01 09:09:22
Priority:MajorRegression?
Status:Closed/CompleteComponents:Addons/cdr_mysql
Versions:11.8.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Asterisk Now 3.0.1 Attachments:
Description:Hi,

I am having following problem:
{noformat}
${DST},${TEST_ITERATION_ID},${DEVICE_ID}
{noformat}
are passed to the dialplan by adding extra channel variables in originate command.
{noformat}
exten => s,n,Set(CDR(destination)=${DST})
exten => s,n,Set(CDR(test_iteration_id)=${TEST_ITERATION_ID})
exten => s,n,Set(CDR(device_id)=${DEVICE_ID})
exten => s,n,Answer()
exten => s,n,Wait(5)
exten => s,n,HelloWorld()
exten => s,n,Wait(5)
exten => s,n,Hangup()
{noformat}

When call is answered, DB record is complete and contains default + extra user defined and set CDR variables.
In case where call is not answered, only default CDR variables are inserted to database.

I would be very thankful for help.

Best Regards,
Marek Labonarski
Comments:By: Rusty Newton (rnewton) 2014-04-16 09:49:48.676-0500

Marek, you are using a deprecated, extended support module.

Can you reproduce this same issue using cdr_adaptive_odbc?

If you can, please also provide a full Asterisk log with VERBOSE and DEBUG messages showing the call happening.

https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

By: Rusty Newton (rnewton) 2014-05-01 09:09:09.607-0500

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines