Asterisk 13 / PJSIP : __SIP_CODEC_OUTBOUND

Can anyone confirm if __SIP_CODEC_OUTBOUND works with asterisk 13 / PJSIP?

It doesn’t seem to work and I haven’t found any other ways of changing outbound codec.

Thanks,

That variable is not used by PJSIP. There is a dialplan function[1] which serves its purpose instead.

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Function_PJSIP_MEDIA_OFFER

1 Like

Thanks, took care of the issue.

Thanks!