[Asterisk-Users] codecs order and so on
Moises Silva
moises.silva at gmail.com
Tue Jan 10 14:50:41 MST 2006
Doing in the console "show translation" i can see that it seems not be
possible to translate from any to g729 codec, or from g729 to any. So,
let me try to find a reason for this.
When you have first allow=g729 (preferred codec)
all the calls to pstn providers work because the phones and asterisk
agree to use g729, so no codec translation is done.
all the calls to and from fxo fails because no translation can be made
from ULAW to g729, and from g729 (phones) to ulaw.
then asterisk is not smart enough to realize that can ask the phones
to use ulaw (i assume the phones support ulaw) to not use translation
to call the fxo???
When you have first allow=ulaw (prefered codec)
all the calls to and from fxo works because the prefered codec is
ulaw, then from fxo to phones using ulaw, no codec translation is made
all the calls to pstn providers fails, again, because it seems
asterisk gives preference to ulaw codec (the first list codec) so, the
phones use ulaw, and is not possible to translate ulaw to g729 and
viceversa??
im interested in knowing the reason too, any guidelines?
regards
On 1/10/06, Olivier Taylor <olivier.taylor at gmail.com> wrote:
>
> The problem :
>
> an asterisk box with 2 fxo
>
> First fxo just receive calls from pstn (ulaw)
> Second fxo receive and send call to mobile network thru a sipbox(ulaw)
> Calls to pstn are sent to a pstn provider accepting only g729
> Internal calls doesn't care of codecs
> All Uas have g729 (g729 is then pass-thru when needed)
> All Uas have ulaw(of course)
> If I have in [general]
> disallow=all
> allow=g729
> allow=ulaw
>
> In this case:
>
> all calls to pstn providers works
> all calls to and from fxo fails because of : No translator path exists for
> ....
>
> If I have in [general]
> disallow= all
> allow= ulaw
> allow= g729
>
> In this case:
>
> all calls to and from fxo works
> all calls to pstn providers fails because of : No translator path exists for
> ....
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
--
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
More information about the asterisk-users
mailing list