[asterisk-bugs] [JIRA] (ASTERISK-23626) CDR custom field is not inserted to DB when call is not answered
Marek Labonarski (JIRA)
noreply at issues.asterisk.org
Sun Apr 13 12:34:18 CDT 2014
Marek Labonarski created ASTERISK-23626:
-------------------------------------------
Summary: CDR custom field is not inserted to DB when call is not answered
Key: ASTERISK-23626
URL: https://issues.asterisk.org/jira/browse/ASTERISK-23626
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Addons/cdr_mysql
Affects Versions: 11.8.0
Environment: Asterisk Now 3.0.1
Reporter: Marek Labonarski
Hi,
I am having following problem:
${DST},${TEST_ITERATION_ID},${DEVICE_ID} are passed to the dialplan by adding extra channel variables in originate command.
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()
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 defualt CDR variables are inserted to database.
I would be very thankful for help.
Best Regards,
Marek Labonarski
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list