[asterisk-bugs] [JIRA] (ASTERISK-28131) ${ANSWEREDTIME} is incorrect in Dial app in Asterisk 15.6

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Mon Nov 5 09:39:47 CST 2018


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

Richard Mudgett edited comment on ASTERISK-28131 at 11/5/18 9:38 AM:
---------------------------------------------------------------------

Hi, 
Answer(), is to answer the primary channel(user channel),  without that we can't play back any file to the user  in case of we have IVR OR  Moh to playback. 


ANSWEREDTIME should be returned the duration of channel2 (which I give Dial command) . It was the scenario in asterisk 11.x. 

but in asterisk 15.x and 16, we are facing the issue. 

below is from Dial command description


This application sets the following channel variables:
$\{DIALEDTIME}: This is the time from dialing a channel until when it is
disconnected.
$\{ANSWEREDTIME}: This is the amount of time for actual call.
$\{DIALEDPEERNAME}: The name of the outbound channel that answered the call.
$\{DIALEDPEERNUMBER}: The number that was dialed for the answered outbound
channel.
$\{FORWARDERNAME}: If a call forward occurred, the name of the forwarded
channel.
$\{DIALSTATUS}: This is the status of the call

Thanks and Regards,
Rajesh Ganji.




 


 


was (Author: kkbansal004 at gmail.com):
Hi, 
Answer(), is to answer the primary channel(user channel),  without that we can't play back any file to the user  in case of we have IVR OR  Moh to playback. 


ANSWEREDTIME should be returned the duration of channel2 (which I give Dial command) . It was the scenario in asterisk 11.x. 

but in asterisk 15.x and 16, we are facing the issue. 

below is from Dial command description


This application sets the following channel variables:
${DIALEDTIME}: This is the time from dialing a channel until when it is
disconnected.
${ANSWEREDTIME}: This is the amount of time for actual call.
${DIALEDPEERNAME}: The name of the outbound channel that answered the call.
${DIALEDPEERNUMBER}: The number that was dialed for the answered outbound
channel.
${FORWARDERNAME}: If a call forward occurred, the name of the forwarded
channel.
${DIALSTATUS}: This is the status of the call

Thanks and Regards,
Rajesh Ganji.




 


 

> ${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