[asterisk-app-dev] Asterisk AMD Application
Sotiris Gkanouris
topgan1 at gmail.com
Mon Mar 26 02:55:38 CDT 2018
Hello Wolfgang,
The thing about playing something during the AMD is that it would “interfere" with the response of the called person. If there is a human in the other line it would listen to the media while not speaking thus resulting to wrong decisions from the AMD.
To answer your question, as far as I know it’s not possible to play a media file during the AMD though.
Sotiris
> On 26 Mar 2018, at 09:18, Wolfgang Pichler <wpichler at callino.at> wrote:
>
> Hi all,
>
> i do have a customer request - who does want the AMD Application to inject a sound file on the channel to the called person.
>
> For example:
> 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).
>
> So - is anyone here who has already done something like this ?
>
> 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 ?
>
> br,
> Wolfgang
>
> Wolfgang Pichler
>
> E: wpichler at callino.at <mailto:wpichler at callino.at>
> P: +43 7236 263 263 22 <tel:+43 7236 263 263 22>
> A: Gutauerstr. 42 <https://maps.google.com/?q=Gutauerstr.%2042>
> W: http://www.callino.at/ <http://www.callino.at/>
> _______________________________________________
> asterisk-app-dev mailing list
> asterisk-app-dev at lists.digium.com
> http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20180326/e896e72b/attachment.html>
More information about the asterisk-app-dev
mailing list