Я о наболевшем.
Это версия.
Попробуйте поставиьт на обоих концах IAX транка у себя на пирах
trunk=yes
При правильном раскладе будет виден в
iax2 show peers
против этого пира - (Т)
дахди настроен только как таймер... внешние линии - сиптранки.
кстати есть ли смысл вообще в этом таймере от дахди на виртуалках? и в частности на достаточно мощном лезвии?
вот вывод типов каналов прокси
[root@Asterisk-Proxy-2 ~]# asterisk -rx "core show channeltypes "
Setting max files open to 65535
Type Description Devicestate Indications Transfer
---------- ----------- ----------- ----------- --------
Phone Standard Linux Telephony API Driver no yes no
Bridge Bridge Interaction Channel no no no
Agent Call Agent Proxy Channel yes yes no
IAX2 Inter Asterisk eXchange Driver (Ver 2) yes yes yes
MulticastR Multicast RTP Paging Channel Driver no no no
MGCP Media Gateway Control Protocol (MGCP) yes yes no
DAHDI DAHDI Telephony Driver w/PRI & SS7 yes yes no
SIP Session Initiation Protocol (SIP) yes yes yes
Local Local Proxy Channel Driver yes yes no
----------
9 channel drivers registered.
вывод типов каналов астериска
[root@Asterisk-1 ~]# asterisk -rx "core show channeltypes "
Setting max files open to 65535
Type Description Devicestate Indications Transfer
---------- ----------- ----------- ----------- --------
Phone Standard Linux Telephony API Driver no yes no
Local Local Proxy Channel Driver yes yes no
IAX2 Inter Asterisk eXchange Driver (Ver 2) yes yes yes
SIP Session Initiation Protocol (SIP) yes yes yes
Agent Call Agent Proxy Channel yes yes no
Bridge Bridge Interaction Channel no no no
DAHDI DAHDI Telephony Driver w/PRI & SS7 yes yes no
MulticastR Multicast RTP Paging Channel Driver no no no
----------
8 channel drivers registered.
[root@Asterisk-1 ~]# asterisk -rx "dahdi show channels "
Setting max files open to 65535
Chan Extension Context Language MOH Interpret Blocked State
pseudo default
[root@Asterisk-Proxy-2 ~]# asterisk -rx "dahdi show channels "
Setting max files open to 65535
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
[root@Asterisk-Proxy-2 ~]# asterisk -rx "iax2 show peers "
Setting max files open to 65535
Name/Username Host Mask Port Status
node01/proxy 172.16.150.3 (S) 255.255.255.255 4569 T OK (3 ms)
node02/proxy 172.16.150.4 (S) 255.255.255.255 4569 T OK (3 ms)
2 iax2 peers [2 online, 0 offline, 0 unmonitored]
[root@Asterisk-1 ~]# asterisk -rx "iax2 show peers "
Setting max files open to 65535
Name/Username Host Mask Port Status
proxy/node01 172.16.150.2 (S) 255.255.255.255 4569 T OK (3 ms)
1 iax2 peers [1 online, 0 offline, 0 unmonitored]
[root@Asterisk-2 ~]# asterisk -rx "iax2 show peers "
Setting max files open to 65535
Name/Username Host Mask Port Status
proxy/node02 172.16.150.2 (S) 255.255.255.255 4569 T OK (3 ms)
1 iax2 peers [1 online, 0 offline, 0 unmonitored]
астериски с проксей связаны по иакс. абоненты с проксей по сип. транк от оператора до прокси - СИП.