I have a SIP account that I can successfully register with XTEN and a
Sipura-2000. I have yet to be able to get it to authorize with *.
My XTEN looks like:
Username: 001234
Password: xxxx
Authorization Username: 001234
Domain: domain.net
Register with domain: yes
Use as Outbound proxy: yes
Manual Override host: host.net
What I've determined is that the SIP server (host.net) needs to see
001234@domain.net.
>From XTEN successful registration:
Authorization: Digest
username="001234",realm="BroadWorks",nonce="1111254549745",uri="sip:domain.n
et",response="19107e21c530aa0d3efbda6778a3c41e",algorithm=MD5
>From * failed registration
Authorization: Digest username="001234@domain.net",
realm="BroadWorks",
algorithm=MD5, uri="sip:host.net", nonce="1111254952151",
response="7a39a5a3a774c4225c5bab8858a1fbf2", opaque=""
The URI token is different so I get a SIP/2.0 401 Unauthorized from host.net
SIP.CONF
register => 001234@domain.net:xxxx:001234@domain.net@host.net/210
[cp01]
type=friend
username=001234
secret=Xxxx
host=host.net
insecure=very
canreinvite=no
ASTERISK CONSOLE LOG
09:49:44.2
REGISTER sip:host.net SIP/2.0
To: new test<sip:001234@host.net>
From: new test<sip:001234@host.net>;tag=6b1a582b
Via: SIP/2.0/UDP
192.168.2.2:8324;branch=z9hG4bK-d87543-741421617-1--d87543-;rport
Call-ID: 29692c204a75e445
CSeq: 6 REGISTER
Contact: <sip:001234@192.168.2.2:8324>
Expires: 3600
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE
User-Agent: eyeBeam release 3003x stamp 16296 (sn:0ea18597a34ba5ef8f48)
Authorization: Digest
username="001234",realm="BroadWorks",nonce="1111254549745",uri="sip:host.net
",response="19107e21c530aa0d3efbda6778a3c41e",algorithm=MD5
Content-Length: 0
09:49:44.3
RECEIVING FROM: 66.151.54.132:5060
SIP/2.0 200 OK
To: new test<sip:001234@host.net>;tag=SD1ode099-
From: new test<sip:001234@host.net>;tag=6b1a582b
Via: SIP/2.0/UDP
192.168.2.2:8324;received=65.87.19.106;branch=z9hG4bK-d87543-741421617-1--d8
7543-;rport=8324
Call-ID: 29692c204a75e445
CSeq: 6 REGISTER
Contact: <sip:001234@192.168.2.2:8324>;expires=30
Contact: <sip:001234@192.168.2.10:5060>;expires=29
Content-Length: 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20050322/f3df140c/attachment.htm