My Cisco 7905 can't register with Asterisk (1.0.7-BRIstuffed-0.2.0-RC7k on Debian stable). It could, however, register with another installation of Asterisk and the settings on the phone (apart from the SIP proxy address) haven't changed since then.

On the new Asterisk box my sip.conf contains this:

[jeremy]
type=friend
regexten=801
allow=g729
host=dynamic
secret=PASSWORD
nat=yes
qualify=yes
canreinvite=no
callerid="Jeremy Malcolm" <9213 0801>
mailbox=1000

sip show peers shows this:

jeremy    (Unspecified)    D   N      255.255.255.255  0        UNKNOWN

sip debug shows this:

Sip read:
REGISTER sip:tardis.malcolm.id.au SIP/2.0
Via: SIP/2.0/UDP 192.168.0.104:5060
From: sip:[EMAIL PROTECTED];tag=1655991738
To: sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
CSeq: 1 REGISTER
Contact: Jeremy Malcolm <sip:[EMAIL PROTECTED]:5060;transport=udp>;expires=3600
User-Agent: Cisco-CP7905/1.01-030807A
Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, REGISTER
Content-Length: 0

10 headers, 0 lines
Using latest request as basis request
Sending to 192.168.0.104 : 5060 (NAT)
Transmitting (NAT):
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.104:5060;received=220.238.97.78;rport=50048
From: sip:[EMAIL PROTECTED];tag=1655991738
To: sip:[EMAIL PROTECTED];tag=as779edf52
Call-ID: [EMAIL PROTECTED]
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0


 to 220.238.97.78:50048
Transmitting (NAT):
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.104:5060;received=220.238.97.78;rport=50048
From: sip:[EMAIL PROTECTED];tag=1655991738
To: sip:[EMAIL PROTECTED];tag=as779edf52
Call-ID: [EMAIL PROTECTED]
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:[EMAIL PROTECTED]>
WWW-Authenticate: Digest realm="asterisk", nonce="52e7665f"
Content-Length: 0


 to 220.238.97.78:50048
Scheduling destruction of call '[EMAIL PROTECTED]' in 15000 ms

Can anyone offer any advice?

TIA

--
JEREMY MALCOLM <[EMAIL PROTECTED]> - lawyer, IT consultant and actor.
Internet and Open Source specialist. Web site: http://www.malcolm.id.au.
host -t NAPTR 1.0.8.0.3.1.2.9.8.1.6.e164.org |awk '{print substr($7,6)}'

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to