Answer the question
In order to leave comments, you need to log in
How to pass filename to AMI Asterisk?
Welcome all!
There is an Asterisk server with which I communicate through AMI.
And the task is to somehow get the file name after recording the conversation with MixMonitor.
The problem is that depending on the dialplan, I have different name formats.
If anyone knows how to receive an event from MixMonitor, or at least how to pass the value of a variable through AMI, I will be very grateful.
Answer the question
In order to leave comments, you need to log in
I found a solution: I found that the MONITOR_FILENAME variable is set to the file name and the SetVar event is generated, from where, in fact, I take everything I need.
Thanks to all!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question