пуляем номер например на 5000
добавляю новый входящий маршрут, где DID 5000 и направляю на announcements.
Код: Выделить всё
-- Executing [5000@tna:1] ResetCDR("SIP/204-00000660", "") in new stack
-- Executing [5000@tna:2] NoCDR("SIP/204-00000660", "") in new stack
-- Executing [5000@tna:3] Progress("SIP/204-00000660", "") in new stack
-- Executing [5000@tna:4] Wait("SIP/204-00000660", "1") in new stack
-- Executing [5000@tna:5] Progress("SIP/204-00000660", "") in new stack
-- Executing [5000@tna:6] Playback("SIP/204-00000660", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
-- <SIP/204-00000660> Playing 'silence/1.gsm' (language 'en')
-- <SIP/204-00000660> Playing 'cannot-complete-as-dialed.gsm' (language 'en')
-- <SIP/204-00000660> Playing 'check-number-dial-again.gsm' (language 'en')
-- Executing [5000@tna:7] Wait("SIP/204-00000660", "1") in new stack
-- Executing [5000@tna:8] Congestion("SIP/204-00000660", "20") in new stack
[Jan 17 22:41:16] WARNING[18960]: channel.c:3477 ast_prod: Prodding channel 'SIP/204-00000660' failed
== Spawn extension (tna, 5000, 8) exited non-zero on 'SIP/204-00000660'
-- Executing [h@tna:1] Macro("SIP/204-00000660", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/204-00000660", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/204-00000660", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/204-00000660", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/204-00000660", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/204-00000660' in macro 'hangupcall'
== Spawn extension (tna, h, 1) exited non-zero on 'SIP/204-00000660'
m
в User1 сип юзер 109
Если диалпланом направить вызов на спа3102 не на 5000, а на 109, то в принципе все работает, но хочется входящей маршрутизацией рулить на астериске. Контексты на 109 и 204 одинаковые