[asterisk-bugs] [JIRA] (ASTERISK-22430) AMI Originated calls are logged only if answered
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Sat Aug 31 10:59:03 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-22430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209802#comment-209802 ]
Matt Jordan commented on ASTERISK-22430:
----------------------------------------
This behavior is expected.
In Asterisk 1.8/11, Origination is not treated the same as Dialing. Unanswered CDRs will only be displayed if the {{unanswered}} setting is enabled in {{cdr.conf}}. Otherwise, they will not be recorded.
Note that you could also get the behavior you want by Originating a Local channel and performing a Dial operation directly in the dialplan.
> AMI Originated calls are logged only if answered
> ------------------------------------------------
>
> Key: ASTERISK-22430
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-22430
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_originate, Core/Logging
> Affects Versions: 1.8.23.1
> Environment: Tested on Asterisk 1.8.23.1 with a Digium B410P
> Reporter: Lelio della Pietra
> Severity: Minor
>
> I place a call with the following AMI command:
> {noformat}
> Action: Originate
> Channel: DAHDI/g1/08112345678
> Context: DLPN_test2
> Timeout: 8000
> Exten: 08112345678
> Priority: 1
> Async: true
> ActionID: 123
> {noformat}
> The referenced context is the following:
> {noformat}
> [DLPN_test2]
> include => default
> exten = s,1,NoOp(Remote-Answered)
> exten = s,n,Wait(900)
> exten = s,n,Hangup()
> exten = failed,1,NoOp(Remote-Failed)
> exten = failed,n,Hangup()
> exten = h,1,NoOp(Remote-Hangup)
> exten = h,n,Hangup()
> {noformat}
> If the call is answered I see it logged in /var/log/asterisk/cdr-csv/Master.csv:
> {noformat}
> "","","s","CCEasy_test2","","DAHDI/i1/08112345678-2","","Wait","900","2013-08-29 15:54:21","2013-08-29 15:54:27","2013-08-29 15:55:05",44,38,"ANSWERED","DOCUMENTATION","1377791661.2",""
> {noformat}
> But if the called is unanswered or gets busy nothing is logged.
> Of course, placing the same call from a SIP account gets a log line in all cases (answered, no answer, busy).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list