[sisyphus] asterisk не регистрирует клиентов sip
Maxim Bodyansky
=?iso-8859-1?q?maximbo_=CE=C1_rambler=2Eru?=
Пн Дек 5 16:25:07 MSK 2005
День добрый.
Обновление asterisk'а до версии 1.2-alt10 вылилось в интересные
последствия. Отныне любая попытка регистрации sip-клиента приводит
к блокировке chan_sip.
Диалог устройств в аттаче.
Действующие лица:
192.168.0.2 -- телефон с именем 123
192.168.0.1 -- asterisk с dns-именем faust.ru
Может сталкивался кто с такими ловушками?
--
WBR,
Maxim Bodyansky
----------- следующая часть -----------
<-- SIP read from 192.168.0.2:5060:
REGISTER sip:faust.ru SIP/2.0
From: <sip:123 на faust.ru>
To: <sip:123 на faust.ru>
Max-Forwards: 70
Call-ID: 408679214 на 192.168.0.2
CSeq: 401 REGISTER
Contact: <sip:123 на 192.168.0.2:5060;transport=UDP>;+sip.p2t="true";expires=1000
User-Agent: Minisip
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK1884156211
Content-Length: 0
--- (10 headers 0 lines)---
Using latest REGISTER request as basis request
Sending to 192.168.0.2 : 5060 (non-NAT)
Transmitting (no NAT) to 192.168.0.2:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK1884156211;received=192.168.0.2
From: <sip:123 на faust.ru>
To: <sip:123 на faust.ru>
Call-ID: 408679214 на 192.168.0.2
CSeq: 401 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Contact: <sip:123 на 192.168.0.1>
Content-Length: 0
---
Transmitting (no NAT) to 192.168.0.2:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK1884156211;received=192.168.0.2
From: <sip:123 на faust.ru>
To: <sip:123 на faust.ru>;tag=as2d606eab
Call-ID: 408679214 на 192.168.0.2
CSeq: 401 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Contact: <sip:123 на 192.168.0.1>
WWW-Authenticate: Digest realm="asterisk", nonce="2a6ec3b9"
Content-Length: 0
---
Scheduling destruction of call '408679214 на 192.168.0.2' in 15000 ms
<-- SIP read from 192.168.0.2:5060:
REGISTER sip:faust.ru SIP/2.0
From: <sip:123 на faust.ru>
To: <sip:123 на faust.ru>
Max-Forwards: 70
Call-ID: 408679214 на 192.168.0.2
CSeq: 402 REGISTER
Contact: <sip:123 на 192.168.0.2:5060;transport=UDP>;expires=1000
User-Agent: Minisip
Authorization: Digest algorithm="MD5", username="123", realm="asterisk", nonce="2a6ed3b9", uri="192.168.0.2", response="b19e75ed93739d6f48692ec979d559de"
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK1286335101
Content-Length: 0
--- (11 headers 0 lines)---
Using latest REGISTER request as basis request
Sending to 192.168.0.2 : 5060 (non-NAT)
Transmitting (no NAT) to 192.168.0.2:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK1286335101;received=192.168.0.2
From: <sip:123 на faust.ru>
To: <sip:123 на faust.ru>
Call-ID: 408679214 на 192.168.0.2
CSeq: 402 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Contact: <sip:123 на 192.168.0.1>
Content-Length: 0
---
Подробная информация о списке рассылки Sisyphus