<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <tt>Hi,<br>
      <br>
      See the codec checking related functions here ->
<a class="moz-txt-link-freetext" href="https://opensips.org/html/docs/modules/2.4.x/sipmsgops.html#func_codec_exists">https://opensips.org/html/docs/modules/2.4.x/sipmsgops.html#func_codec_exists</a><br>
      <br>
      Regards,</tt><br>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2020 online
  <a class="moz-txt-link-freetext" href="https://opensips.org/training/OpenSIPS_eBootcamp_2020/">https://opensips.org/training/OpenSIPS_eBootcamp_2020/</a></pre>
    <div class="moz-cite-prefix">On 1/7/21 6:33 PM, solarmon wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOXfywPk9nuLJKOHOvHVJ-Un6126B__8LBxEj2MAzmUkizZAcQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi,<br>
        <div><br>
        </div>
        <div>On opensips 2.4.x how would I best check what codec is
          being offered, and reject the call if it ONLY offers a codec
          that is not supported by us. For example, if we only want to
          support G.711 PCMA/PCMU.</div>
        <div><br>
        </div>
        <div>Thank you.</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>