if you have allow=g729,ulaw and you want to use g729 but the current
channel is ulaw it will pick ulaw over g729 because it wants to
escape doing any transcoding if possible.
The best way to do this is setup different peers with different allow
lines to force the outbound leg to the codec you wish.
/b
On Oct 10, 2007, at 11:02 AM, Marc LEURENT wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have license for g729a audio codecs and I would like user to use
> them and when the limit of 10 is reached, I would like the others
> to use ulaw...
> Do youu know how to do it...
> I have put:
> allow=g729,ulaw
> disallow=all
>
> But ulaw is always chosen....
>
> Have a nice day
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHDPePqjpLE0HiOBYRAvSWAJ9Z7gJMDuTw9EcL5of35SmF1slwIwCeM8n/
> MfjqNU/3gkdLwKqo1tN5yV8> =3oU/
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users