в дебаге такое
Код: Выделить всё
<--- SIP read from UDP:192.168.3.201:5060 --->
SUBSCRIBE sip:601@192.168.3.8 SIP/2.0
Via: SIP/2.0/UDP 192.168.3.201:5060;branch=z9hG4bK-95685e4e
From: "Худяков" <sip:601@192.168.3.8>;tag=67f2cfd9d88c8659
To: "Худяков" <sip:601@192.168.3.8>
Call-ID: 868f47da-e2afade9@192.168.3.201
CSeq: 1002 SUBSCRIBE
Max-Forwards: 70
Authorization: Digest username="601",realm="asterisk",nonce="31583ed5",uri="sip:601@192.168.3.8",algorithm=MD5,response="d2a3d8875d7570a5c5a9a866f727320b"
Contact: "Худяков <sip:601@192.168.3.201:5060>
Expires: 3600
Event: call-info
User-Agent: Cisco/SPA504G-7.4.9c
Content-Length: 0
<------------->
--- (13 headers 0 lines) ---
Creating new subscription
Sending to 192.168.3.201:5060 (NAT)
Found peer '601' for '601' from 192.168.3.201:5060
<--- Transmitting (NAT) to 192.168.3.201:5060 --->
SIP/2.0 489 Bad Event
Via: SIP/2.0/UDP 192.168.3.201:5060;branch=z9hG4bK-95685e4e;received=192.168.3.201;rport=5060
From: "Худяков" <sip:601@192.168.3.8>;tag=67f2cfd9d88c8659
To: "Худяков " <sip:601@192.168.3.8>;tag=as1a41ee4f
Call-ID: 868f47da-e2afade9@192.168.3.201
CSeq: 1002 SUBSCRIBE
Server: Asterisk PBX 11.4.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
<------------>
Really destroying SIP dialog '868f47da-e2afade9@192.168.3.201' Method: SUBSCRIBE
Звонок исходящий на мобильный.
Спасибо