Подскажите, если совершить звонок внутри офиса с одного номера на другой и на последнем выполнить пере направление звонка на внешний номер, то звонок уходит нормально. Но, если совершить звонок во внутренню сеть и затем его попытаться перенаправить, то звонок просто скидывается. Звонок перенаправляю используя blind transfer.
В логе при этом:
Код: Выделить всё
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] features.c: -- Blind transferring SIP/mf_305-0000398b to '7<номер кому хочу отправить звонок>' (context from-internal-xfer) priority 1
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] res_musiconhold.c: -- Stopped music on hold on SIP/mf_305-0000398b
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] app_macro.c: == Channel 'SIP/mf_305-0000398b' jumping out of macro 'dial-one'
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] app_macro.c: == Channel 'SIP/mf_305-0000398b' jumping out of macro 'exten-vm'
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [7<номер кому хочу отправить звонок>@from-internal-xfer:1] Macro("SIP/mf_305-0000398b", "user-callerid,SKIPTTL,") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/mf_305-0000398b", "AMPUSER=7<номер от кого пришел звонок изначально>") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/mf_305-0000398b", "0?report") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/mf_305-0000398b", "0?Set(REALCALLERIDNUM=7<номер от кого пришел звонок изначально>)") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-user-callerid:4] Set("SIP/mf_305-0000398b", "AMPUSER=") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/mf_305-0000398b", "AMPUSERCIDNAME=") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/mf_305-0000398b", "1?report") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Goto (macro-user-callerid,s,10)
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-user-callerid:10] GotoIf("SIP/mf_305-0000398b", "1?continue") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Goto (macro-user-callerid,s,19)
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-user-callerid:19] Set("SIP/mf_305-0000398b", "CALLERID(number)=7<номер от кого пришел звонок изначально>") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-user-callerid:20] Set("SIP/mf_305-0000398b", "CALLERID(name)=test_phone_(Иванов_Иван_Ива") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-user-callerid:21] NoOp("SIP/mf_305-0000398b", "Using CallerID "test_phone_(Иванов_Иван_Ива" <7<номер от кого пришел звонок изначально>>") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Auto fallthrough, channel 'SIP/mf_305-0000398b' status is 'ANSWER'
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [h@from-internal-xfer:1] Macro("SIP/mf_305-0000398b", "hangupcall") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/mf_305-0000398b", "1?endmixmoncheck") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Goto (macro-hangupcall,s,9)
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-hangupcall:9] NoOp("SIP/mf_305-0000398b", "End of MIXMON check") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-hangupcall:10] GotoIf("SIP/mf_305-0000398b", "1?nomeetmemon") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Goto (macro-hangupcall,s,28)
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-hangupcall:28] NoOp("SIP/mf_305-0000398b", "End of MEETME check") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-hangupcall:29] GotoIf("SIP/mf_305-0000398b", "1?noautomon") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Goto (macro-hangupcall,s,34)
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-hangupcall:34] NoOp("SIP/mf_305-0000398b", "TOUCH_MONITOR_OUTPUT=") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-hangupcall:35] GotoIf("SIP/mf_305-0000398b", "1?noautomon2") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Goto (macro-hangupcall,s,41)
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-hangupcall:41] NoOp("SIP/mf_305-0000398b", "MONITOR_FILENAME=") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-hangupcall:42] GotoIf("SIP/mf_305-0000398b", "1?skiprg") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Goto (macro-hangupcall,s,45)
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-hangupcall:45] GotoIf("SIP/mf_305-0000398b", "1?skipblkvm") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Goto (macro-hangupcall,s,48)
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-hangupcall:48] GotoIf("SIP/mf_305-0000398b", "1?theend") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Goto (macro-hangupcall,s,50)
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-hangupcall:50] AGI("SIP/mf_305-0000398b", "hangup.agi") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] res_agi.c: -- <SIP/mf_305-0000398b>AGI Script hangup.agi completed, returning 0
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: -- Executing [s@macro-hangupcall:51] Hangup("SIP/mf_305-0000398b", "") in new stack
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] app_macro.c: == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/mf_305-0000398b' in macro 'hangupcall'
[2019-04-03 13:36:37] VERBOSE[13900][C-00001670] pbx.c: == Spawn extension (from-internal-xfer, h, 1) exited non-zero on 'SIP/mf_305-0000398b'