[Freeswitch-dev] Ability to cancel leg_timeout when using group_confirm from b-leg (fund)

Tom Parrott tomp at tomp.co.uk
Sat Jan 5 02:54:37 MSK 2013

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! :)


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cancel_leg_timeout.diff
Type: text/x-patch
Size: 1164 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130104/0408c34a/attachment.bin 

Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list