Variable passthru ptime mismatch

From FreeSWITCH Wiki
Jump to: navigation, search

passthru_ptime_mismatch

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"/>

Note: It may also be set globally in vars.xml.


See also:


Implemented By:

Module Name Source FileLast Revised
coreswitch_channel.c e7cafae29d0720f06280255a55cc94548e7e12a4
coreswitch_core_io.c e7cafae29d0720f06280255a55cc94548e7e12a4