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@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@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@gmail.com> wrote:
Hi Wesley,

How about TALK/NOTALK events?

cheers,
Piotr
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
  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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
  Wesley Akio

  Travessa da Lapa 96 - Sala 24

  Centro – Curitiba – 80010-190

  :  +55 (41) 9950-0033 

  :  +1 (305) 842-7095 

  : wesley_akio_