<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<blockquote
cite="mid:CAGExVftucOe68A=FH3grV8F67oudwrYhur2O1jPF5PJ3azdWUw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote"><br>
<span class=""><font color="#888888"></font></span>
<div>You are correct. Your idea of the
prioritize_matching_codecs option is what I am looking
for. Yes Asterisk can transcode, but why transcode when
you don't need to. If the phone is advertising both
formats it should support them. If the phone only supports
local MOH in one format then the phone should only
advertise that format.<br>
</div>
</div>
</div>
</div>
</blockquote>
But things may change during a call or you are stuck with whatever
the phone uses for its MOH, which only some people use.<br>
<blockquote
cite="mid:CAGExVftucOe68A=FH3grV8F67oudwrYhur2O1jPF5PJ3azdWUw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>
<br>
</div>
<div>If Answer and Playback are called first then the format
would have already been sent back in the 200 OK and
Asterisk would transcode when Dial is called. If Dial is
called first, change the format for the 200 OK and use it
for the rest of the call. I haven't looked into what
happens with transfers.<br>
</div>
</div>
</div>
</div>
</blockquote>
A lot. You need to consider SIP INVITEs as well as Asterisk features
(DTMF signals). Some time ago I had a problem with a codec mismatch
when only Local channels (Asterisk features uses them) appeared to
be involved.<br>
<blockquote
cite="mid:CAGExVftucOe68A=FH3grV8F67oudwrYhur2O1jPF5PJ3azdWUw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>
<br>
</div>
<div>The idea comes from the following setup. I have 450
users on a FreePBX / Asterisk server with a Sangoma
transcoding card. However I am limited in the number of
sessions. I also have a number of smaller 10-50 user
deployments without transcoding cards.<br>
</div>
</div>
</div>
</div>
</blockquote>
Is it possible to let the Sangoma card work only on the most
demanding codecs? This requires some analysis to estimate the
benefits. Another question is whether the user phones are
provisioned or not. If provisioned, then you are the maker of rules.<br>
<br>
jg<br>
</body>
</html>