anchor.diff:        make menuselect.makeopts
         ${lib.optionalString (externals ? "addons/mp3") ''
           substituteInPlace menuselect.makeopts --replace 'format_mp3 ' ""
  +      ''}
  +      ${lib.optionalString withOpus ''
  +        substituteInPlace menuselect.makeopts --replace 'codec_opus_open_source ' ""
  +        substituteInPlace menuselect.makeopts --replace 'format_ogg_opus_open_source ' ""
         ''}
       '';
   
  
positive.code:       # This patch changes the runtime behavior to look for state
        # directories in /var rather than ${out}/var.
        ./runtime-vardirs.patch
      ];
  
      postPatch = ''
        echo "PJPROJECT_CONFIG_OPTS += --prefix=$out" >> third-party/pjproject/Makefile.rules
  
negative.code:       ${lib.optionalString (externals ? "addons/mp3") "bash contrib/scripts/get_mp3_source.sh || true"}
  
        chmod -w externals_cache
        ${lib.optionalString withOpus ''
          cp ${asterisk-opus}/include/asterisk/* ./include/asterisk
          cp ${asterisk-opus}/codecs/* ./codecs
          cp ${asterisk-opus}/formats/* ./formats
        ''}
        ./bootstrap.sh
      '';
  
      configureFlags = [
  