[Home]

Summary:ASTERISK-24344: CDR_PROP(disable) disables CDR only for first dialed party
Reporter:Janusz Karolak (janusz_1942)Labels:
Date Opened:2014-09-20 14:04:51Date Closed:2015-06-15 15:47:20
Priority:MinorRegression?
Status:Closed/CompleteComponents:CDR/General
Versions:13.0.0-beta2 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Linux 3.16.1Attachments:
Description:It seems impossible to disable creation of CDR records for all parties in the Dial application (it is effective only for the first one).
Example dialplan:
{quote}
[test]
exten => a,1,Set(CDR_PROP(disable)=true)
 same => n,Dial(Local/chan1@loc&Local/chan2@loc)
 same => n,Hangup()

[loc]
exten => chan1,1,Set(CDR_PROP(disable)=true)
 same => n,Answer()
 same => n,Wait(2)
 same => n,Hangup()

exten => chan2,1,Set(CDR_PROP(disable)=true)
 same => n,Answer()
 same => n,Wait(3)
 same => n,Hangup()
{quote}

Result of "select * from cdr;" query executed in sqlite3 database:
{quote}
1|2014-09-16 18:18:57|"test" <test>|test|SIP/test-00000000|Local/chan2@loc-00000001;1|Dial|Local/chan1@loc&Local/chan2@loc|3|3|ANSWERED|DOCUMENTATION||1410884337.0||
{quote}

I have expected no records.

Thank you. Best regards, Janusz
Comments:By: Rusty Newton (rnewton) 2014-09-23 19:25:10.242-0500

Assigning to [~mjordan] as I have no idea what to expect here.

By: Rusty Newton (rnewton) 2014-09-24 13:04:28.243-0500

Matt said this looked legitimate. Opening it up.