After much trial and error issue is related to firewall settings. Opening ports 16384 - 32768 enabled silence detection to work as expected. 


On Thu, 23 Aug 2018 at 17:02, vidor via FreeSWITCH-users <freeswitch-users@lists.freeswitch.org> wrote:



---------- Forwarded message ----------
From: vidor <leevidor89@googlemail.com>
To: freeswitch-users@lists.freeswitch.org
Cc: 
Bcc: 
Date: Thu, 23 Aug 2018 08:17:35 -0700 (MST)
Subject: wait_for_silence not working through external gateway
I'm attempting to detect when there is silence on the call in order to play
audio file. If I dial to an internal extension the wait_for_silence and
detect_silence commands are working fine.

However if dial out through an external gateway to PSTN I don't get expected
results. Silence is always detected, even if there is voice speaking.
I can detect DTMF commands fine... 

Is there any known issue or parameter required on the gateway in order to
detect the audio / silence.

Thanks in advance!



--
Sent from: http://freeswitch-users.2379917.n2.nabble.com/




---------- Forwarded message ----------
From: vidor via FreeSWITCH-users <freeswitch-users@lists.freeswitch.org>
To: freeswitch-users@lists.freeswitch.org
Cc: 
Bcc: 
Date: Thu, 23 Aug 2018 09:02:48 -0700 (PDT)
Subject: [Freeswitch-users] wait_for_silence not working through external gateway
_________________________________________________________________________
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com