[asterisk-dev] RTP Packetization (bugid 5162)

Dan Austin Dan_Austin at Phoenix.com
Fri Sep 1 13:32:41 MST 2006


----- Dan Austin <Dan_Austin at Phoenix.com> wrote:
>> I've been looking at the remaining RTP-based channel drivers to
>> see if they could be made to leverage this functionality (easily).

<snip>
 
>> I'd be happy to make a pass at a patch to address these issues
>> but I will not be able to test the results.  If any of the 
>> developers familiar with these channels are interested and can
>> spare the cycles to test the results, please let me know
 
Jason worte:
> If you were to provide a (disclaimed) patch for skinny, I could 
> test it with a couple devices.  It looks like the protocol does 
> allow different packet sizes, but I guess there is only one way to
> find out, right?

> As a starting point, you'll probably want to have a good look at 
> the packetSize var in the start_media_transmission_message struct.
> Try not to hardcode it to ulaw too much - I intend on giving that 
> part of the code an overhaul someday soon. ;)

The first pass is done.  It is moderately hardcoded, by that I
mean that I implimented device and line level codec preferences,
but limited the scope of the code that reacts to the preferences
to element [0].  Once codec support is expanded, a small lookup
function to determing which 'prefered' codec was selected and
set the framing for it.

The patch is on Mantis under bugid 7866.

Unrelated to the patch is an issue with SCCP version 8.0(1) on
my test phone that prevents the channel from knowning that the
phone has gone off-hook.  The phone can receive calls, but not
make them.

Console debug log while trying to place a call:
RECEIVED UNKNOWN MESSAGE TYPE:  49
Setting ringer mode to '1'.
skinny_new: tmp->nativeformats=4 fmt=4
Attempting to Clear display on Skinny 8012 at support
Clearing Display
    -- Starting simple switch on '8012 at support'
Collected digit: [1]
Collected digit: [9]
Collected digit: [9]
Collected digit: [6]
Clearing Display
skinny_hangup(Skinny/8012 at support-4) on 8012 at support
RECEIVED UNKNOWN MESSAGE TYPE:  49

The phone presents dial-tone without stop and does not see the
dialed digits as a dialed extension.

Dan



More information about the asterisk-dev mailing list