Skip to main content

passthru_ptime_mismatch

Created by Ryan Harris, last modified on 2018.02.07

passthru_ptime_mismatch‚Äč

boolean If ptime from leg A and leg B don't match and if mod_com_g729 is used, the call would normally use the codec to re-packetize the RTP stream.

With this parameter, mod_com_g729 will re-packetize without decoding/encoding, as mod_g729 would do.

Usage

This has to be set in {} before bridging. That will probably not work if set using export before bridging.

<action application="bridge" data="{passthru_ptime_mismatch=true}sofia/gateway/trunk/$1"/>

Globally in vars.xml

<X-PRE-PROCESS cmd="set" data="passthru_ptime_mismatch=true"/>