Hi,
Does anyone know if its possible to restrict the codecs in mediaproxy. ie. to force only lower bandwidth codecs to reduce the load. I couldnt find any info on this on the search engines.
Thanks. Vikash.
Vikash Khatuwala wrote:
Does anyone know if its possible to restrict the codecs in mediaproxy. ie. to force only lower bandwidth codecs to reduce the load. I couldnt find any info on this on the search engines.
No, mediaproxy and rtpproxy only relay the packets.
But as a cruel quick hack you could theoretically use search() from textops module for INVITEs and reply with 488 if you only find high-bandwidth-codecs in the SDP body. Just an idea...
Andy
Andreas Granig writes:
But as a cruel quick hack you could theoretically use search() from textops module for INVITEs and reply with 488 if you only find high-bandwidth-codecs in the SDP body. Just an idea...
or if there are both, remove high bandwidth ones from sdp of invite so that they are not offered for negotiation. usually, however, g711 is used as a fallback and if you remove that, call may not succeed at all.
-- juha
Thanks guys.
I understand this conceptually, but since Im new to both SIP and SER so it will probably take me a while to get it working. Will post results.
At 02:38 14-09-2005, Juha Heinanen wrote:
Andreas Granig writes:
But as a cruel quick hack you could theoretically use search() from textops module for INVITEs and reply with 488 if you only find high-bandwidth-codecs in the SDP body. Just an idea...
or if there are both, remove high bandwidth ones from sdp of invite so that they are not offered for negotiation. usually, however, g711 is used as a fallback and if you remove that, call may not succeed at all.
-- juha