[asterisk-dev] Clarification on packetization feature

Dan Austin Dan_Austin at Phoenix.com
Mon Sep 18 19:14:54 MST 2006


I see that Mogorman has merged the packetization patch to trunk.
The svn commit comment is a little confusing, as there already is
a way to configure the local preference instead of reacting to the
remote endpoints request.

In chan_sip, chan_skinny and chan_ooh323 the ability to set per
codec packetization is in the allow= directive
(user/peer/friend/global):

allow=ulaw:30,g729:40,alaw

Will set ulaw to 30ms, G729 to 40ms and alaw to the default of 20ms

The default behaviour is to use the locally configured preferences
for all three channel drivers.  Only in chan_sip is it optional to
also honor an endpoint request for a different packetization(ptime:).

So the work is a little more complete than the commit comment implies,
but perhaps under documented.  I suppose a follow-up patch the adds
appropriate entries to the sample configs and something for the doc 
directory would be a good idea.  I'll get something posted tomorrow
if no one beats me to it.

Dan


More information about the asterisk-dev mailing list