search for: _pjsip_media_offer

Displaying 1 result from an estimated 1 matches for "_pjsip_media_offer".

Did you mean: pjsip_media_offer
2020 Sep 25
0
PJSIP - Forcing codec preference?
...y only offer the codec we negotiated for the first leg of the call. If for example we have chan_iax2 incoming that we wish to send out via pjsip. With chan_sip, this works: exten => s,n,Set(_SIP_CODEC_OUTBOUND=${CHANNEL(audioreadformat)}) With pjsip, this gives an error: exten => s,n,Set(_PJSIP_MEDIA_OFFER(audio)=!all,${CHANNEL(audioreadformat)}) Error: ERROR[26925][C-00020b9c] pbx_functions.c: Function _PJSIP_MEDIA_OFFER not registered I'd image things haven't changed since 2018 where this appears to have been discussed in the following thread: Re: Pjsip migration - SIP_CODEC and SIP_C...