Hi
I would suggest
1. global per codec settings in codecs.conf
2. per peer/user codec profile like ObjM2 suggest
3. per codec VAD/CNG config, like codec=[priority],[codec],options, example
codec=10,g729,p40|vad
codec=20,gsm,p20|novad
----- Original Message -----
From: "ObjM2" <[EMAIL PROTECTED]>
To: "Developers Mailing List" <[email protected]>
Sent: Tuesday, May 29, 2007 4:42 PM
Subject: Re: [Callweaver-dev] SIP RTP packetization
>
> On May 26, 2007, at 1:10 PM, Franz Wu wrote:
>
>> In asterisk 1.4, it's possible to negotiate or manual configure codec
>> packetization time. For example,
>>
>> allow=g729:40
>> allow=alaw:60
>
> Whilst the ability to control packetisation may be desirable, the
> above syntax is not a good way to do this.
>
> In fact the allow/disallow (one per codec) syntax wasn't very good to
> begin with. It's upside-down. It should either be a list of codecs
> ie. "allow = ( g729, g711a, g711u )" and then the keyword would
> better be something like "codecs" or, if there are additional
> parameters for each codec, then the codec name should become the
> keyword followed by its parameters, ie. "g729 = { priority=10;
> packetisation=40 }" or "g729 = off" if it is off.
> _______________________________________________
> Callweaver-dev mailing list
> [email protected]
> http://lists.callweaver.org/mailman/listinfo/callweaver-dev
_______________________________________________
Callweaver-dev mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-dev