Re: Внешние звонки
Добавлено: 18 июн 2013, 13:04
Пока ваш астер не увидит 3001 - ничего не добьетесь. Смотрите почему 3001 не регится на самом устройстве.
Код: Выделить всё
-- Unregistered SIP '3002'
-- Registered SIP '3002' at XXXX:2038
-- Unregistered SIP '3002'
-- Registered SIP '3002' at XXXX:2040
-- Registered SIP '3001' at XXXX:1086
-- Unregistered SIP '3001'
-- Registered SIP '3001' at XXXX:1481
[b]звонок: с SIP на SIP[/b]
== Using SIP RTP CoS mark 5
-- Executing [3001@h323-out:1] Dial("SIP/3002-00000003", "SIP/3001") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/3001
== Spawn extension (h323-out, 3001, 1) exited non-zero on 'SIP/3002-00000003'
[b]Звонок с SIP на Avaya[/b]
== Using SIP RTP CoS mark 5
-- Executing [2900@h323-out:1] Dial("SIP/3001-00000005", "OOH323/2900@avaya") in new stack
-- Called OOH323/2900@avaya
-- OOH323/avaya-1 is ringing
== Spawn extension (h323-out, 2900, 1) exited non-zero on 'SIP/3001-00000005'
asterisk*CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status
3001/3001 XXXX D A 1481 Unmonitored
3002/3002 XXXX D A 2040 OK (170 ms)
2 sip peers [Monitored: 1 online, 0 offline Unmonitored: 1 online, 0 offline]