<div>Hi all,</div><br><div>i do have a customer request - who does want the AMD Application to inject a sound file on the channel to the called person.</div><br><div>For example:</div><div>Asterisk does dial (automatically) a number - something there does answer the call - so asterisk does start the AMD Application to discover for Answering machine. In this time for normal - the called person does hear nothing. My Customer does think that it would be great to be able to play some short music / announcement in this process - to get better results in the Answering machine detection (i don't think so - but hey - lets try).</div><br><div>So - is anyone here who has already done something like this ?</div><br><div>I've already tried to inject music with MusicOnHold - but this will inject the stream on both channels - so the AMD won't work. I assume i have to use some sort of ast_stream_file on the channel to the called person - but i think this function will block. I would need a ast_start_stream_file - and a ast_stop_stream_file function for this - is something like this available ?</div><br><div>br,</div><div>Wolfgang</div><br><div><signature id="initial"><div><table cellpadding="0" cellspacing="0"><tbody><tr><td colspan="2"><div style="padding-bottom:15px;"><div><strong>Wolfgang Pichler</strong></div></div></td></tr><tr><td style="vertical-align:top;"><img alt="" src="https://user-generated.getmailspring.com/asset/ZjJkNmE3OTktODdjNy00ZTE0LWE1MjYtMDQxNGM1MzZiYjY5L3NpZy1pbml0aWFsLnBuZw.png?t=1515150795505" style="max-width:200px;max-height:60px;"></td><td><div style="font-size:0.9em;white-space:nowrap;border-left:2px solid gray;margin-left:20px;padding-left:20px;"><div><div><span>E: </span><a href="mailto:wpichler@callino.at">wpichler@callino.at</a></div><div><span style="margin-right:8px;"><span>P: </span><a href="tel:+43 7236 263 263 22">+43 7236 263 263 22</a></span></div><div><span>A: </span><a href="https://maps.google.com/?q=Gutauerstr.%2042">Gutauerstr. 42</a></div><div><span>W: </span><a href="http://www.callino.at/">http://www.callino.at/</a></div><div></div></div></div></td></tr></tbody></table></div></signature></div>