Variable switch r sdp

From FreeSWITCH Wiki
Jump to: navigation, search

switch_r_sdp

Read only. This variable holds the remote SDP for the current leg/channel.


Usage:

Rewriting SDP:

<action application="set"><![CDATA[switch_r_sdp=(sdp here)
]]>
</action>

note: Don't add a carriage return after "set"> or you'll end up writing a variable with a different name, leaving switch_r_sdp with the same value.


See also:

Implemented By:

  • Known as SWITCH_R_SDP_VARIABLE in source code
Module Name Source FileLast Revised
mod_sofiamod_sofia.c 8542
mod_sofiasofia.c 9591
coreswitch_core_session.c 4796