[Freeswitch-dev] How to delay playback during an originate call?

Paul Li plite2012 at gmail.com
Fri Jan 22 10:23:27 PST 2010


I really need some help/advice on how to delay playback during the
following originate calls:

$ originate {ignore_early_media=true}sofia/gateway/name/number
&playback(message.wav)

$ originate sofia/example/1000 at somewhere.com &javascript(test.js)

I am hoping playback of message.wav or application (calling test.js)
is invoked only after the call is established (connected).

Is it possible to add some flag or channel variable, like
media_bug_answer_req, to delay playback or call the JavaScript, Lua
script, etc.?



More information about the FreeSWITCH-dev mailing list