Cisco 7960 Has Trouble Registering with Trixbox 2.6.1.4

I’m hosting a voice over ip server and nearly all my remote Cisco 7960 phones are working except for this particular one. For some reason, this phone will not register. The password on both the phone and the server matches.

On the server side I get (XX.XX.XX.XX is the public ip of the remote phone):

<— Transmitting (NAT) to XX.XX.XX.XX:24293 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP XX.XX.XX.XX:1079360;branch=z9hG4bK0a89201b;received=XX.XX.XX.XX
From: sip:4881@YY.YY.YY.YY
To: sip:4881@YY.YY.YY.YY;tag=as704ba37f
Call-ID: 00175976-8d8c0003-68d73dda-3843e388@XX.XX.XX.XX83
CSeq: 190 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="51448773"
Content-Length: 0

I have noticed one odd thing is the above part though. XX.XX.XX.XX is the remote phone’s public ip address. Well, for some odd reason, 83 is being appended to the public ip address in the Call-ID field.

What makes me wonder if it is important is the log from the telnet session of the phone itself:

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2009.04.27 20:40:14 =~=~=~=~=~=~=~=~=~=~=~=

Password :*********

Cisco Systems, Inc. Copyright 2000-2005
Cisco IP phone MAC: 0017:5976:8d8c
Loadid: SW: P0S3-08-8-00 ARM: PAS3ARM1 Boot: PC030301 DSP: 4.0(2.0)[A0]
SIP Phone> ?
?,clear,debug,dns,erase,exit,ping,register,reset,show,test,timers,traceroute,
tty,undebug
SIP Phone> show ?
debug strpool memorymap malloc-table stacks status abort_vector reset-log cpu flash timers dspstate rtp ethernet tcp dialplan personaldir lsm fsm fsmdef fsmcnf fsmxfr fim cdp network arp config ip register
SIP Phone> show png ing 70 ping YY.YY.YY.YY
Sending 5, 100-byte ICMP Echos to YY.YY.YY.YY, timeout is 2 seconds
SIP Phone> !!!
Success Rate 100 percent (5/5)
SIP Phone> show ?
debug strpool memorymap malloc-table stacks status abort_vector reset-log cpu flash timers dspstate rtp ethernet tcp dialplan personaldir lsm fsm fsmdef fsmcnf fsmxfr fim cdp network arp config ip register
SIP Phone> show register

LINE REGISTRATION TABLE
Proxy Registration: ENABLED, state: REGISTERING
line APR state timer expires proxy:port


1 .1x REGISTERING 3600 21 YY.YY.YY.YY:5060
2 … NONE 0 0 undefined:0
3 … NONE 0 0 undefined:0
4 … NONE 0 0 undefined:0
5 … NONE 0 0 undefined:0
6 … NONE 0 0 undefined:0
1-BU .1x REGISTERING 3600 21 YY.YY.YY.YY:5060

Note: APR is Authenticated, Provisioned, Registered
SIP Phone> debug ?
console-stall malloc-table sk-platform flash http timestamp timers dsp dsp-keepalive vcm dtmf cpr-info task-socket xml-events xml-deck xml-vars xml-post lsm fsm auth fim gsm cc cc-msg sip-task sip-state sip-messages sip-reg-state sip-trx cdp dns sntp sntp-packet config
debugs: timestamp
SIP Phone> debug sip-reg-state
Enabling bug logging on this terminal - use ‘tty mon 0’ to disable
debugs: timestamp sip-reg-state
SIP Phone> [20:41:36:1234179] ccsip_register_timeout_retry
[20:41:36:1234179] ccsip_register_send_msg: cmd=0x161c06
[20:41:36:1234179] LINE 12/1: --0x00072e9d-- : SIP_REG_STATE_REGISTERING <- E_SIP_REG_TMR_RETRY
[20:41:36:1234180] ccsip_handle_ev_tmr_retry: Resending message: #1
[20:41:36:1234180] LINE 12/1: ccsip_register_retry_timer_start : Starting reTx timer (2000 msec)
[20:41:36:1234184] ccsip_register_timeout_retry
[20:41:36:1234184] ccsip_register_send_msg: cmd=0x161c06
[20:41:36:1234184] LINE 6/1: --0x00072e9d-- : SIP_REG_STATE_REGISTERING <- E_SIP_REG_TMR_RETRY
[20:41:36:1234185] ccsip_handle_ev_tmr_retry: Resending message: #1
[20:41:36:1234185] LINE 6/1: ccsip_register_retry_timer_start : Starting reTx timer (2000 msec)
[20:41:37:1234205] sip_regmgr_find_fallback_ccb_by_callid: Trying to find match for 00175976-8d8c0002-43db36ce-4cb3212a@192.168.2.483

The phone’s actual internal ip address is 192.168.2.4 . For some reason, 83 is appended to the phone’s ip address and I think this is the reason that the phone has problems registering with the server.

Does anyone have any suggestions or tips for debugging the situation?

Davie