Variable absolute codec string

From FreeSWITCH Wiki
Jump to: navigation, search

absolute_codec_string

Sets the absolute codec string to use (nothing will be appended).


Usage:

<action application="set" data="absolute_codec_string=PCMU,GSM"/>
<action application="bridge" data="sofia/gateway/myprovider/5551231234"/>


Per-leg Dialstring: (commit note)

<action application="bridge" data=[leg_timeout=60,origination_caller_id_number=918039251,
absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/gateway1/${destination_number}|[leg_timeout=60,
absolute_codec_string=PCMA]sofia/gateway/gateway2/${destination_number}"/>

Global Dialstring:

<action application="bridge" data="{absolute_codec_string=PCMA}sofia/gateway/gateway2/${destination_number}"/>

See also:


Implemented By:

Module Name Source FileLast Revised
mod_opalmod_opal.cpp 10567
mod_sofiasofia_glue.c 12700
coreswitch_ivr_originate.c 12817