Пока все внутри локальной сетки,
asterisk 192.168.50.70
planet 192.168.50.5
Настройки на железяке:
В консоли раз в несколько секунд идет вот такой пакет:
Код: Выделить всё
<--- SIP read from UDP:192.168.50.5:5060 --->
REGISTER sip:192.168.50.70 SIP/2.0
Via: SIP/2.0/UDP 192.168.50.5:5060;rport;branch=z9hG4bK7t3h964d0uf0lr989uqo
From: <sip:102@192.168.50.70>
To: <sip:102@192.168.50.70>
Call-ID: 010946s93a176w38x4y4-0@192.168.50.70
CSeq: 325 REGISTER
MAX-Forwards: 70
Contact: <sip:102@192.168.50.5:5060>
Expires: 900
Content-Length: 0
# tcpdump -vvv | grep 192.168.50.5
Код: Выделить всё
19:43:32.164734 IP (tos 0x0, ttl 64, id 18459, offset 0, flags [none], proto: UDP (17), length: 359) 192.168.50.5.sip > 192.168.50.70.sip: SIP, length: 331
19:43:36.154839 IP (tos 0x0, ttl 64, id 18464, offset 0, flags [none], proto: UDP (17), length: 359) 192.168.50.5.sip > 192.168.50.70.sip: SIP, length: 331
19:43:40.144986 IP (tos 0x0, ttl 64, id 18469, offset 0, flags [none], proto: UDP (17), length: 359) 192.168.50.5.sip > 192.168.50.70.sip: SIP, length: 331