[asterisk-bugs] [JIRA] (ASTERISK-24344) CDR_PROP(disable) disables CDR only for first dialed party

Janusz Karolak (JIRA) noreply at issues.asterisk.org
Sat Sep 20 14:06:28 CDT 2014


Janusz Karolak created ASTERISK-24344:
-----------------------------------------

             Summary: CDR_PROP(disable) disables CDR only for first dialed party
                 Key: ASTERISK-24344
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24344
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: CDR/General
    Affects Versions: 13.0.0-beta2
         Environment: Linux 3.16.1
            Reporter: Janusz Karolak
            Severity: Minor


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 at loc&Local/chan2 at 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 at loc-00000001;1|Dial|Local/chan1 at loc&Local/chan2 at loc|3|3|ANSWERED|DOCUMENTATION||1410884337.0||
{quote}

I have expected no records.

Thank you. Best regards, Janusz



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list