<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,<br>
</p>
<p>I finally got to look at chan_sip to chan_pjsip migration again.
This time I’m having problems with influencing codec selection on
originating (calling) channel. It looks like PJSIP_MEDIA_OFFER
only works on outbound (called) channel and has no affect on
calling channel. My experiments and function documentation (which
says “Media and codec offerings to be set on an outbound SIP
channel prior to dialing.”) seem to confirm it.<br>
So PJSIP_MEDIA_OFFER is supposed to be (and it works) chan_pjsip’s
equivalent of ${SIP_CODEC_OUTBOUND}, but what is chan_pjsip’s
equivalent of ${SIP_CODEC_INBOUND}? Or, in other words, what are
we supposed to do to influence <em>calling</em> channel codec
selection from dialplan?<br>
I’m working with asterisk 20.3.0.<br>
</p>
<p>Thank you,<br>
Michael</p>
<div class="moz-signature"><br>
<span style="font-size:10pt"></span></div>
</body>
</html>