Those are really for dialplan IVR usage. It’s not for transcribing an active call. External media in ARI is better for real time, or doing it outside of Asterisk using post processing of a recording.
This probably should be mentionned in the documentation.
External media in ARI is better for real time
Do i need to give complete control of the call to the ari application? or can i send only the media while keeping the diaplan login? migrating all the dialplan logic to ari isn’t an option unfortunately.
or doing it outside of Asterisk using post processing of a recording
We already do that, the actual goal is to do the transcription in real time if possible
You can use the snoop functionality of ARI to send a copy of the media to the ARI application, where it can then be sent out via external media. The channel being snooped on does not need to be in ARI.
Sorry i’m not very familiar with ari. Do i have to pass the control of the call to the ari application using Stasis? Or i just call directly the rest endpoint for snooping the channel
Well, potentially both. You have to get the channel to the ARI application somehow - so you either do it outside of ARI, or call an ARI application using Stasis that does it. That’s up to you.