[Asterisk-Users] Problem with chan_sccp and cisco 7960

Nenad Radosavljevic nenadr at deltaplan.co.yu
Fri Jan 28 07:31:50 MST 2005


Hi !

On Cisco 7960 (with or without 7914 add-on module) when I press speakerphone
button (or select line with line button - which automatically put second
line on speakerphone) after about 15-20 seconds of dialtone Asterisk stable
dies (seg fault). Tested versions of Asterisk are 1.0.2, 1.0.3 or 1.0.5,
chan_sccp is newest form CVS of chann-sccp.sourceforge.net ). Firmware of
7960 is P00305000301.sbn.

Did anyone noticed similar problem or perhaps knows solution for this ?


Here is what asterisk puts on console (test is with 7960+7914 addon module
on 1.0.3 version of Asterisk, same thing happened on 7960 without 7914):

-------------------------------------------------------------------------
->>>moment of registration of telephone to asterisk:

  ==  >> Got message AlarmMessage
Jan 18 16:47:09 NOTICE[23046]: sccp_actions.c:23 sccp_handle_alarm: Alarm
Message: Severity: 2, 25: Name=SEP00127FAE8D20 Load=5.0(3.1)
Last=Initialized [2049/1022647632]
  ==  >> Got message RegisterMessage
 Auto logging into 200
    --  --*> 202
    --  --*> 201
 Auto logging into 199
    --  --*> 202
    --  --*> 201
    --  --*> 200
  == Sending Packet Type RegisterAckMessage (24 bytes)
  == {SelectSoftKeysMessage} lineInstance=0 callReference=0
softKeySetIndex=0 validKeyMask=126/127
  == Sending Packet Type SelectSoftKeysMessage (20 bytes)
  == Sending Packet Type DisplayPromptStatusMessage (48 bytes)
  == Sending Packet Type CapabilitiesReqMessage (4 bytes)
  ==  >> Got message IpPortMessage
  ==  >> Got message HeadsetStatusMessage
  ==  >> Got message CapabilitiesResMessage
 Device has 7 Capabilities
    -- CODEC: 4 - G.711 u-law 64k
    -- CODEC: 2 - G.711 A-law 64k
    -- CODEC: 11 - G.729
    -- CODEC: 12 - G.729 Annex A
    -- CODEC: 15 - G.729 Annex B
    -- CODEC: 16 - G.729 Annex A+Annex B
    -- CODEC: 25 - Wideband 256k
  ==  >> Got message HeadsetStatusMessage
  ==  >> Got message ButtonTemplateReqMessage
  == Configuring button template. buttonOffset=0, buttonCount=20,
totalButtonCount=20
    -- 1 9
    -- 1 0
    -- 1 0
    -- 1 0
    -- 1 0
    -- 1 0
    -- 2 9
    -- 1 2
    -- 2 2
    -- 3 2
    -- 4 2
    -- 5 2
    -- 6 2
    -- 7 2
    -- 8 2
    -- 9 2
    -- 10 2
    -- 11 2
    -- 12 2
    -- 13 2
  == Sending Packet Type ButtonTemplateMessage (100 bytes)
  ==  >> Got message SoftKeyTemplateReqMessage
  == Sending Packet Type SoftKeyTemplateResMessage (656 bytes)
  ==  >> Got message SoftKeySetReqMessage
    -- Set[0] =  0:1  1:2  2:5  3:3  4:9  5:10  6:16  7:17  8:18  9:4  10:14
11:13     --
    -- Set[1] =  0:3  1:9  2:4  3:14  4:13  5:19  6:10     --
    -- Set[2] =  0:10  1:2     --
    -- Set[3] =  0:11     --
    -- Set[4] =  0:1  1:9  2:5  3:16  4:17  5:18     --
    -- Set[5] =     --
    -- Set[6] =  0:8  1:9     --
    -- Set[7] =     --
    -- Set[8] =     --
    -- Set[9] =  0:1  1:9     --
    -- Set[10] =  0:21     --
    -- There are 11 SoftKeySets.
  == Sending Packet Type SoftKeySetResMessage (784 bytes)
  ==  >> Got message LineStatReqMessage
  == Sending Packet Type LineStatMessage (76 bytes)
  ==  >> Got message LineStatReqMessage
  == Sending Packet Type LineStatMessage (76 bytes)
  ==  >> Got message SpeedDialStatReqMessage
    -- Speed Dial Request for Button 13
    -- speeddial 13 not assigned
  == Sending Packet Type SpeedDialStatMessage (72 bytes)
  ==  >> Got message SpeedDialStatReqMessage
    -- Speed Dial Request for Button 12
  == Sending Packet Type SpeedDialStatMessage (72 bytes)
  ==  >> Got message SpeedDialStatReqMessage
    -- Speed Dial Request for Button 11
  == Sending Packet Type SpeedDialStatMessage (72 bytes)
  ==  >> Got message SpeedDialStatReqMessage
    -- Speed Dial Request for Button 10
  == Sending Packet Type SpeedDialStatMessage (72 bytes)
  ==  >> Got message SpeedDialStatReqMessage
    -- Speed Dial Request for Button 9
  == Sending Packet Type SpeedDialStatMessage (72 bytes)
  ==  >> Got message SpeedDialStatReqMessage
    -- Speed Dial Request for Button 8
  == Sending Packet Type SpeedDialStatMessage (72 bytes)
  ==  >> Got message SpeedDialStatReqMessage
    -- Speed Dial Request for Button 7
  == Sending Packet Type SpeedDialStatMessage (72 bytes)
  ==  >> Got message SpeedDialStatReqMessage
    -- Speed Dial Request for Button 6
  == Sending Packet Type SpeedDialStatMessage (72 bytes)
  ==  >> Got message SpeedDialStatReqMessage
    -- Speed Dial Request for Button 5
  == Sending Packet Type SpeedDialStatMessage (72 bytes)
  ==  >> Got message SpeedDialStatReqMessage
    -- Speed Dial Request for Button 4
  == Sending Packet Type SpeedDialStatMessage (72 bytes)
  ==  >> Got message SpeedDialStatReqMessage
    -- Speed Dial Request for Button 3
  == Sending Packet Type SpeedDialStatMessage (72 bytes)
  ==  >> Got message SpeedDialStatReqMessage
    -- Speed Dial Request for Button 2
  == Sending Packet Type SpeedDialStatMessage (72 bytes)
  ==  >> Got message SpeedDialStatReqMessage
    -- Speed Dial Request for Button 1
  == Sending Packet Type SpeedDialStatMessage (72 bytes)
  ==  >> Got message unknownClientMessage2
  ==  >> Got message TimeDateReqMessage
  == Sending Packet Type DefineTimeDate (40 bytes)
  == Sending Packet Type KeepAliveAckMessage (4 bytes)
  ==  >> Got message unknownClientMessage2
  == Sending Packet Type KeepAliveAckMessage (4 bytes)
  ==  >> Got message StimulusMessage
    -- Got {StimulusMessage} stimulus=Line(9) stimulusInstance=2
    -- New channel context: international
  == {SetSpeakerModeMessage} speakerMode=1
  == Sending Packet Type SetSpeakerModeMessage (8 bytes)
  == {CallStateMessage} callState=OffHook(1), lineInstance=2,
callReference=1
  == Sending Packet Type CallStateMessage (16 bytes)
  == Sending Packet Type ClearPromptStatusMessage (12 bytes)
  == {SelectSoftKeysMessage} lineInstance=2 callReference=0
softKeySetIndex=4 validKeyMask=127/127
  == Sending Packet Type SelectSoftKeysMessage (20 bytes)
    -- Sending tone 33
  == Sending Packet Type StartToneMessage (8 bytes)
  ==  >> Got message OffHookMessage
    -- Device d=0x817f7e0 s=0x81148d0 s->d->s=0x81148d0 Taken Offhook
    -- Checking line 199 for incoming call
    -- Checking line 200 for incoming call
    -- Checking channel for incoming call: 0
  == {SetSpeakerModeMessage} speakerMode=1
  == Sending Packet Type SetSpeakerModeMessage (8 bytes)
  == Sending Packet Type ClearPromptStatusMessage (12 bytes)
    -- Current tone (33) is equiv to wanted tone (33).  Ignoring.
    -- (1)Starting simple switch on '200 at SEP00127FAE8D20'
  == Sending Packet Type DisplayPromptStatusMessage (48 bytes)
  == Sending Packet Type KeepAliveAckMessage (4 bytes)

--->>>>after about 20 seconds:

Ouch ... error while writing audio data: : Broken pipe
Warning, flexibel rate not heavily tested!
Killed
----------------------------------------------------------------------------------


Kind regards,
              Nenad Radosavljevic






More information about the asterisk-users mailing list