I develop IVR with AGI on Asterisk 13.
On a choice of the IVR, I need to generate an outgoing call with the dial command.
But I need also to obtain the ringing time of the outgoing call.
EXEC Dial SIP/mynumber@yyy,50
GET VARIABLE "DIALEDTIME"
GET VARIABLE "DIALSTATUS"
The DIALSTATUS is ok. I get ANSWER or BUSY.
But DIALEDTIME is incorrect. It’s the time of the actual call and not the outgoing call.
How can I get the ringing time of the outgoing call ?
Sorry for my poor english.