[asterisk-bugs] [JIRA] (ASTERISK-24620) ANSWEREDTIME channel variable read via AGI returns NULL result on an answered channel

Sylvester Kuisis (JIRA) noreply at issues.asterisk.org
Tue Mar 15 05:40:56 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvester Kuisis updated ASTERISK-24620:
----------------------------------------

    Attachment: debugextract.txt

Hi,

I see this has been dormant for quite some time. I've just run into this issue again, on version 13.7.2, using callfiles to initiate a call. I have attached an excerpt of my debug logs (a DumpChan from after hangup, as well as the VarSets for DIALEDTIME set to 11, where ANSWEREDTIME is set to 0).

The logs were created using a callfile in the following context:

{code}
[debug]
exten => _X.,1,Dial(SIP/SIP_PROVIDER/${EXTEN})
exten => _X.,n,Goto(debug,h,1)

exten => h,1,DumpChan()
exten => h,n,Hangup()
{code}

I have the full debug logs available if needed.

> ANSWEREDTIME channel variable read via AGI returns NULL result on an answered channel
> -------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-24620
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24620
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_dial
>    Affects Versions: 13.0.2
>         Environment: CentOS 6.5 64bit
>            Reporter: Sid Mason
>         Attachments: 2014-12-16 - full_debug.txt, debugextract.txt, debug.txt
>
>
> Below is the log of Asterisk Console during Callback request by 6012XXXXXXX
> a) when call SIP/sipprovider/6012XXXXXXX is connected
> b) Asterisk is dialing another sip channel SIP/ims_peer/60327XXXXXX
> c) call duriation on SIP/ims_peer/60327XXXXXX is 00:00:12
> d) GET VARIABLE ANSWEREDTIME report Wrong : 0
> e) GET VARIABLE DIALEDTIME report Wrong : 28 
> [Edit by Rusty - Remove inline debug - logs don't go in the description field. In the future, please use attachments for logs.]



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



More information about the asterisk-bugs mailing list