Hi All, I have had a stab at fixing this myself. Attached is the diff, as I am a novice C programmer I would appreciate any feedback you have. It does seem to work well though! :) Thanks Tom On 01/03/2013 01:40 PM, Tom Parrott wrote:
Hi,
The company I work for would like to sponsor the development of a feature to be able to cancel the leg_timeout during a bridge from a lua script that is run on the b-leg as part of the group_confirm functions.
I have opened an improvement request here:
http://jira.freeswitch.org/browse/FS-4955
The reason we would like this feature is so that we can provide a "press 1 to accept" feature to our callees, and when they press 1 proceed to play a series of call announcements to them.
The caller should continue to hear ring tones until the announcements are finished, however the leg_timeout should be cancelled from the lua script, maybe by setting a channel variable, e.g. cancel_timeout = 1
Thanks Tom Parrott