Приветствую всех присутствующих! уважаемые!
Дано: эластик 2.5
на сабже настроено ivr которое предлагает донабрать номер (чтоб позвонивший мог попасть на сотрудника напрямую)
5 сип транков от ростелекома (на них подключены городские номера) - на эти же номера настроена переадресация с номера 8-800
вот какая беда: если человек позвонит на городской номер - донаберет допустим 123 - попадет к сотруднику. все хорошо.
если человек позвонит на 8-800 - донаберет номер - поговорит с сотрудником и сотрудник положит трубку - то сброса не произойдет. человек попадет снова в ивр меню. как выяснилось - сбрасывается только переадресованная линия и человека скидывает на городскую линию.
вот лог:
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/u34342ХХХХХ-000017f8", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/u34342ХХХХХ-000017f8", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/u34342ХХХХХ-000017f8", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/u34342ХХХХХ-000017f8", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/u34342ХХХХХ-000017f8", "THISPART2=SIP/123") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/u34342ХХХХХ-000017f8", "0?Set(THISPART2=DAHDI/123)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/u34342ХХХХХ-000017f8", "NEWDIAL=SIP/123&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/u34342ХХХХХ-000017f8", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/u34342ХХХХХ-000017f8", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/u34342ХХХХХ-000017f8", "THISDIAL=SIP/123") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/u34342ХХХХХ-000017f8", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/u34342ХХХХХ-000017f8", "DSTRING=SIP/123&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/u34342ХХХХХ-000017f8", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/u34342ХХХХХ-000017f8", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/u34342ХХХХХ-000017f8", "DSTRING=SIP/123") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/u34342ХХХХХ-000017f8", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/u34342ХХХХХ-000017f8", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/u34342ХХХХХ-000017f8", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/u34342ХХХХХ-000017f8", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/u34342ХХХХХ-000017f8", "DB(CALLTRACE/123)=89222922ХХХ") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/u34342ХХХХХ-000017f8", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/u34342ХХХХХ-000017f8", "D_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/u34342ХХХХХ-000017f8", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/u34342ХХХХХ-000017f8", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/u34342ХХХХХ-000017f8", "1?Set(CHANNEL(musicclass)=default)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/u34342ХХХХХ-000017f8", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/u34342ХХХХХ-000017f8", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/u34342ХХХХХ-000017f8", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/u34342ХХХХХ-000017f8", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("SIP/u34342ХХХХХ-000017f8", "1?godial") in new stack
-- Goto (macro-dial-one,s,42)
-- Executing [s@macro-dial-one:42] Dial("SIP/u34342ХХХХХ-000017f8", "SIP/123,15,Ttr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/123
-- SIP/123-000017fb is ringing
-- SIP/123-000017fb answered SIP/u34342ХХХХХ-000017f8
> 0x2b39d80c6350 -- Probation passed - setting RTP source address to 192.168.4.45:10050
-- Executing [h@macro-dial-one:1] Macro("SIP/u34342ХХХХХ-000017f8", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/u34342ХХХХХ-000017f8", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/u34342ХХХХХ-000017f8", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/u34342ХХХХХ-000017f8", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("SIP/u34342ХХХХХ-000017f8", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/u34342ХХХХХ-000017f8", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("SIP/u34342ХХХХХ-000017f8", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("SIP/u34342ХХХХХ-000017f8", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("SIP/u34342ХХХХХ-000017f8", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("SIP/u34342ХХХХХ-000017f8", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("SIP/u34342ХХХХХ-000017f8", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("SIP/u34342ХХХХХ-000017f8", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("SIP/u34342ХХХХХ-000017f8", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/u34342ХХХХХ-000017f8>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("SIP/u34342ХХХХХ-000017f8", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/u34342ХХХХХ-000017f8' in macro 'hangupcall'
== Spawn extension (macro-dial-one, h, 1) exited non-zero on 'SIP/u34342ХХХХХ-000017f8'
== Spawn extension (macro-dial-one, s, 42) exited non-zero on 'SIP/u34342ХХХХХ-000017f8' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 7) exited non-zero on 'SIP/u34342ХХХХХ-000017f8' in macro 'exten-vm'
== Spawn extension (ext-local, 123, 2) exited non-zero on 'SIP/u34342ХХХХХ-000017f8'