atsip*CLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
300/300 192.168.0.252 D No No A 5060 OK (7 ms)
302/302 192.168.0.249 D No No A 5060 OK (10 ms)
[Jan 19 12:50:20] NOTICE[1214]: chan_sip.c:30077 sip_poke_noanswer: Peer '302' is now UNREACHABLE! Last qualify: 10
[Jan 19 12:50:38] WARNING[1454][C-00000001]: app_dial.c:2525 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
atsip*CLI>
192.168.1.202 это шлюз в сети 192.168.0.0/255.255.254.0
192.168.8.53 это шлюз в сети 192.168.8.0/255.255.255.0
SIP телефон 302 192.168.0.249 воткнул в 8 сеть. Набираю с 302 номер 301 тишина.
Во вложении sip debug.
https://yadi.sk/i/F0ntd2Qf3RbNB4
File: /etc/network/interfaces
auto ens33
iface ens33 inet static
address 192.168.0.31
netmask 255.255.254.0
gateway 192.168.1.202
dns-nameservers 192.168.0.2 192.168.1.2
up route add -net 172.1.0.0/24 gw 192.168.0.130 ens33
up route add -net 192.168.8.0/24 gw 192.168.1.202 ens33