Cisco SPA 112 ATA on CUCM

Posted by

One of Cisco employees shared a document on how to configure Cisco SPA 112 ATA on CUCM. The document walk you through the setup and common issues encountered with solutions. My challenge was I had difficulty in registering Cisco SPA 112 ATA to CUCM 10.5.

I took a packet capture on the registration process and a 404 Not Found message was sent from CUCM to Cisco SPA 112 ATA. Then the registration was terminated.

Time 	    Source              Destination         Protocol Length Info
98.128001       SIP      648    Request: REGISTER sip:    (fetch bindings) | 
98.132134       SIP      648    Request: REGISTER sip:    (fetch bindings) | 
98.143224       SIP      384    Status: 100 Trying    (0 bindings) | 
98.144496       SIP      399    Status: 100 Trying    (0 bindings) | 
98.145221       SIP      507    Status: 401 Unauthorized    (0 bindings) | 
98.235552       SIP      833    Request: REGISTER sip:    (fetch bindings) | 
98.236518       SIP      384    Status: 100 Trying    (0 bindings) | 
98.240406       SIP      479    Status: 404 Not Found    (0 bindings) | 

Went through the details of 404 Not Found SIP message, it contained a warning message Line not configured. This error message was interesting and the same time a clue to the problem.

Session Initiation Protocol (404)
    Status-Line: SIP/2.0 404 Not Found
    Message Header
        Via: SIP/2.0/TCP;branch=z9hG4bK-2909dc63
        From: "SPA112" <sip:[email protected]>;tag=ae8d93bc28a05ac6o0
        To: "SPA112" <sip:[email protected]>;tag=1282891069
        Date: Sun, 14 Sep 2014 23:43:05 GMT
        Call-ID: [email protected]
        Server: Cisco-CUCM10.5
        CSeq: 17101 REGISTER
        Warning: 399 cucm-pub "Line not configured"
        Content-Length: 0

Checked my configuration on the CUCM all looked good. Thinking of the Line not configured warning message, what made CUCM spit out this message?! The parameters that were related to the error message that I could think of were user/line association and username format (i.e. alpha, numeric and combination of both).

Tested different combinations and finally found the answer. CUCM didn’t accpet a user ID that contained alpha only and alphanumeric characters. It must be numeric only and line or extension number should also be the user ID. For instance, if you had an extension of 1000 then the user ID should also be 1000.

Here is a a packet capture of a successful registration.

Time 	    Source                Destination           Protocol Length Info
148.308884       SIP      824    Request: REGISTER sip:    (fetch bindings) | 
148.310244       SIP      379    Status: 100 Trying    (0 bindings) | 
148.316243       SIP      538    Status: 200 OK    (0 bindings) | 
148.317085       SIP      628    Request: NOTIFY sip:[email protected]:5080;transport=tcp | 
148.367946       SIP      376    Status: 200 OK | 

Session Initiation Protocol (REGISTER)
    Request-Line: REGISTER sip: SIP/2.0
    Message Header
        Via: SIP/2.0/TCP;branch=z9hG4bK-4562cf6a
        From: "SPA112" <sip:[email protected]>;tag=84eb7d2c464600d6o0
            SIP Display info: "SPA112"
            SIP from address: sip:[email protected]
            SIP from tag: 84eb7d2c464600d6o0
        To: "SPA112" <sip:[email protected]>
            SIP Display info: "SPA112"
            SIP to address: sip:[email protected]
                SIP to address User Part: 1000
                SIP to address Host Part:
        Call-ID: [email protected]
        CSeq: 29621 REGISTER
        Max-Forwards: 70
        Authorization: Digest username="1000",realm="ccmsipline",nonce="ISBUnIOJIZUa2Fvzm7ByhChPmFx3eakH",uri="sip:",algorithm=MD5,response="eb3d8bb27df76f847eb5e72c4cddf480"
            Authentication Scheme: Digest
            Username: "1000"
            Realm: "ccmsipline"
            Nonce Value: "ISBUnIOJIZUa2Fvzm7ByhChPmFx3eakH"
            Authentication URI: "sip:"
            Algorithm: MD5
            Digest Authentication Response: "eb3d8bb27df76f847eb5e72c4cddf480"
        Contact: "SPA112" <sip:[email protected]:5080;transport=tcp>;expires=3600
            SIP Display info: "SPA112"
            Contact URI: sip:[email protected]:5080;transport=tcp
                Contact URI User Part: 1000
                Contact URI Host Part:
                Contact URI Host Port: 5080
                Contact URI parameter: transport=tcp
            Contact parameter: expires=3600\r\n
        User-Agent: Cisco/SPA112-1.3.5(004)
        P-Station-Name:  ;mac=34dbfd5d1270; display=""; sn=CCQ18160ARD
        Content-Length: 0
        Supported: replaces

Leave a Reply

Your email address will not be published. Required fields are marked *