ded писал(а):1) А что это такое -
host=192.168.0.199&dynamic ???
Где-то в интернете видели? В книге по Астериск? Сами придумали?
http://lynks.ru/blog/nastroika-voip-shl ... k-dvg-xxxx
host=dynamic навело на неправильные действия.
Из UserDetails убрал host. Запустил Debug для IP адреса шлюза:
Reliably Transmitting (no NAT) to 192.168.0.199:5060:
OPTIONS sip:192.168.0.199 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.4:5060;branch=z9hG4bK3221b8e4
Max-Forwards: 70
From: "Unknown" <sip:Unknown@192.168.0.4>;tag=as2ecd46a2
To: <sip:192.168.0.199>
Contact: <sip:Unknown@192.168.0.4:5060>
Call-ID: 433974f32521e4be3b8d4b736dc9fe66@192.168.0.4:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.8.1(1.8.20.0)
Date: Mon, 20 May 2013 10:39:41 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:192.168.0.199:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.0.4:5060;branch=z9hG4bK3221b8e4
From: "Unknown" <sip:Unknown@192.168.0.4>;tag=as2ecd46a2
To: <sip:192.168.0.199>;tag=145682ce-685067
Call-ID: 433974f32521e4be3b8d4b736dc9fe66@192.168.0.4:5060
CSeq:102 OPTIONS
User-Agent:dlink 12-38-43929367-0.9.5.1.1928-IAD40
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
Really destroying SIP dialog '433974f32521e4be3b8d4b736dc9fe66@192.168.0.4:5060' Method: OPTIONS
Reliably Transmitting (no NAT) to 192.168.0.199:5060:
OPTIONS sip:192.168.0.199 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.4:5060;branch=z9hG4bK5b086c48
Max-Forwards: 70
From: "Unknown" <sip:Unknown@192.168.0.4>;tag=as02ddc55c
To: <sip:192.168.0.199>
Contact: <sip:Unknown@192.168.0.4:5060>
Call-ID: 04bf3402130470931254d99266838500@192.168.0.4:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.8.1(1.8.20.0)
Date: Mon, 20 May 2013 10:40:42 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:192.168.0.199:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.0.4:5060;branch=z9hG4bK5b086c48
From: "Unknown" <sip:Unknown@192.168.0.4>;tag=as02ddc55c
To: <sip:192.168.0.199>;tag=9f744663-684845
Call-ID: 04bf3402130470931254d99266838500@192.168.0.4:5060
CSeq:102 OPTIONS
User-Agent:dlink 12-38-43929367-0.9.5.1.1928-IAD40
Content-Length: 0
Шлюз стучится к астериску без имени пользователя From: "Unknown" <sip:Unknown@192.168.0.4>.