<HTML>
<HEAD>
<TITLE>Re: [OpenSIPS-Users] codec manipulation feature</TITLE>
</HEAD>
<BODY>
<FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'>Hi Bogdan,<BR>
<BR>
It&#8217;s been a little while since we talked about this. &nbsp;I was wondering if there was anything in the works to detect and/or manipulate the codecs present in an SDP.<BR>
<BR>
<BR>
<BR>
- Jeff<BR>
<BR>
<BR>
<BR>
On 2/1/09 4:08 AM, &quot;Steve Kurzeja&quot; &lt;<a href="steve.kurzeja@gmail.com">steve.kurzeja@gmail.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'>This idea is quite standard in SBCs, typically called codec profiles, where you permit only certain codecs to be passed through the SBC in an INVITE and all the rest are stripped out.<BR>
<BR>
We use it to get around interop issues with certain codecs. E.g. we have some end devices/customers that have issues using g729a so we choose to remove this codec for these specific endpoints.<BR>
<BR>
The poor man's method to implementing this is just doing header manipulations in the SDP but it would be nice to be standardized.<BR>
<BR>
Regards,<BR>
Steve<BR>
<BR>
<BR>
On Fri, Jan 30, 2009 at 2:20 AM, Jeff Pyle &lt;<a href="jpyle@fidelityvoice.com">jpyle@fidelityvoice.com</a>&gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'>Hi Bogdan,<BR>
<BR>
I'm looking for the ability to selectively remove codec advertisements from<BR>
the SDP. &nbsp;For example, if my customer sends a call to me for PSTN<BR>
termination he may advertise G711 and G729, with G711 preferred. &nbsp;By looking<BR>
at the number of existing dialogs I may know that he's running low on<BR>
bandwidth, so I would like to suppress the G711 advertisement ultimately<BR>
causing a 200 OK from the carrier with G729.<BR>
<BR>
Generically, in this application we're looking only to suppress G711 at<BR>
certain times.<BR>
<BR>
I understand normally codec selection is done completely by the gateway<BR>
device. &nbsp;However, my gateway devices aren't smart enough to take bandwidth<BR>
utilization into consideration when choosing which codecs to advertise. &nbsp;I'm<BR>
hoping my proxy might be. &nbsp;:)<BR>
<BR>
Does that make sense?<BR>
<FONT COLOR="#888888"><BR>
<BR>
<BR>
- Jeff<BR>
</FONT><BR>
<BR>
<BR>
On 1/29/09 5:04 AM, &quot;Bogdan-Andrei Iancu&quot; &lt;<a href="bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt; wrote:<BR>
<BR>
&gt; Hi Jeff,<BR>
&gt;<BR>
&gt; right now there is only available some functionality to check the codecs<BR>
&gt; (to see what codecs are advertised in the SDP)... What exactly are you<BR>
&gt; looking for (like codec ops) ?<BR>
&gt;<BR>
&gt; Regards,<BR>
&gt; Bogdan<BR>
&gt;<BR>
&gt; Jeff Pyle wrote:<BR>
&gt;&gt; Bogdan,<BR>
&gt;&gt;<BR>
&gt;&gt; Some months back you mentioned an upcoming feature that would allow<BR>
&gt;&gt; Opensips to manipulate the codecs present in the SDP. &nbsp;Just wondering<BR>
&gt;&gt; if there is anything available to test yet. &nbsp;This feature, in<BR>
&gt;&gt; combination with dialog contexts, will be of great use to us to allow<BR>
&gt;&gt; us to take a guess at the bandwidth consumption for a particular<BR>
&gt;&gt; customer and force the use of a compressed codec if necessary.<BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt; Thanks,<BR>
&gt;&gt; Jeff<BR>
&gt;<BR>
<BR>
<BR>
_______________________________________________<BR>
Users mailing list<BR>
<a href="Users@lists.opensips.org">Users@lists.opensips.org</a><BR>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>