Пытаюсь соеденить Asterisk 2.4 и CCM 8.5
После поиска в интернете решил спросить тут... Соединить пытался при помощи SIP транка как описано тут
К сожалению доступа к ССМ у меня нет, но вроде сделали транк + на ССМ создали экстеншн по типу как московский, и звоня на него вызов форвардится на сип транк... это ладно... со своей стороны на Астериске создал сип транк. Так же сделал IVR для теста такого вида: Welcome, press 5 to fax, добавил виртуальный факс, и если звонить с софт фона то все работает, более того, делал sipnet.ru транк и все тоже работает, и факсы принимает! Но вот с ССМ какието проблемы...
Сейчас если звонить на тот экстеншн который мне сделали мадридцы 2 длинных гудка как при нормальном вызове, а потом короткие гудки как занято. в CLI происходит следующее:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
elastix*CLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [7998@from-internal:1] ResetCDR("SIP/CCM-00000016", "") in new stack
-- Executing [7998@from-internal:2] NoCDR("SIP/CCM-00000016", "") in new stack
-- Executing [7998@from-internal:3] Progress("SIP/CCM-00000016", "") in new stack
-- Executing [7998@from-internal:4] Wait("SIP/CCM-00000016", "1") in new stack
-- Executing [7998@from-internal:5] Progress("SIP/CCM-00000016", "") in new stack
-- Executing [7998@from-internal:6] Playback("SIP/CCM-00000016", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
-- <SIP/CCM-00000016> Playing 'silence/1.gsm' (language 'en')
-- <SIP/CCM-00000016> Playing 'cannot-complete-as-dialed.gsm' (language 'en')
-- <SIP/CCM-00000016> Playing 'check-number-dial-again.gsm' (language 'en')
-- Executing [7998@from-internal:7] Wait("SIP/CCM-00000016", "1") in new stack
-- Executing [7998@from-internal:8] Congestion("SIP/CCM-00000016", "20") in new stack
== Spawn extension (from-internal, 7998, 8) exited non-zero on 'SIP/CCM-00000016'
-- Executing [h@from-internal:1] Macro("SIP/CCM-00000016", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/CCM-00000016", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/CCM-00000016", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/CCM-00000016", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("SIP/CCM-00000016", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/CCM-00000016", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("SIP/CCM-00000016", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("SIP/CCM-00000016", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("SIP/CCM-00000016", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("SIP/CCM-00000016", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("SIP/CCM-00000016", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("SIP/CCM-00000016", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("SIP/CCM-00000016", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/CCM-00000016>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("SIP/CCM-00000016", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/CCM-00000016' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/CCM-00000016'
elastix*CLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [7998@from-internal:1] ResetCDR("SIP/CCM-00000016", "") in new stack
-- Executing [7998@from-internal:2] NoCDR("SIP/CCM-00000016", "") in new stack
-- Executing [7998@from-internal:3] Progress("SIP/CCM-00000016", "") in new stack
-- Executing [7998@from-internal:4] Wait("SIP/CCM-00000016", "1") in new stack
-- Executing [7998@from-internal:5] Progress("SIP/CCM-00000016", "") in new stack
-- Executing [7998@from-internal:6] Playback("SIP/CCM-00000016", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
-- <SIP/CCM-00000016> Playing 'silence/1.gsm' (language 'en')
-- <SIP/CCM-00000016> Playing 'cannot-complete-as-dialed.gsm' (language 'en')
-- <SIP/CCM-00000016> Playing 'check-number-dial-again.gsm' (language 'en')
-- Executing [7998@from-internal:7] Wait("SIP/CCM-00000016", "1") in new stack
-- Executing [7998@from-internal:8] Congestion("SIP/CCM-00000016", "20") in new stack
== Spawn extension (from-internal, 7998, 8) exited non-zero on 'SIP/CCM-00000016'
-- Executing [h@from-internal:1] Macro("SIP/CCM-00000016", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/CCM-00000016", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/CCM-00000016", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/CCM-00000016", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("SIP/CCM-00000016", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/CCM-00000016", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("SIP/CCM-00000016", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("SIP/CCM-00000016", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("SIP/CCM-00000016", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("SIP/CCM-00000016", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("SIP/CCM-00000016", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("SIP/CCM-00000016", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("SIP/CCM-00000016", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/CCM-00000016>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("SIP/CCM-00000016", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/CCM-00000016' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/CCM-00000016'
elastix*CLI>