Q:

Astarisk Call File_Can wait or get response to start playback?

Channel: $number
Application: Playback
Data: $outputfilename

When callee answers the phone, s/he misses the first one or two words. So I would like to wait untill s/he gives any response like "hello?' or "alo" and then start playback. Is there anyway to make it done in the call file?
If there is not at least I would like to wait 1 or 2 seconds. Does wait(2) works here?

A:

Use
Channel: $number
Application: Playback
Data: beep&silence/2&$outputfilename

That way it will play beep, which probably will be not heared by human, but for sure will start rtp process. After that 2 second wait(silence file) which may be required for echocancel training or connection process. That way you message will go clear.

