Variable ep codec string

From FreeSWITCH Wiki
Jump to: navigation, search


ep_codec_string contains the "endpoint" codec string on the A leg. This codec list includes only the codecs that both the A leg and FreeSWITCH agree upon. This variable is set only when inbound-late-negotiation is enable on the SIP profile.
NOTE: When there is more than one codec in the list, the order of preference is chosen by FreeSWITCH, not by the A leg


<action application="bridge" data="{absolute_codec_string=${ep_codec_string}}sofia/foo/bar@baz"/>

See also:

Implemented By:

Module Name Source File Last Updated
Sofia mod_sofia.c