Hi friends,

I've noticed that first register message sent by * always get rejected by
the destination sip server. Then * sends a second registration message (
with Autherization section, and that get accepted by the destination host).

Why is this ?

Isnt there a way to tell * to send with Autothorization message the first
attempt ?


Asterisk sends this first

9 headers, 0 lines
11 headers, 0 lines
Reliably Transmitting:
REGISTER sip:sipauth.deltathree.com SIP/2.0
Via: SIP/2.0/UDP 66.xxx.xxx.xxx:5060;branch=z9hG4bK6b37ba4a
From: <sip:[EMAIL PROTECTED]>;tag=as3e96887d
To: <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 106 REGISTER
User-Agent: Asterisk PBX
Expires: 160
Contact: <sip:[EMAIL PROTECTED]>
Event: registration
Content-length: 0


After 401 unautorized from iconnect asterisk sends this

8 headers, 0 lines
12 headers, 0 lines
Reliably Transmitting:
REGISTER sip:sipauth.deltathree.com SIP/2.0
Via: SIP/2.0/UDP 66.xxx.xxx.xxx:5060;branch=z9hG4bK6b37ba4a
From: <sip:[EMAIL PROTECTED]>;tag=as3e96887d
To: <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 107 REGISTER
User-Agent: Asterisk PBX
Authorization: Digest username="1510xxxxxxx", realm="deltathree.com",
algorithm="MD5", uri="sip:sipauth.deltathree.com", nonce="3fdecbbf",
response="49558c95bc3383bcbf76a26376e1614a"
Expires: 160
Contact: <sip:[EMAIL PROTECTED]>
Event: registration
Content-length: 0

Cheers

SW


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to