[asterisk-dev] Chan_Skinny cosmetic issue and bit masking question

Dan Austin Dan_Austin at Phoenix.com
Tue Jul 1 12:36:28 CDT 2008


I noticed another quirk with SCCP display phones
always showing the call count as '00'

This is in part due to another incomplete packet
structure, which I have traced and identified the
missing fields.  The second bit missing is that
we do not currently track the number of active
calls in chan_skinny.

I tried a simple increment/decrement in the setup
and tear down paths in chan_skinny, but that will
not work 100%.  Multiple concurrent calls do display
properly (01, 02, 03, etc..), but if the first call
or middle call is hung up and another call placed, then
the display will show (02,03,03).

I played around with a CCM phone and it appears Cisco
may be using an array or bitmask to track the calls on
a line.  In the same scenario, place three calls and hang
up the first, then place a new call, on CCM the new call
will assume the call number of the hung-up call.

I'd like to fix this up, but would hate to use an array
for this as it would be a big waste of memory.  That
said, I am not sure that a bitmask/flag is the best
solution either.

Thoughts or suggestions appreciated,
Dan



More information about the asterisk-dev mailing list