You can’t easily simultaneously use AEAP and also do this. Trying to do that is going beyond what it was intended to do and what the dialplan functionality for it was intended to do. I’m a broken record, but external media in ARI provides a bidirectional realtime RTP stream that you can do whatever you want with. Stream audio out of Asterisk, stream audio in, attach it to a snoop channel and do live transcription, stick a caller and the external media channel in a bridge and do some kind of conversational thing, up to you. When the external media channel is created, the target for RTP for the ARI application is provided.