INVITE problems

HEy, I am pretty new to Asterisk, and I have run into a dead end. What I have is 3 Cisco 7960’s and I have x-lite on my desktop. Eventually I would like to setup my house to use some SIP provider for our phone service. But for now, I would like to get my asterisk box running. Right now asterisk is running on Fedora 9 installed with YUM (yum -y install asterisk). Now that you know what I am doing, this is my predicament:

Whenever I set up the Cisco phones to call through the asterisk phone system, it comes up with this error:

== Using SIP RTP CoS mark 5 [Jan 8 20:07:42] NOTICE[2814]: chan_sip.c:14726 handle_response_invite: Failed to authenticate on INVITE to '"0072" <sip:0072@[AN IP]>;tag=000750ac6865000d56b24b00-0dea427f'

I have tried everything to get this to work. I have my sip.conf, extentions.conf and all my Cisco phone configs right at my fingertips so whatever you need it right here. I got my x-lite phone to work, and when the SIP is not configures for the phones (no setting in sip.conf) it works, kinda. When I do that, there are some extension errors. I figure that you will want my sip.conf, so here is the ending part (the top is just the default installation config):

[code];First Cisco Phone Config
[0072]
type=friend
username=0072
secret=test
host=dynamic
dtmfmode=rfc2833
context=demo
canreinvite=no
;nat=no
;disallow = all
allow = ulaw,alaw

subscribecontext=internal
;useragent=portasipfriendly
;mailbox=510@default
;callerid=<510>

;Second Cisco Phone Config
[0073]
type=friend
username=0073
secret=test
host=dynamic
dtmfmode=rfc2833
context=demo
canreinvite=yes
nat=no
disallow = all
allow = ulaw,alaw;

;mailbox=510@default
;callerid=<510>

;X-LITE Config
[test]
type=friend
context=demo
username=test
secret=test
host=dynamic
canreinvite=no
dtfmode=rfc2833
disallow=all
allow=ulaw
subscribecontext=internal
mailbox=xlite
[/code]

Can I see a copy of the SIPXXXXX.cnf for “0072”?

Ok, here it is (there is some stuff from sipdefault.cnf), just FYI, all the “[AN IP]”'s are the same, so I know they are correct (tftp, and CM are on one server):

SIPxxx.cnf:

[code]; phone-specific configuration file sample
logo_url: “http://[AN IP]/asterisk/ldxphone.bmp” ;

Line 1 0072

line1_name: “0072” ; Line 1 Extension\User ID

line1_displayname: “0072” ; Line 1 Display Name
line1_shortname: “Home 72” ; Comment next to the button
line1_authname: “0072” ; Line 1 Registration Authentication
line1_password: “test” ; Line 1 Registration Password

Line 2 Settings

#line2_name: “0073” ; Line 1 Extension\User ID

#line2_displayname: “Inside2” ; Line 1 Display Name
#line2_shortname: “Home 73” ; Comment next to the button
#line2_authname: “0073” ; Line 1 Registration Authentication
#line2_password: “test” ; Line 1 Registration Password [/code]

SIP DEFAULT:

[code]# sip default configuration file#
#Image Version
#image_version:P003-08-6-00 ;
#Proxy server address
proxy1_address: [AN IP] ;
proxy_register: 1 ;
nat_enable: 1 ;
nat_address: 10.240.250.7 ;
logo_url: “http://[AN IP]/asterisk/ldxphone.bmp” ;

nat_received_processing: 1;

#Proxy server address
proxy1_address: [AN IP] ;

#CM server address
cm1_address: [AN IP] ;

phone_password: “cisco” ; Telnet/Console Password
dyn_tftp_addr: “[AN IP]” ; restricted to dotted IP
sntp_server: “[AN IP]” ;Time Server
telnet_level: “2” ; 0-Disabled (default), 1-Enabled, 2-Privileged
phone_label: “Liquid-X” ; Has no effect on SIP messaging

Reset stupid stuff

Line 2 Settings

line2_name: “” ; Line 2 Extension\User ID
line2_displayname: “” ; Line 2 Display Name
line2_authname: “UNPROVISIONED” ; Line 2 Registration Authentication
line2_password: “UNPROVISIONED” ; Line 2 Registration Password

Line 3 Settings

line3_name: “” ; Line 3 Extension\User ID
line3_displayname: “” ; Line 3 Display Name
line3_authname: “UNPROVISIONED” ; Line 3 Registration Authentication
line3_password: “UNPROVISIONED” ; Line 3 Registration Password

Line 4 Settings

line4_name: “” ; Line 5 Extension\User ID
line4_displayname: “” ; Line 5 Display Name
line4_authname: “UNPROVISIONED” ; Line 5 Registration Authentication
line4_password: “UNPROVISIONED” ; Line 5 Registration Password

Line 5 Settings

line5_name: “” ; Line 5 Extension\User ID
line5_displayname: “” ; Line 5 Display Name
line5_authname: “UNPROVISIONED” ; Line 5 Registration Authentication
line5_password: “UNPROVISIONED” ; Line 5 Registration Password

Line 6 Settings

line6_name: “” ; Line 6 Extension\User ID
line6_displayname: “” ; Line 6 Display Name
line6_authname: “UNPROVISIONED” ; Line 6 Registration Authentication
line6_password: “UNPROVISIONED” ; Line 6 Registration Password [/code]

GAH!!!

I HAD (in SIPDefault.cnf):

nat_enable: 1 ; nat_address: [ip] ;

IT SHOULD BE:

nat_enable: 1 ; #nat_address: [ip] ;

FRUSTRATING!!!

o well…
Now anybody else that has this problem will know. The phone thought it was behind a firewall. :imp: