[Asterisk-Users] asterisk sccp support

Martin Bene martin.bene at icomedias.com
Mon Jan 5 17:42:21 MST 2004


Hi zozo,

sorry to bother you; I've been trying to get a cisco 7920 phone (that's the
cute wifi/wireless modell) to work with asterisk (no success so far) and ran
across your chan_sccp module;

is there a current cvs version that I could base my tests on? tar version 0.1
seems to be ~2003-09-12, cvs access as posted on
http://theo.me.uk/pages.shtml?page=sccp doesn't seem to work any more:

Logging in to :pserver:anoncvs at cvs.anlx.net:2401/var/lib/cvs
CVS password:
/var/lib/cvs: no such repository

Nevertheless: I started with the 0.1 driver. first problem: The 7920 Phone
doesn't want to play if VersionReqMessage isn't implemented; OK, so I added
that (P00603010033; I'm not sure if the final digits for the firmware are
actually right).

Better result now: I get as far as "Registered with Asterisk PBX" on the
phone, only to have it continue to "no Callmanager found" and retry (ad
infinitum).

Here's what I get from asterisk debug output:

  ==  >> Got message RegisterMessage
 Auto logging into cisco1
  == Sending Packet Type DisplayPromptStatusMessage (48 bytes)
  == Sending Packet Type RegisterAckMessage (24 bytes)
  == Sending Packet Type CapabilitiesReqMessage (4 bytes)
  ==  >> Got message IpPortMessage
  ==  >> Got message HeadsetStatusMessage
  ==  >> Got message VersionReqMessage
  == Sending Packet Type VersionMessage (20 bytes)
  ==  >> Got message CapabilitiesResMessage
 Device has 6 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
  ==  >> Got message ButtonTemplateReqMessage
WARNING[262161]: File sccp_actions.c, Line 144
(sccp_handle_button_template_req): Don't have a button layout, sending blank
template.
  == Sending Packet Type ButtonTemplateMessage (100 bytes)
  ==  >> Got message SoftKeyTemplateReqMessage
  == Sending Packet Type SoftKeyTemplateResMessage (656 bytes)
  ==  >> Got message SoftKeySetReqMessage
    -- Set[0] =  0:11     --
    -- Set[1] =  0:1  1:2  2:10     --
    -- Set[2] =  0:1  1:6  2:12     --
    -- Set[3] =  0:12  1:13  2:14  3:6     --
    -- Set[4] =  0:-1  1:6     --
    -- Set[5] =  0:3  1:6  2:7  3:8  4:-1  5:9     --
    -- Set[6] =  0:3  1:4     --
    -- There are 7 SoftKeySets.
  == Sending Packet Type SoftKeySetResMessage (784 bytes)
  == Sending Packet Type KeepAliveAckMessage (4 bytes)
  == Sending Packet Type KeepAliveAckMessage (4 bytes)
  == Sending Packet Type KeepAliveAckMessage (4 bytes)
  == Sending Packet Type KeepAliveAckMessage (4 bytes)
WARNING[262161]: File sccp_socket.c, Line 42 (sccp_read_data): No length in
read: Success

Looks like the phone goes south on receipt of the SoftKeySetResMessage; any
idea of how to continue from here?

Thanks for your time for reading so far,

Martin



More information about the asterisk-users mailing list