iPhone (AMR) to PSTN (G.711) silent call issue - dropped
Hi experts. I am using FS for transcoding a call between an iPhone (AMR codec used) to a Cisco 880 Voice simulating PSTN (a legacy phone is connected here). A call is initiated by iPhone and terminated to the fixed phone; if the B side is silent (VAD enabled), the Cisco 880 stops sending RTP towards FS and, then, FS to iPhone. After 10sec not receiving RTPs, iPhone drops the call with "Reason: SIP;cause=200;text="RTP Timeout" ". I tried several options to make the FS not stopping sending RTPs towards iPhone or any other possibility to avoid this issue, but I was not able to get a workaround. Any idea? Br. Stefano
Did you try to disable VAD? On Wed, Feb 27, 2019, 6:02 PM Stefano Bertuola <stefano.bertuola@gmail.com> wrote:
Hi experts.
I am using FS for transcoding a call between an iPhone (AMR codec used) to a Cisco 880 Voice simulating PSTN (a legacy phone is connected here).
A call is initiated by iPhone and terminated to the fixed phone; if the B side is silent (VAD enabled), the Cisco 880 stops sending RTP towards FS and, then, FS to iPhone.
After 10sec not receiving RTPs, iPhone drops the call with "Reason: SIP;cause=200;text="RTP Timeout" ".
I tried several options to make the FS not stopping sending RTPs towards iPhone or any other possibility to avoid this issue, but I was not able to get a workaround.
Any idea?
Br. Stefano
_________________________________________________________________________ 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
About VAD the documentation is not really clear. I tried to place in dialplan following lines, but I am not really sure if they are correct: <action application="set" data="bridge_generate_comfort_noise=true"/> <action application="set" data="rtp_disable_vad_in=true"/> <action application="set" data="rtp_disable_vad_out=true"/>
Hope this helps : VAD in FreeSWITCH VAD can be set in endpoint profiles and can have 4 values: - in - turn on VAD for incoming media, - out - turn on VAD for outgoing media, - both - turn on VAD for both incoming and outgoing media, - none - VAD is completely turned off. On Wed, Feb 27, 2019, 6:55 PM Stefano Bertuola <stefano.bertuola@gmail.com> wrote:
About VAD the documentation is not really clear.
I tried to place in dialplan following lines, but I am not really sure if they are correct:
<action application="set" data="bridge_generate_comfort_noise=true"/> <action application="set" data="rtp_disable_vad_in=true"/> <action application="set" data="rtp_disable_vad_out=true"/>
_________________________________________________________________________ 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
Hi Stefano, You will need probably this: https://freeswitch.org/confluence/display/FREESWITCH/bridge_generate_comfort... http://lists.freeswitch.org/pipermail/freeswitch-users/2017-December/128510.... Cheers, Dragos On Wed, Feb 27, 2019 at 5:56 PM Vlad Toma <vldtoma@gmail.com> wrote:
Hope this helps : VAD in FreeSWITCH
VAD can be set in endpoint profiles and can have 4 values:
- in - turn on VAD for incoming media, - out - turn on VAD for outgoing media, - both - turn on VAD for both incoming and outgoing media, - none - VAD is completely turned off.
On Wed, Feb 27, 2019, 6:55 PM Stefano Bertuola <stefano.bertuola@gmail.com> wrote:
About VAD the documentation is not really clear.
I tried to place in dialplan following lines, but I am not really sure if they are correct:
<action application="set" data="bridge_generate_comfort_noise=true"/> <action application="set" data="rtp_disable_vad_in=true"/> <action application="set" data="rtp_disable_vad_out=true"/>
_________________________________________________________________________ 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
_________________________________________________________________________ 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
and, if you are recording: https://freeswitch.org/confluence/display/FREESWITCH/record_waste_resources On Wed, Feb 27, 2019 at 9:01 PM Dragos Oancea <dragos@freeswitch.org> wrote:
Hi Stefano,
You will need probably this:
https://freeswitch.org/confluence/display/FREESWITCH/bridge_generate_comfort...
http://lists.freeswitch.org/pipermail/freeswitch-users/2017-December/128510....
Cheers, Dragos
On Wed, Feb 27, 2019 at 5:56 PM Vlad Toma <vldtoma@gmail.com> wrote:
Hope this helps : VAD in FreeSWITCH
VAD can be set in endpoint profiles and can have 4 values:
- in - turn on VAD for incoming media, - out - turn on VAD for outgoing media, - both - turn on VAD for both incoming and outgoing media, - none - VAD is completely turned off.
On Wed, Feb 27, 2019, 6:55 PM Stefano Bertuola < stefano.bertuola@gmail.com> wrote:
About VAD the documentation is not really clear.
I tried to place in dialplan following lines, but I am not really sure if they are correct:
<action application="set" data="bridge_generate_comfort_noise=true"/> <action application="set" data="rtp_disable_vad_in=true"/> <action application="set" data="rtp_disable_vad_out=true"/>
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
-- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18
I tried most of the combinations of below settings, but the result the same: when the RTP stops to be received from Cisco Gateway, also it is stopped towards iPhone. Maybe I am missing the right combinations of parameters? <action application="set" data="bridge_generate_comfort_noise=true"/> <!-- <action application="set" data="rtp_disable_vad_in=true"/> <action application="set" data="rtp_disable_vad_out=true"/> --> <action application="set" data="record_waste_resources=true"/> <action application="set" data="rtp_enable_vad_in=false"/> <action application="set" data="rtp_enable_vad_out=false"/>
Stefano, this could be a bug. Please open a jira and attach a pcap trace: https://freeswitch.org/confluence/display/FREESWITCH/Reporting+Bugs+to+JIRA On Thu, Feb 28, 2019 at 10:47 AM Stefano Bertuola < stefano.bertuola@gmail.com> wrote:
I tried most of the combinations of below settings, but the result the same: when the RTP stops to be received from Cisco Gateway, also it is stopped towards iPhone.
Maybe I am missing the right combinations of parameters?
<action application="set" data="bridge_generate_comfort_noise=true"/> <!-- <action application="set" data="rtp_disable_vad_in=true"/> <action application="set" data="rtp_disable_vad_out=true"/> --> <action application="set" data="record_waste_resources=true"/> <action application="set" data="rtp_enable_vad_in=false"/> <action application="set" data="rtp_enable_vad_out=false"/>
_________________________________________________________________________ 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
participants (4)
-
Dragos Oancea
-
Giovanni Maruzzelli
-
Stefano Bertuola
-
Vlad Toma