Всем привет!
Никак не удаётся совершить исходящий вызов, по связке goip+asterisk+freepbx.
При попытке позвонить, в командной строке наблюдаю:
== Using SIP RTP CoS mark 5
-- Called SIP/out1/+79876543210
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:24] NoOp("SIP/111-00000011", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 1") in new stack
-- Executing [s@macro-dialout-trunk:25] GotoIf("SIP/111-00000011", "0?continue,1:s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/111-00000011", "RC=1") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/111-00000011", "1,1") in new stack
-- Goto (macro-dialout-trunk,1,1)
-- Executing [1@macro-dialout-trunk:1] Goto("SIP/111-00000011", "s-INVALIDNMBR,1") in new stack
-- Goto (macro-dialout-trunk,s-INVALIDNMBR,1)
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:1] NoOp("SIP/111-00000011", "Dial failed due to trunk reporting Address Incomplete - giving up") in new stack
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:2] Progress("SIP/111-00000011", "") in new stack
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:3] Playback("SIP/111-00000011", "ss-noservice,noanswer") in new stack
-- <SIP/111-00000011> Playing 'ss-noservice.ulaw' (language 'ru')
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:4] Busy("SIP/111-00000011", "20") in new stack
[2017-07-14 12:56:33] WARNING[16184][C-0000000a]: channel.c:5005 ast_prod: Prodding channel 'SIP/111-00000011' failed
== Spawn extension (macro-dialout-trunk, s-INVALIDNMBR, 4) exited non-zero on 'SIP/111-00000011' in macro 'dialout-trunk'
== Spawn extension (from-internal, 79876543210, 5) exited non-zero on 'SIP/111-00000011'
-- Executing [h@from-internal:1] Macro("SIP/111-00000011", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/111-00000011", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/111-00000011", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("SIP/111-00000011", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/111-00000011' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/111-00000011'
Входящий/исходящий транк успешно зарегистрировались, вывод sip show peers:
localhost*CLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
1001/1001 10.0.0.50 D No No 5160 OK (3 ms)
111/111 10.0.0.109 D No No A 5062 OK (12 ms)
112/112 10.0.0.107 D No No A 60919 OK (2 ms)
out1/1001 10.0.0.50 Yes Yes 5160 OK (4 ms)
4 sip peers [Monitored: 4 online, 0 offline Unmonitored: 0 online, 0 offline]
Входящий вызов, проходит без каких либо проблем.
Настройки набора номера, как я понимаю, тоже проделаны верно.
Хоть убейте, но что делать дальше, в упор не понимаю.
Всё, что советуют по ссылкам в гугле, я либо уже попытался проделать, либо изначально проделано правильно.