Чет ваще ппц... Есть Asterisk в сетке. В этой сети на нем всё регится нормально, и софтфоны, и железные аппараты, из других подсетей тоже хорошо все. Подключаюсь из дома по VPN'у (pptpd), не могу зарегистрироваться. Twinkle пишет: "... ошибка проверки регистрации: 408 Request Timeout". Вот дебаг астериска (192.168.91.101 - мой vpn'ошный ip, mfhomepc - имя домашнего пк):
Вот сейчас Twinkle пишет "проверка регистрации..."
Код: Выделить всё
voip*CLI>
<--- SIP read from UDP:192.168.91.101:5060 --->
REGISTER sip:voip.arkos.org.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.91.101;rport;branch=z9hG4bKfeoampcn
Max-Forwards: 70
To: "morfair" <sip:morfair@voip.arkos.org.ru>
From: "morfair" <sip:morfair@voip.arkos.org.ru>;tag=leixc
Call-ID: gmgtxnnemnfgosf@mfhomepc
CSeq: 859 REGISTER
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
User-Agent: Twinkle/1.4.2
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
Sending to 192.168.91.101 : 5060 (no NAT)
<--- Transmitting (no NAT) to 192.168.91.101:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.91.101;branch=z9hG4bKfeoampcn;received=192.168.91.101;rport=5060
From: "morfair" <sip:morfair@voip.arkos.org.ru>;tag=leixc
To: "morfair" <sip:morfair@voip.arkos.org.ru>;tag=as47ce8df9
Call-ID: gmgtxnnemnfgosf@mfhomepc
CSeq: 859 REGISTER
Server: Asterisk PBX (morfair@arkos.org.ru)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="voip.arkos.org.ru", nonce="29db675f"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'gmgtxnnemnfgosf@mfhomepc' in 32000 ms (Method: REGISTER)
voip*CLI>
<--- SIP read from UDP:192.168.91.101:5060 --->
REGISTER sip:voip.arkos.org.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.91.101;rport;branch=z9hG4bKgeoiqfke
Max-Forwards: 70
To: "morfair" <sip:morfair@voip.arkos.org.ru>
From: "morfair" <sip:morfair@voip.arkos.org.ru>;tag=avbyz
Call-ID: gmgtxnnemnfgosf@mfhomepc
CSeq: 861 REGISTER
Contact: <sip:morfair@192.168.91.101>;expires=3600
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
User-Agent: Twinkle/1.4.2
Content-Length: 0
voip*CLI>
<------------->
--- (11 headers 0 lines) ---
Sending to 192.168.91.101 : 5060 (no NAT)
<--- Transmitting (no NAT) to 192.168.91.101:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.91.101;branch=z9hG4bKgeoiqfke;received=192.168.91.101;rport=5060
From: "morfair" <sip:morfair@voip.arkos.org.ru>;tag=avbyz
To: "morfair" <sip:morfair@voip.arkos.org.ru>;tag=as47ce8df9
Call-ID: gmgtxnnemnfgosf@mfhomepc
CSeq: 861 REGISTER
Server: Asterisk PBX (morfair@arkos.org.ru)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="voip.arkos.org.ru", nonce="5b5cbc25"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'gmgtxnnemnfgosf@mfhomepc' in 32000 ms (Method: REGISTER)
[Mar 15 01:51:27] NOTICE[9022]: chan_sip.c:11461 sip_reregister: -- Re-registration for 0032294742@sipnet.ru
> doing dnsmgr_lookup for 'sipnet.ru'
> ast_get_srv: SRV lookup for '_sip._UDP.sipnet.ru' mapped to host sipnet.ru, port 5060
[Mar 15 01:51:27] NOTICE[9022]: chan_sip.c:18179 handle_response_register: Outbound Registration: Expiry for sipnet.ru is 118 sec (Scheduling reregistration in 103 s)
[Mar 15 01:51:28] NOTICE[9022]: chan_sip.c:11461 sip_reregister: -- Re-registration for 0032294742@sipnet.ru
> doing dnsmgr_lookup for 'sipnet.ru'
> ast_get_srv: SRV lookup for '_sip._UDP.sipnet.ru' mapped to host sipnet.ru, port 5060
[Mar 15 01:51:28] NOTICE[9022]: chan_sip.c:18179 handle_response_register: Outbound Registration: Expiry for sipnet.ru is 118 sec (Scheduling reregistration in 103 s)
voip*CLI>