[asterisk-bugs] [JIRA] (ASTERISK-28131) ${ANSWEREDTIME} is incorrect in Dial app in Asterisk 15.6
Kevin Harwell (JIRA)
noreply at issues.asterisk.org
Tue Nov 6 15:25:47 CST 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-28131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=245382#comment-245382 ]
Kevin Harwell commented on ASTERISK-28131:
------------------------------------------
[~kkbansal004 at gmail.com],
As George has stated the times are the same because you "Answer" the call before dialing. This is correct behavior according to the documentation you posted (same [here|https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Dial] and more [here|https://wiki.asterisk.org/wiki/display/AST/Dial+Channel+Variables]). I agree with George in that if this was not the behavior in Asterisk 11 then that was probably due to a bug, which may have been inadvertently fixed since then.
That being said it sounds like you are wanting to play back audio before the dial. If you use the "[Progress|https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Progress]" application instead of "Answer" this should allow you to do that as well as reflect the proper dial and answer times. For instance:
{noformat}
exten => 102,1,NoOp()
same => n,Progress()
same => n,Playback(demo-congrats,noanswer)
same => n,Dial(PJSIP/102,10)
same => n,Hangup()
{noformat}
> ${ANSWEREDTIME} is incorrect in Dial app in Asterisk 15.6
> ---------------------------------------------------------
>
> Key: ASTERISK-28131
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28131
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_dial
> Affects Versions: 15.6.0, 15.6.1
> Environment: Centos 6.9
> Reporter: Kapil Bansal
> Assignee: Unassigned
> Severity: Critical
>
> $\{ANSWEREDTIME} is incorrect and same as $\{DIALEDTIME} in Dial app in Asterisk 15.6
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list