[asterisk-users] Get variable "ANSWEREDTIME" using ARI
Jöran Vinzens
vinzens at sipgate.de
Fri May 3 02:05:07 CDT 2019
Hi all,
i am using ARI in order to control my calls and i try to use the
answeredtime generated by Asterisk.
I had two different ways to get to these variable:
1. add ANSWEREDTIME to the channelsvars in ari.conf.
- unsuccessful since the variable is empty all the time. I hoped the
StasisEnd contains the correct value.
2. query the variable using REST.
- unsuccessful as well. After the Call is hung Up Stasis looses the
context of the call and i get back an 404. While the call is running i get
204 but since the call is still running this makes no sense.
Has anybody an idea how to get this variable using REST API?
any hint or solution would be very much appreciated!
--
Jöran Vinzens - vinzens at sipgate.de
Telefon: +49 211-63 55 56-21
Telefax: +49 211-63 55 55-22
sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
Steuernummer: 106/5724/7147, Umsatzsteuer-ID: DE219349391
www.sipgate.de - www.sipgate.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190503/04ab2001/attachment.html>
More information about the asterisk-users
mailing list