<p dir="ltr">oh that figures. i am working on ast12 and never bothered trying 13. i'm playing around with opus and so frustrated that it does not adapt to the incoming sdp. even if after parse_sdp, it just resets everything on generate_sdp. i'll try 13 later, thanks for the tip</p>
<div class="gmail_quote">On Jun 26, 2015 5:30 PM, "Alexander Traud" <<a href="mailto:pabstraud@compuserve.com">pabstraud@compuserve.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> If I receive an INVITE with fmtp from a peer, it won't be used to build the<br>
> INVITE to the egress right?<br>
<br>
With Asterisk 13/chan_sip, it is possible to copy over the fmtp - even 1:1 -<br>
I do this here with AMR-WB. I created a res/res_format_attr_ and adopted<br>
format_parse_sdp_fmtp/format_generate_sdp_fmtp, just like the Opus sample.<br>
Thanks to Asterisk 13, the selected codec of the ingress gets the first<br>
priority for the egress.<br>
<br>
> Is there any function [to] act like a proxy?<br>
<br>
Mhm. I was not able to do that because here, Asterisk removed unknown codecs<br>
and adds its allowed ones after the one selected for the ingress. So the<br>
lines m=, a/v/t=, and their order are going to be different. But as stated,<br>
copying over (one!) fmtp per format is possible. By the way, which<br>
codec/format are you about?<br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</blockquote></div>