Hangup a call with silence
I have a provider that doesn't send the bye when the b-leb hangup the call and the call is active until a-leg hangup. Sometime happens that the a-leg forget to hangup and the call remain active. There is a way to auto disconnect the call where there is, for example, 30s of silence? Stephen
The "rtp-timeout-sec" works fine when there is no RTP at all. I want to hangup a call when there are RTP packets but with silence (energy based). Any way to do so? Stephen On Fri, Mar 25, 2011 at 11:37 PM, Frank Rosengart <frank@rosengart.de>wrote:
On 03/25/2011 11:14 PM, Stephen Wilde wrote:
There is a way to auto disconnect the call where there is, for example, 30s of silence?
What about <param name="rtp-timeout-sec" value="30"/> in your sofia profile?
Frank
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Apologies for the late follow up. I don't see any apps that will be triggered on silence detect. What is the problem you are trying to solve? -MC On Wed, Apr 13, 2011 at 8:34 AM, Stephen Wilde <wstephen80@gmail.com> wrote:
The "rtp-timeout-sec" works fine when there is no RTP at all. I want to hangup a call when there are RTP packets but with silence (energy based). Any way to do so?
Stephen
On Fri, Mar 25, 2011 at 11:37 PM, Frank Rosengart <frank@rosengart.de>wrote:
On 03/25/2011 11:14 PM, Stephen Wilde wrote:
There is a way to auto disconnect the call where there is, for example, 30s of silence?
What about <param name="rtp-timeout-sec" value="30"/> in your sofia profile?
Frank
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
The problem is related to a provider that sometimes, when legB hangup the call, doesn't propagate the disconnection and the call is active until legA hangup. If I can activate a silence detection, I can force the call dropping after x seconds of silence. Stephen On Thu, Apr 21, 2011 at 9:21 PM, Michael Collins <msc@freeswitch.org> wrote:
Apologies for the late follow up. I don't see any apps that will be triggered on silence detect. What is the problem you are trying to solve? -MC
On Wed, Apr 13, 2011 at 8:34 AM, Stephen Wilde <wstephen80@gmail.com>wrote:
The "rtp-timeout-sec" works fine when there is no RTP at all. I want to hangup a call when there are RTP packets but with silence (energy based). Any way to do so?
Stephen
On Fri, Mar 25, 2011 at 11:37 PM, Frank Rosengart <frank@rosengart.de>wrote:
On 03/25/2011 11:14 PM, Stephen Wilde wrote:
There is a way to auto disconnect the call where there is, for example, 30s of silence?
What about <param name="rtp-timeout-sec" value="30"/> in your sofia profile?
Frank
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Thu, Apr 21, 2011 at 1:13 PM, Stephen Wilde <wstephen80@gmail.com> wrote:
The problem is related to a provider that sometimes, when legB hangup the call, doesn't propagate the disconnection and the call is active until legA hangup. If I can activate a silence detection, I can force the call dropping after x seconds of silence.
What about the case when there is legitimately silence on the line, like when you get put on hold with no hold music or something like that? I'm just wondering if there's a better solution. The important question is: *why* doesn't the provider propagate a hangup? That sounds like a serious bug on their part and a failure to provide agreed upon services. -MC
I use this provider for calls to mobile phones: the hold has a sound and I can also accept that the call in hold is dropped. My idea is that this provider doesn't propagate the hangup (sometimes) simply to increase the number of seconds I pay. Stephen On Thu, Apr 21, 2011 at 11:01 PM, Michael Collins <msc@freeswitch.org>wrote:
On Thu, Apr 21, 2011 at 1:13 PM, Stephen Wilde <wstephen80@gmail.com>wrote:
The problem is related to a provider that sometimes, when legB hangup the call, doesn't propagate the disconnection and the call is active until legA hangup. If I can activate a silence detection, I can force the call dropping after x seconds of silence.
What about the case when there is legitimately silence on the line, like when you get put on hold with no hold music or something like that? I'm just wondering if there's a better solution. The important question is: *why* doesn't the provider propagate a hangup? That sounds like a serious bug on their part and a failure to provide agreed upon services. -MC
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Thu, Apr 21, 2011 at 2:28 PM, Stephen Wilde <wstephen80@gmail.com> wrote:
I use this provider for calls to mobile phones: the hold has a sound and I can also accept that the call in hold is dropped. My idea is that this provider doesn't propagate the hangup (sometimes) simply to increase the number of seconds I pay.
In other words, douchebaggery is afoot in the network. :) I don't believe we have anything for this in tree right now but I think one of our more talented programmers could create the equivalent of tone_detect except make it a silence_detect. We have all the pieces in the source code now (how to detect silence, how to put a media bug on a channel, how to execute an app when the xxx_detect conditions are met) so it's a matter of someone taking the time to put them together and test them. Any takers? :) -MC
participants (3)
-
Frank Rosengart
-
Michael Collins
-
Stephen Wilde