[Freeswitch-users] Audio energy detection on a given channel

Wesley Akio wesleyakio at tuntscorp.com
Wed Apr 12 01:48:08 MSD 2017


The scenario is to detect hangup from the PSTN side, it sometimes takes up
to 90 seconds for the call to drop and during that time we continue to
receive RTP frames so rtp_timeout wont work.

I'm looking into VAD as suggested by Piotr but that looks like a CPU
concern so far. We get user indication that the call is mute so activating
VAD mid call instead of having it for all calls would be the perfect
solution.

I'm preparing a scenario to test the TALK/NOTALK events to see how it goes.

Wes

On Tue, Apr 11, 2017 at 6:32 PM Guillermo Ruiz Camauer <grcamauer at gmail.com>
wrote:

> You might find rtp_timeout useful if you are trying to detect that a user
> hung up.
>
> Guillermo
>
> On Tue, Apr 11, 2017 at 6:27 PM, Wesley Akio <wesleyakio at tuntscorp.com>
> wrote:
>
> Thanks for pointing me there Piotr, I was not aware of this feature.
>
> I think this could work for my use case, I'll play with it and let you
> know how it goes.
>
> Cheers
> Wes
>
> On Tue, Apr 11, 2017 at 6:12 PM Piotr Gregor <piotrek.gregor at gmail.com>
> wrote:
>
> Hi Wesley,
>
> How about TALK/NOTALK events?
>
> cheers,
> Piotr
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
> --
> <http://www.tuntscorp.com/>
>   *Wesley Akio*
>
>   Travessa da Lapa 96 - Sala 24
>
>   Centro – Curitiba – 80010-190
>
>   :  +55 (41) 9950-0033
>
>   :  +1 (305) 842-7095
>
>   : wesley_akio_
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
> --
> Guillermo Ruiz Camauer
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-- 
<http://www.tuntscorp.com/>
  *Wesley Akio*

  Travessa da Lapa 96 - Sala 24

  Centro – Curitiba – 80010-190

  :  +55 (41) 9950-0033

  :  +1 (305) 842-7095

  : wesley_akio_
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170411/69317e9f/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list