[Freeswitch-users] RTP reception before sending any RTP packet

Vallimamod Abdullah vma at vallimamod.org
Thu Apr 19 09:35:43 UTC 2018


Hi,

To my knowledge, it is the default beahviour for freeswitch to wait for incoming rtp from nated endpoints before starting to transmit.

You can explicitely force it with the profile param disable-rtp-auto-adjust=false.
You can also play with the channel variable rtp_auto_adjust_threshold which defines the number of rtp packets to wait for initially (default is 10 iirc)

Best Regards,
-- 
Vallimamod Abdullah
SIP Solutions
linkedin.com/in/vallimamod
.

> On 19 Apr 2018, at 10:31, Mickael Hubert <mickael at winlux.fr> wrote:
> 
> Hi list, 
> I'd like to know if there's a way to tell FS to wait for RTP reception before sending any RTP packet ? 
> We're facing a problem regarding early media with a PBX, NATed behind a dumb router : actually, if FS first sends RTP to the PBX, without waiting for RTP coming from the PBX, there's no audio. In some cases (related to the provider we use behind FS to establish call to the PSTN) FS isn't the 'first-shooter' of the RTP flow, and everything works fine, but when FS is the first to send RTP, it doesn't work... 
> Because we can't change anything at our providers configs, we'd like to know if FS can "delay" RTP sending until it receives some RTP from the calling party.
>  
> The schematic is following :
> PBX ===> FS ===> ...voice backbone... ===> Providers
> (FS is acting as an SBC)
>  
> Thanks for your help, 
> 




More information about the FreeSWITCH-users mailing list