<div dir="ltr">Ok, Thanks Joshua.<div>I'll try and make it work.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 28 Aug 2019 at 17:17, 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:36 AM, Mohit Dhiman wrote:<br>
> Ok, now I am a little confused here because when Asterisk initiate a <br>
> SIP transaction (INVITE) <br>
> and it generates SDP, then without any prior knowledge how <br>
> ref_format_attr_xyz.c can set the <br>
> SDP parameters which were read by codec_opus.so from codecs.conf file.<br>
<br>
Ah yes, I forgot about that functionality. The way it works is that it constructs an fmtp string which is passed to the ast_format_parse_sdp_fmtp function, which creates the appropriate format. This is then cached. It also stores the configuration on the format itself for later retrieval if need be.<br>
<br>
If you are doing something similar and it isn't working then I'd suggest following the path of things and identifying where it goes wrong.<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>