[asterisk-bugs] [JIRA] (ASTERISK-24016) CDR logs multiple unanswered devices despite unanswered=no

S C (JIRA) noreply at issues.asterisk.org
Thu Jul 10 09:45:56 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=220433#comment-220433 ] 

S C commented on ASTERISK-24016:
--------------------------------

1. Steps to reproduce: Dial multiple extensions which go unanswered: eg. dial(SIP/ext1&SIP/ext2)
2. Expected: 0 or 1 CDRs recorded.
3. Actual: multiple CDRs recorded - one per device.

Comment excerpt from cdr.conf regarding "unanswered":
[...]"For example, if you try to dial 3 extensions, and this option is "yes", you will get 3 CDR's, one for each phone that was rung."
Implies I should not get 3 CDR's if set to "no"?  In any case, these multiple CDRs are undesired.


extensions.conf:
[restricted]
exten = *779,1,dial(SIP/sipura&SIP/stephen)

VERBOSE[10706][C-000000dc] pbx.c: [Jul 10 08:55:13]     -- Executing [*779 at restricted:1] Dial("SIP/stephen-android-000000a6", "SIP/sipura&SIP/stephen") in new stack
VERBOSE[10706][C-000000dc] netsock2.c: [Jul 10 08:55:13]   == Using SIP RTP CoS mark 5
VERBOSE[10706][C-000000dc] netsock2.c: [Jul 10 08:55:13]   == Using SIP RTP CoS mark 5
VERBOSE[10706][C-000000dc] app_dial.c: [Jul 10 08:55:13]     -- Called SIP/sipura
VERBOSE[10706][C-000000dc] app_dial.c: [Jul 10 08:55:13]     -- Called SIP/stephen
VERBOSE[10706][C-000000dc] app_dial.c: [Jul 10 08:55:13]     -- SIP/stephen-000000a8 connected line has changed. Saving it until answer for SIP/stephen-android-000000a6
VERBOSE[10706][C-000000dc] app_dial.c: [Jul 10 08:55:13]     -- SIP/sipura-000000a7 connected line has changed. Saving it until answer for SIP/stephen-android-000000a6
VERBOSE[10706][C-000000dc] app_dial.c: [Jul 10 08:55:13]     -- SIP/stephen-000000a8 is ringing
VERBOSE[10706][C-000000dc] app_dial.c: [Jul 10 08:55:13]     -- SIP/sipura-000000a7 is ringing
VERBOSE[10706][C-000000dc] pbx.c: [Jul 10 08:55:22]   == Spawn extension (restricted, *779, 1) exited non-zero on 'SIP/stephen-android-000000a6'

2 CDR's produced:
"","XXXXXXXXXX","*779","restricted",""""" <XXXXXXXXXX>","SIP/stephen-android-000000a6","SIP/sipura-000000a7","Dial","SIP/sipura&SIP/stephen","2014-07-10 12:55:13",,"2014-07-10 12:55:22",8,0,"NO ANSWER","DOCUMENTATION","1404996913.480",""
"","XXXXXXXXXX","*779","restricted",""""" <XXXXXXXXXX>","SIP/stephen-android-000000a6","SIP/stephen-000000a8","Dial","SIP/sipura&SIP/stephen","2014-07-10 12:55:13",,"2014-07-10 12:55:22",8,0,"NO ANSWER","DOCUMENTATION","1404996913.480",""


> CDR logs multiple unanswered devices despite unanswered=no
> ----------------------------------------------------------
>
>                 Key: ASTERISK-24016
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24016
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: CDR/General
>    Affects Versions: 12.3.2
>            Reporter: S C
>            Assignee: S C
>            Severity: Minor
>
> Every available device in a Dial command get a cdr record when unanswered (both by hangup or dial timeout).  Setting "unanswered" in cdr.conf to yes or no does not affect behavior.



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



More information about the asterisk-bugs mailing list