Play sound on an active channel VIA CLI?


I’m trying to force the playing of a sound file on an active DAHDI channel (in this case the channel is connected to a meetme conference).

I need to play the file via a CLI or AJAM command…

Any advise?

Take a look on ChanSpy.
When I want to play something to live call - I creating call file where dial extension like:
exten => 9999,1,ChanSpy(${TARGETCHAN}|qw)
where TARGETCHAN is desired channel, and then connect to other extension with AGI where I play what I want to play.