[Freeswitch-users] What is the difference between preAnswer and ring_ready?

Max Bridgewater max.bridgewater at gmail.com
Sat Aug 29 18:30:10 PDT 2009


Hi,
Assuming an inbound call, I have trouble understanding what the supposed
difference between the following two set of instructions is:

session.execute("ring_ready");
session.set("set", "ringback=/home/ring.wav");

and

session.preAnswer();
session.streamFile("/home/ring.wav")

In practice, however, the first scenario doesn't work for me although the
example here suggests otherwise:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_ring_ready
Any idea?

Thanks,
Max.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090829/b5594dda/attachment-0002.html 


More information about the FreeSWITCH-users mailing list