[Freeswitch-dev] Ability to cancel leg_timeout when using group_confirm from b-leg (fund)
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
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
Hi All, Is there anybody out there willing to supply feedback to my patch? I would love to start contributing to Freeswitch, but am finding it hard going to get any interaction with the project. I have opened an improvement issue in Jira with a patch. http://jira.freeswitch.org/browse/FS-4955 But it seems to have fallen by the way side. I realise that the core devs are very busy, I tried to make it as easy to assess by following the instructions on the wiki for creating a git patch. Just wondering if anybody else has had any luck getting patches assessed/merged, and how long the average wait is...maybe I am being impatient. Thanks Tom On 01/04/2013 11:54 PM, Tom Parrott wrote:
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
participants (1)
-
Tom Parrott