also sprach martin f krafft <[EMAIL PROTECTED]> [2008.05.02.1009 +0100]:
> Unfortunately, I was stupid enough not to keep the logs, but it
> seemed that the authentication happened as it should, asterisk then
> said 100 Trying and so on, but eventually sent a 503 Unavailable or
> the like, which then caused the dialog to pop up.

Here you go. Notice how "503 Service Unavailable" causes twinkle to
reask the credentials.

+++ 5-5-2008 19:56:27.185538 INFO SIP ::send_sip_udp
Send to: udp:84.75.148.163:5060
INVITE sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 10.11.50.6;rport;branch=z9hG4bKkusurufc
Max-Forwards: 70
To: <sip:[EMAIL PROTECTED]>
From: "martin f. krafft" <sip:[EMAIL PROTECTED]>;tag=kuugq
Call-ID: [EMAIL PROTECTED]
CSeq: 49 INVITE
Contact: <sip:[EMAIL PROTECTED]>
Content-Type: application/sdp
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
Supported: replaces,norefersub,100rel
User-Agent: Twinkle/1.2
Content-Length: 303

v=0
o=twinkle 599244135 317859740 IN IP4 10.11.50.6
s=-
c=IN IP4 10.11.50.6
t=0 0
m=audio 8000 RTP/AVP 98 97 8 0 3 101
a=rtpmap:98 speex/16000
a=rtpmap:97 speex/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20

---

+++ 5-5-2008 19:56:27.263464 INFO SIP ::process_sip_msg
Received from: udp:84.75.148.163:5060
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 
10.11.50.6;branch=z9hG4bKkusurufc;received=130.60.75.74;rport=5060
From: "martin f. krafft" <sip:[EMAIL PROTECTED]>;tag=kuugq
To: <sip:[EMAIL PROTECTED]>;tag=as3e8b139a
Call-ID: [EMAIL PROTECTED]
CSeq: 49 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Proxy-Authenticate: Digest algorithm=MD5, realm="madduck.net", nonce="53234f5f"
Content-Length: 0


---

+++ 5-5-2008 19:56:27.264535 INFO SIP ::send_sip_udp
Send to: udp:84.75.148.163:5060
ACK sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 10.11.50.6;rport;branch=z9hG4bKkusurufc
Max-Forwards: 70
To: <sip:[EMAIL PROTECTED]>;tag=as3e8b139a
From: "martin f. krafft" <sip:[EMAIL PROTECTED]>;tag=kuugq
Call-ID: [EMAIL PROTECTED]
CSeq: 49 ACK
User-Agent: Twinkle/1.2
Content-Length: 0


---

+++ 5-5-2008 19:56:27.280520 INFO SIP ::send_sip_udp
Send to: udp:84.75.148.163:5060
INVITE sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 10.11.50.6;rport;branch=z9hG4bKvxleujif
Max-Forwards: 70
Proxy-Authorization: Digest 
username="madduck",realm="madduck.net",nonce="53234f5f",uri="sip:[EMAIL 
PROTECTED]",response="101f34XXXXXXXXXXXXXXXXXXXXXXXd8a",algorithm=MD5
To: <sip:[EMAIL PROTECTED]>
From: "martin f. krafft" <sip:[EMAIL PROTECTED]>;tag=kuugq
Call-ID: [EMAIL PROTECTED]
CSeq: 50 INVITE
Contact: <sip:[EMAIL PROTECTED]>
Content-Type: application/sdp
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
Supported: replaces,norefersub,100rel
User-Agent: Twinkle/1.2
Content-Length: 303

v=0
o=twinkle 599244135 317859740 IN IP4 10.11.50.6
s=-
c=IN IP4 10.11.50.6
t=0 0
m=audio 8000 RTP/AVP 98 97 8 0 3 101
a=rtpmap:98 speex/16000
a=rtpmap:97 speex/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20

---

+++ 5-5-2008 19:56:27.331235 INFO SIP ::process_sip_msg
Received from: udp:84.75.148.163:5060
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 
10.11.50.6;branch=z9hG4bKvxleujif;received=130.60.75.74;rport=5060
From: "martin f. krafft" <sip:[EMAIL PROTECTED]>;tag=kuugq
To: <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 50 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0


---

+++ 5-5-2008 19:56:27.336369 INFO SIP ::process_sip_msg
Received from: udp:84.75.148.163:5060
SIP/2.0 503 Service Unavailable
Via: SIP/2.0/UDP 
10.11.50.6;branch=z9hG4bKvxleujif;received=130.60.75.74;rport=5060
From: "martin f. krafft" <sip:[EMAIL PROTECTED]>;tag=kuugq
To: <sip:[EMAIL PROTECTED]>;tag=as00f99541
Call-ID: [EMAIL PROTECTED]
CSeq: 50 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0
X-Asterisk-HangupCause: No route to destination
X-Asterisk-HangupCauseCode: 3


---

+++ 5-5-2008 19:56:27.337030 INFO SIP ::send_sip_udp
Send to: udp:84.75.148.163:5060
ACK sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 10.11.50.6;rport;branch=z9hG4bKvxleujif
Max-Forwards: 70
Proxy-Authorization: Digest 
username="madduck",realm="madduck.net",nonce="53234f5f",uri="sip:[EMAIL 
PROTECTED]",response="101f3xxxxxxxxxxxxxxxxxxxxxxxxx8a",algorithm=MD5
To: <sip:[EMAIL PROTECTED]>;tag=as00f99541
From: "martin f. krafft" <sip:[EMAIL PROTECTED]>;tag=kuugq
Call-ID: [EMAIL PROTECTED]
CSeq: 50 ACK
User-Agent: Twinkle/1.2
Content-Length: 0


---

+++ 5-5-2008 19:56:27.367741 INFO NORMAL t_dialog::failover_invite
Failover to next destination.
---

+++ 5-5-2008 19:56:27.368658 INFO SIP ::send_sip_udp
Send to: udp:84.75.148.163:5060
INVITE sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 10.11.50.6;rport;branch=z9hG4bKgenwiatd
Max-Forwards: 70
Proxy-Authorization: Digest 
username="madduck",realm="madduck.net",nonce="53234f5f",uri="sip:[EMAIL 
PROTECTED]",response="101xxxxxxxxxxxxxxxxxxxxxxxxxxxxa",algorithm=MD5
To: <sip:[EMAIL PROTECTED]>
From: "martin f. krafft" <sip:[EMAIL PROTECTED]>;tag=kuugq
Call-ID: [EMAIL PROTECTED]
CSeq: 51 INVITE
Contact: <sip:[EMAIL PROTECTED]>
Content-Type: application/sdp
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
Supported: replaces,norefersub,100rel
User-Agent: Twinkle/1.2
Content-Length: 303

v=0
o=twinkle 599244135 317859740 IN IP4 10.11.50.6
s=-
c=IN IP4 10.11.50.6
t=0 0
m=audio 8000 RTP/AVP 98 97 8 0 3 101
a=rtpmap:98 speex/16000
a=rtpmap:97 speex/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20

---

+++ 5-5-2008 19:56:27.446469 INFO SIP ::process_sip_msg
Received from: udp:84.75.148.163:5060
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 
10.11.50.6;branch=z9hG4bKgenwiatd;received=130.60.75.74;rport=5060
From: "martin f. krafft" <sip:[EMAIL PROTECTED]>;tag=kuugq
To: <sip:[EMAIL PROTECTED]>;tag=as65521f6f
Call-ID: [EMAIL PROTECTED]
CSeq: 51 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Proxy-Authenticate: Digest algorithm=MD5, realm="madduck.net", nonce="077c46f6"
Content-Length: 0


---

+++ 5-5-2008 19:56:27.447214 INFO SIP ::send_sip_udp
Send to: udp:84.75.148.163:5060
ACK sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 10.11.50.6;rport;branch=z9hG4bKgenwiatd
Max-Forwards: 70
To: <sip:[EMAIL PROTECTED]>;tag=as65521f6f
From: "martin f. krafft" <sip:[EMAIL PROTECTED]>;tag=kuugq
Call-ID: [EMAIL PROTECTED]
CSeq: 51 ACK
User-Agent: Twinkle/1.2
Content-Length: 0


---

+++ 5-5-2008 19:56:29.379607 INFO NORMAL t_auth::authorize
Asking user name and password failed.
---



-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to