Re: Re: Directory-Based domain & SIP

От: Севостьянов Евгений <CGatePro_at_mx_ru>
Дата: Mon 11 Oct 2004 - 17:30:18 MSD

(Vladimir A. Butenko) пишет:

> Аутентификация в HTTP и SIP проходит минимум в два этапа, чаще - в 
> три. При этом важны все хедеры, которые посылаются, а не просто 
> однострочные сообщения, что, мол, надо бы еще попробовать (401). 

20:25:24.27 5 SIP connection request from [xxx.yyy.xxx.yyy:3466], socket=16
20:25:24.27 4 SIPTCP-00052 stream accepted on [10.0.0.3:5060] from 
[xxx.yyy.xxx.yyy:3466]

20:25:24.27 4 SIPTCP-00052 reading thread started 20:25:24.28 2 SIPDATA-00098 inp: req tcp [xxx.yyy.xxx.yyy:3466] REGISTER(480 bytes) sip:domain.com
20:25:24.28 5 SIPDATA-00098 inp: REGISTER sip:domain.com SIP/2.0
20:25:24.28 5 SIPDATA-00098 inp: Via: SIP/2.0/TCP xxx.yyy.xxx.yyy:13146
20:25:24.28 5 SIPDATA-00098 inp: From: 

<sip:user@domain.com>;tag=3ed2523d-d857-4efc-a3e1-6290aafae3ae
20:25:24.28 5 SIPDATA-00098 inp: To: <sip:user@domain.com> 20:25:24.28 5 SIPDATA-00098 inp: Call-ID: 943c67ce-91b6-41fb-b35d-c962a670f7d1@xxx.yyy.xxx.yyy
20:25:24.28 5 SIPDATA-00098 inp: CSeq: 1 REGISTER
20:25:24.28 5 SIPDATA-00098 inp: Contact: 

<sip:xxx.yyy.xxx.yyy:13146;transport=tcp>;methods="INVITE, MESSAGE,
INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK"
20:25:24.28 5 SIPDATA-00098 inp: User-Agent: Windows RTC/1.0
20:25:24.28 5 SIPDATA-00098 inp: Expires: 1200
20:25:24.28 5 SIPDATA-00098 inp: Event: registration
20:25:24.28 5 SIPDATA-00098 inp: Allow-Events: presence
20:25:24.28 5 SIPDATA-00098 inp: Content-Length: 0
20:25:24.28 5 SIPDATA-00098 inp:
20:25:24.28 2 SIPS-00164 [00098] REGISTER sip:domain.com from tcp 
[xxx.yyy.xxx.yyy:3466]
20:25:24.28 2 SIPDATA-00082 out: rsp tcp [xxx.yyy.xxx.yyy:3466] 401-REGISTER(364 bytes)
20:25:24.28 5 SIPDATA-00082 out: SIP/2.0 401 authentication required
20:25:24.28 5 SIPDATA-00082 out: Via: SIP/2.0/TCP xxx.yyy.xxx.yyy:13146
20:25:24.28 5 SIPDATA-00082 out: From: 

<sip:user@domain.com>;tag=3ed2523d-d857-4efc-a3e1-6290aafae3ae
20:25:24.28 5 SIPDATA-00082 out: To:
<sip:user@domain.com>;tag=6EB641CD5B34317B
20:25:24.28 5 SIPDATA-00082 out: Call-ID: 943c67ce-91b6-41fb-b35d-c962a670f7d1@xxx.yyy.xxx.yyy 20:25:24.28 5 SIPDATA-00082 out: CSeq: 1 REGISTER 20:25:24.28 5 SIPDATA-00082 out: WWW-Authenticate: BASIC realm="mx.domain.com"
20:25:24.28 5 SIPDATA-00082 out: Server: CommuniGatePro/4.2.3
20:25:24.28 5 SIPDATA-00082 out: Content-Length: 0
20:25:24.28 5 SIPDATA-00082 out:
20:25:24.28 4 SIPTCP-00052 [82] enqueued. 364 bytes
20:25:24.28 2 SIPS-00164 [00082] 401-REGISTER(final) sent to tcp 
[xxx.yyy.xxx.yyy:3466]
20:25:24.28 5 SIPTCP-00052 out: SIP/2.0 401 authentication required\r\nVia: SIP/2.0/TCP xxx.yyy.xxx.yyy:13146\r\nFrom:
<sip:user@domain.com>;tag=3ed2523d-d857-4efc-a3e1-6290aafae3ae\r\nTo:
<sip:user@domain.com>;tag=6EB641CD5B34317B\r\nCall-ID:
943c67ce-91b6-41fb-b35d-c962a670f7d1@xxx.yyy.xxx.yyy\r\nCSeq: 20:25:24.28 4 SIPTCP-00052 [82] sent to [xxx.yyy.xxx.yyy:3466] 20:25:24.34 3 SIPTCP-00052 reading thread finished. Error Code=connection closed by peer
20:25:24.34 4 SIPTCP-00052 closing connection
20:25:24.34 4 SIPTCP-00052 sending thread finished
20:25:24.34 4 SIPTCP-00052 released
Получено Mon Oct 11 13:31:21 2004

Этот архив был сгенерирован hypermail 2.1.8 : Fri 24 Apr 2015 - 16:13:14 MSK