<div dir="ltr"><div>Ok, now I am a little confused here because when Asterisk initiate a SIP transaction (INVITE) <br>and it generates SDP, then without any prior knowledge how <span style="font-family:monospace">ref_format_attr_xyz.c </span><font face="arial, sans-serif">can set the <br>SDP parameters which were read by </font><font face="monospace">codec_opus.so</font><font face="arial, sans-serif"> from </font><font face="monospace">codecs.conf</font><font face="arial, sans-serif"> file.</font></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 28 Aug 2019 at 16:55, Joshua C. Colp <<a href="mailto:jcolp@digium.com">jcolp@digium.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Aug 28, 2019, at 8:10 AM, Mohit Dhiman wrote:<br>
> Ok. <br>
> could it be related to the order in which modules get loaded in <br>
> asterisk?<br>
> also can you please suggest some way to pass this information somehow <br>
> from codec_xyz.c to ref_format_attr_xyz.c?<br>
> because I believe codec_opus.so does this sort of thing.<br>
<br>
The codec_opus module as provided by Sangoma does not do this. Attributes are created as part of the SDP negotiation using the defined format attribute API at negotiation time, nothing is created ahead of time. No module, to my knowledge, has created a cached format with attributes already present so the specific code flow may drop it somewhere.<br>
<br>
-- <br>
Joshua C. Colp<br>
Digium - A Sangoma Company | Senior Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
Check us out at: <a href="http://www.digium.com" rel="noreferrer" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" rel="noreferrer" target="_blank">www.asterisk.org</a><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></blockquote></div>