VIDEOCHAT  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

Запись разговора при сопровождаемом переводе

Проблемы Asterisk без вэб-оболочек и их решения

Модераторы: april22, Zavr2008

Ответить
gaspaarr
Сообщения: 217
Зарегистрирован: 17 сен 2014, 21:20

Запись разговора при сопровождаемом переводе

Сообщение gaspaarr »

FreePBX 12.0.33 + Asterisk 11.15
Запись звонков включена для ext (исходящие внутренние\исходящие внешние), и для входящих с транков

Проблема при сопровождаемом переводе звонка. Исходящий внешний звонок от внутреннего абонента А -- при сопровождаемом переводе на другого внутреннего абонента В запись продолжается до момента пока А не положил трубку.

Если включить запись входящих звонков для ext и оставить записи входящих с транков то получу дублирование записей?

Поделитесь, кто как решает эту проблему.
gaspaarr
Сообщения: 217
Зарегистрирован: 17 сен 2014, 21:20

Re: Запись разговора при сопровождаемом переводе

Сообщение gaspaarr »

Если включить запись входящих звонков для ext и оставить записи входящих с транков то получу дублирование записей?
Никакого дублирования не получаю, равно как и продолжения записи переведенных разговоров...
Аватара пользователя
zzuz
Сообщения: 1658
Зарегистрирован: 21 сен 2010, 13:33
Контактная информация:

Re: Запись разговора при сопровождаемом переводе

Сообщение zzuz »

Проблема решается запретом перевода средствами аппарата . используйте перевод средствами сервера через *2.
Линия24 - Системы Массового Телефонного Обслуживания
gaspaarr
Сообщения: 217
Зарегистрирован: 17 сен 2014, 21:20

Re: Запись разговора при сопровождаемом переводе

Сообщение gaspaarr »

Я и перевожу не через аппарат, а через "feature codes" In-Call Asterisk Attended Transfer, правда у меня это **, а не *2... может где-то hard coded именно *2? Попробовал и с дефалтовым *2, тоже самое.

Код: Выделить всё

  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [8905ZZZZZZ@XXXXXX-ALL:1] Macro("SIP/1991-00000904", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/1991-00000904", "TOUCH_MONITOR=1422385724.7921") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/1991-00000904", "AMPUSER=1991") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/1991-00000904", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/1991-00000904", "1?Set(REALCALLERIDNUM=1991)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/1991-00000904", "AMPUSER=1991") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/1991-00000904", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/1991-00000904", "AMPUSERCIDNAME=999 Test") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/1991-00000904", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/1991-00000904", "AMPUSERCID=1991") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/1991-00000904", "__DIAL_OPTIONS=TtrL(900000:60000:30000)") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/1991-00000904", "CALLERID(all)="999 Test" <1991>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/1991-00000904", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/1991-00000904", "1?Set(GROUP(concurrency_limit)=1991)") in new stack
    -- Executing [s@macro-user-callerid:14] GosubIf("SIP/1991-00000904", "7?sub-ccss,s,1(XXXXXX-ALL,8905ZZZZZZ)") in new stack
    -- Executing [s@sub-ccss:1] ExecIf("SIP/1991-00000904", "0?Return()") in new stack
    -- Executing [s@sub-ccss:2] Set("SIP/1991-00000904", "CCSS_SETUP=TRUE") in new stack
    -- Executing [s@sub-ccss:3] GosubIf("SIP/1991-00000904", "0?monitor_config,1(XXXXXX-ALL,8905ZZZZZZ):monitor_default,1(XXXXXX-ALL,8905ZZZZZZ)") in new stack
    -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/1991-00000904", "0?is_exten") in new stack
    -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/1991-00000904", "") in new stack
    -- Executing [monitor_default@sub-ccss:3] Return("SIP/1991-00000904", "FALSE") in new stack
    -- Executing [s@macro-user-callerid:15] ExecIf("SIP/1991-00000904", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("SIP/1991-00000904", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,30)
    -- Executing [s@macro-user-callerid:30] Set("SIP/1991-00000904", "CALLERID(number)=1991") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/1991-00000904", "CALLERID(name)=999 Test") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/1991-00000904", "CDR(cnum)=1991") in new stack
    -- Executing [s@macro-user-callerid:33] Set("SIP/1991-00000904", "CDR(cnam)=999 Test") in new stack
    -- Executing [s@macro-user-callerid:34] Set("SIP/1991-00000904", "CHANNEL(language)=ru") in new stack
    -- Executing [8905ZZZZZZ@XXXXXX-ALL:2] Gosub("SIP/1991-00000904", "sub-record-check,s,1(out,8905ZZZZZZ,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("SIP/1991-00000904", "0?initialized") in new stack
    -- Executing [s@sub-record-check:2] Set("SIP/1991-00000904", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:3] Set("SIP/1991-00000904", "NOW=1422385724") in new stack
    -- Executing [s@sub-record-check:4] Set("SIP/1991-00000904", "__DAY=27") in new stack
    -- Executing [s@sub-record-check:5] Set("SIP/1991-00000904", "__MONTH=01") in new stack
    -- Executing [s@sub-record-check:6] Set("SIP/1991-00000904", "__YEAR=2015") in new stack
    -- Executing [s@sub-record-check:7] Set("SIP/1991-00000904", "__TIMESTR=20150127-220844") in new stack
    -- Executing [s@sub-record-check:8] Set("SIP/1991-00000904", "__FROMEXTEN=1991") in new stack
    -- Executing [s@sub-record-check:9] Set("SIP/1991-00000904", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:10] NoOp("SIP/1991-00000904", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("SIP/1991-00000904", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("SIP/1991-00000904", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("SIP/1991-00000904", "3?checkaction") in new stack
    -- Goto (sub-record-check,s,16)
    -- Executing [s@sub-record-check:16] GotoIf("SIP/1991-00000904", "1?sub-record-check,out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] NoOp("SIP/1991-00000904", "Outbound Recording Check from 1991 to 8905ZZZZZZ") in new stack
    -- Executing [out@sub-record-check:2] Set("SIP/1991-00000904", "RECMODE=force") in new stack
    -- Executing [out@sub-record-check:3] ExecIf("SIP/1991-00000904", "0?Goto(routewins)") in new stack
    -- Executing [out@sub-record-check:4] ExecIf("SIP/1991-00000904", "0?Goto(routewins)") in new stack
    -- Executing [out@sub-record-check:5] Gosub("SIP/1991-00000904", "recordcheck,1(force,out,8905ZZZZZZ)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/1991-00000904", "Starting recording check against force") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("SIP/1991-00000904", "force") in new stack
    -- Goto (sub-record-check,recordcheck,5)
    -- Executing [recordcheck@sub-record-check:5] Set("SIP/1991-00000904", "__REC_POLICY_MODE=FORCE") in new stack
    -- Executing [recordcheck@sub-record-check:6] GotoIf("SIP/1991-00000904", "1?startrec") in new stack
    -- Goto (sub-record-check,recordcheck,16)
    -- Executing [recordcheck@sub-record-check:16] NoOp("SIP/1991-00000904", "Starting recording: out, 8905ZZZZZZ") in new stack
    -- Executing [recordcheck@sub-record-check:17] Set("SIP/1991-00000904", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
    -- Executing [recordcheck@sub-record-check:18] Set("SIP/1991-00000904", "__CALLFILENAME=out-8905ZZZZZZ-1991-20150127-220844-1422385724.7921") in new stack
    -- Executing [recordcheck@sub-record-check:19] MixMonitor("SIP/1991-00000904", "2015/01/27/out-8905ZZZZZZ-1991-20150127-220844-1422385724.7921.wav,ai(LOCAL_MIXMON_ID),") in new stack
    -- Executing [recordcheck@sub-record-check:20] Set("SIP/1991-00000904", "__MIXMON_ID=0x21928c0") in new stack
    -- Executing [recordcheck@sub-record-check:21] Set("SIP/1991-00000904", "__RECORD_ID=SIP/1991-00000904") in new stack
    -- Executing [recordcheck@sub-record-check:22] Set("SIP/1991-00000904", "__REC_STATUS=RECORDING") in new stack
    -- Executing [recordcheck@sub-record-check:23] Set("SIP/1991-00000904", "CDR(recordingfile)=out-8905ZZZZZZ-1991-20150127-220844-1422385724.7921.wav") in new stack
    -- Executing [recordcheck@sub-record-check:24] Return("SIP/1991-00000904", "") in new stack
    -- Executing [out@sub-record-check:6] Return("SIP/1991-00000904", "") in new stack
    -- Executing [8905ZZZZZZ@XXXXXX-ALL:3] ExecIf("SIP/1991-00000904", "0 ?Set(CDR(accountcode)=)") in new stack
    -- Executing [8905ZZZZZZ@XXXXXX-ALL:4] Set("SIP/1991-00000904", "MOHCLASS=default") in new stack
    -- Executing [8905ZZZZZZ@XXXXXX-ALL:5] Set("SIP/1991-00000904", "_NODEST=") in new stack
    -- Executing [8905ZZZZZZ@XXXXXX-ALL:6] Macro("SIP/1991-00000904", "dialout-trunk,9,8905ZZZZZZ,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/1991-00000904", "DIAL_TRUNK=9") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1991-00000904", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1991-00000904", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/1991-00000904", "DIAL_NUMBER=8905ZZZZZZ") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/1991-00000904", "DIAL_TRUNK_OPTIONS=TtrL(900000:60000:30000)") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/1991-00000904", "OUTBOUND_GROUP=OUT_9") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1991-00000904", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1991-00000904", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/1991-00000904", "DIAL_TRUNK_OPTIONS=TL(720000:60000:30500)") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/1991-00000904", "outbound-callerid,9") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1991-00000904", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1991-00000904", "0?Set(REALCALLERIDNUM=1991)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1991-00000904", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/1991-00000904", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/1991-00000904", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/1991-00000904", "TRUNKOUTCID=8499XXXXXX") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1991-00000904", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,14)
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1991-00000904", "1?Set(CALLERID(all)=8499XXXXXX)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/1991-00000904", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/1991-00000904", "1?Set(CALLERID(all)=8499XXXXXX)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/1991-00000904", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:18] Set("SIP/1991-00000904", "CDR(outbound_cnum)=8499XXXXXX") in new stack
    -- Executing [s@macro-outbound-callerid:19] Set("SIP/1991-00000904", "CDR(outbound_cnam)=") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/1991-00000904", "0?sub-flp-9,s,1()") in new stack
  == Begin MixMonitor Recording SIP/1991-00000904
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/1991-00000904", "OUTNUM=8905ZZZZZZ") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/1991-00000904", "custom=SIP/BAZA-XXXXXX") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1991-00000904", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)TL(720000:60000:30500))") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/1991-00000904", "0?Set(DIAL_TRUNK_OPTIONS=TL(720000:60000:30500)M(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/1991-00000904", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1991-00000904", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1991-00000904", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/1991-00000904", "1?Set(CONNECTEDLINE(num,i)=8905ZZZZZZ)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/1991-00000904", "1?Set(CONNECTEDLINE(name,i)=CID:8499XXXXXX)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/1991-00000904", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:22] Dial("SIP/1991-00000904", "SIP/BAZA-XXXXXX/8905ZZZZZZ,300,TL(720000:60000:30500)") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/BAZA-XXXXXX/8905ZZZZZZ
    -- SIP/BAZA-XXXXXX-00000905 is ringing
    -- SIP/BAZA-XXXXXX-00000905 is making progress passing it to SIP/1991-00000904
    -- Got SIP response 480 "Temporarily unavailable" back from 213.85.168.52:5060
    -- SIP/BAZA-XXXXXX-00000905 is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [s@macro-dialout-trunk:23] NoOp("SIP/1991-00000904", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 19") in new stack
    -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/1991-00000904", "0?continue,1:s-CONGESTION,1") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,1)
    -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/1991-00000904", "RC=19") in new stack
    -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/1991-00000904", "19,1") in new stack
    -- Goto (macro-dialout-trunk,19,1)
    -- Executing [19@macro-dialout-trunk:1] Goto("SIP/1991-00000904", "continue,1") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/1991-00000904", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 19 - failing through to other trunks") in new stack
    -- Executing [continue@macro-dialout-trunk:2] Set("SIP/1991-00000904", "CALLERID(number)=1991") in new stack
    -- Executing [8905ZZZZZZ@XXXXXX-ALL:7] Macro("SIP/1991-00000904", "dialout-trunk,15,8905ZZZZZZ,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/1991-00000904", "DIAL_TRUNK=15") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1991-00000904", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1991-00000904", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/1991-00000904", "DIAL_NUMBER=8905ZZZZZZ") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/1991-00000904", "DIAL_TRUNK_OPTIONS=TtrL(900000:60000:30000)") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/1991-00000904", "OUTBOUND_GROUP=OUT_15") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1991-00000904", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1991-00000904", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/1991-00000904", "DIAL_TRUNK_OPTIONS=TL(720000:60000:30500)") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/1991-00000904", "outbound-callerid,15") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1991-00000904", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1991-00000904", "0?Set(REALCALLERIDNUM=1991)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1991-00000904", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/1991-00000904", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/1991-00000904", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/1991-00000904", "TRUNKOUTCID=7499XXXXXX") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1991-00000904", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,14)
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1991-00000904", "1?Set(CALLERID(all)=7499XXXXXX)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/1991-00000904", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/1991-00000904", "1?Set(CALLERID(all)=7499XXXXXX)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/1991-00000904", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:18] Set("SIP/1991-00000904", "CDR(outbound_cnum)=7499XXXXXX") in new stack
    -- Executing [s@macro-outbound-callerid:19] Set("SIP/1991-00000904", "CDR(outbound_cnam)=") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/1991-00000904", "0?sub-flp-15,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/1991-00000904", "OUTNUM=8905ZZZZZZ") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/1991-00000904", "custom=SIP/CHEAP-XXXXXX") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1991-00000904", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)TL(720000:60000:30500))") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/1991-00000904", "0?Set(DIAL_TRUNK_OPTIONS=TL(720000:60000:30500)M(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/1991-00000904", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1991-00000904", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1991-00000904", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/1991-00000904", "1?Set(CONNECTEDLINE(num,i)=8905ZZZZZZ)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/1991-00000904", "1?Set(CONNECTEDLINE(name,i)=CID:7499XXXXXX)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/1991-00000904", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:22] Dial("SIP/1991-00000904", "SIP/CHEAP-XXXXXX/8905ZZZZZZ,300,TL(720000:60000:30500)") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/CHEAP-XXXXXX/8905ZZZZZZ
    -- Got SIP response 503 "Service Unavailable" back from 85.195.99.195:5060
    -- SIP/CHEAP-XXXXXX-00000906 is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [s@macro-dialout-trunk:23] NoOp("SIP/1991-00000904", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack
    -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/1991-00000904", "0?continue,1:s-CONGESTION,1") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,1)
    -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/1991-00000904", "RC=34") in new stack
    -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/1991-00000904", "34,1") in new stack
    -- Goto (macro-dialout-trunk,34,1)
    -- Executing [34@macro-dialout-trunk:1] Goto("SIP/1991-00000904", "continue,1") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/1991-00000904", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks") in new stack
    -- Executing [continue@macro-dialout-trunk:2] Set("SIP/1991-00000904", "CALLERID(number)=1991") in new stack
    -- Executing [8905ZZZZZZ@XXXXXX-ALL:8] Macro("SIP/1991-00000904", "dialout-trunk,7,8905ZZZZZZ,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/1991-00000904", "DIAL_TRUNK=7") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1991-00000904", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1991-00000904", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/1991-00000904", "DIAL_NUMBER=8905ZZZZZZ") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/1991-00000904", "DIAL_TRUNK_OPTIONS=TtrL(900000:60000:30000)") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/1991-00000904", "OUTBOUND_GROUP=OUT_7") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1991-00000904", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1991-00000904", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/1991-00000904", "DIAL_TRUNK_OPTIONS=TL(720000:60000:30500)") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/1991-00000904", "outbound-callerid,7") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1991-00000904", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1991-00000904", "0?Set(REALCALLERIDNUM=1991)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1991-00000904", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/1991-00000904", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/1991-00000904", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/1991-00000904", "TRUNKOUTCID=7499XXXXXX") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1991-00000904", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,14)
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1991-00000904", "1?Set(CALLERID(all)=7499XXXXXX)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/1991-00000904", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/1991-00000904", "1?Set(CALLERID(all)=7499XXXXXX)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/1991-00000904", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:18] Set("SIP/1991-00000904", "CDR(outbound_cnum)=7499XXXXXX") in new stack
    -- Executing [s@macro-outbound-callerid:19] Set("SIP/1991-00000904", "CDR(outbound_cnam)=") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/1991-00000904", "0?sub-flp-7,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/1991-00000904", "OUTNUM=8905ZZZZZZ") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/1991-00000904", "custom=SIP/SIPNET-XXXXXX") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1991-00000904", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)TL(720000:60000:30500))") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/1991-00000904", "0?Set(DIAL_TRUNK_OPTIONS=TL(720000:60000:30500)M(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/1991-00000904", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1991-00000904", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1991-00000904", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/1991-00000904", "1?Set(CONNECTEDLINE(num,i)=8905ZZZZZZ)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/1991-00000904", "1?Set(CONNECTEDLINE(name,i)=CID:7499XXXXXX)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/1991-00000904", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:22] Dial("SIP/1991-00000904", "SIP/SIPNET-XXXXXX/8905ZZZZZZ,300,TL(720000:60000:30500)") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/SIPNET-XXXXXX/8905ZZZZZZ
    -- SIP/SIPNET-XXXXXX-00000907 is making progress passing it to SIP/1991-00000904
    -- SIP/SIPNET-XXXXXX-00000907 answered SIP/1991-00000904

ТУТ Внешний абонент принял звонок 

    -- Started music on hold, class 'default', on SIP/SIPNET-XXXXXX-00000907
    -- <SIP/1991-00000904> Playing 'pbx-transfer.slin' (language 'ru')
    -- Executing [1999@from-internal-xfer:1] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "1?ext-local,1999,1") in new stack
    -- Goto (ext-local,1999,1)
    -- Executing [1999@ext-local:1] Set("Local/1999@from-internal-xfer-00000aef;2", "__RINGTIMER=20") in new stack
    -- Executing [1999@ext-local:2] Macro("Local/1999@from-internal-xfer-00000aef;2", "exten-vm,novm,1999,0,0,1") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("Local/1999@from-internal-xfer-00000aef;2", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("Local/1999@from-internal-xfer-00000aef;2", "TOUCH_MONITOR=1422385757.7926") in new stack
    -- Executing [s@macro-user-callerid:2] Set("Local/1999@from-internal-xfer-00000aef;2", "AMPUSER=7499XXXXXX") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("Local/1999@from-internal-xfer-00000aef;2", "1?Set(REALCALLERIDNUM=7499XXXXXX)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("Local/1999@from-internal-xfer-00000aef;2", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("Local/1999@from-internal-xfer-00000aef;2", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "1?report") in new stack
    -- Goto (macro-user-callerid,s,16)
    -- Executing [s@macro-user-callerid:16] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:17] ExecIf("Local/1999@from-internal-xfer-00000aef;2", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
    -- Executing [s@macro-user-callerid:18] Set("Local/1999@from-internal-xfer-00000aef;2", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:19] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,30)
    -- Executing [s@macro-user-callerid:30] Set("Local/1999@from-internal-xfer-00000aef;2", "CALLERID(number)=7499XXXXXX") in new stack
    -- Executing [s@macro-user-callerid:31] Set("Local/1999@from-internal-xfer-00000aef;2", "CALLERID(name)=") in new stack
    -- Executing [s@macro-user-callerid:32] Set("Local/1999@from-internal-xfer-00000aef;2", "CDR(cnum)=7499XXXXXX") in new stack
    -- Executing [s@macro-user-callerid:33] Set("Local/1999@from-internal-xfer-00000aef;2", "CDR(cnam)=") in new stack
    -- Executing [s@macro-user-callerid:34] Set("Local/1999@from-internal-xfer-00000aef;2", "CHANNEL(language)=ru") in new stack
    -- Executing [s@macro-exten-vm:2] Set("Local/1999@from-internal-xfer-00000aef;2", "RingGroupMethod=none") in new stack
    -- Executing [s@macro-exten-vm:3] Set("Local/1999@from-internal-xfer-00000aef;2", "__EXTTOCALL=1999") in new stack
    -- Executing [s@macro-exten-vm:4] Set("Local/1999@from-internal-xfer-00000aef;2", "__PICKUPMARK=1999") in new stack
    -- Executing [s@macro-exten-vm:5] Set("Local/1999@from-internal-xfer-00000aef;2", "RT=20") in new stack
    -- Executing [s@macro-exten-vm:6] Gosub("Local/1999@from-internal-xfer-00000aef;2", "sub-record-check,s,1(exten,1999,)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "4?initialized") in new stack
    -- Goto (sub-record-check,s,10)
    -- Executing [s@sub-record-check:10] NoOp("Local/1999@from-internal-xfer-00000aef;2", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("Local/1999@from-internal-xfer-00000aef;2", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("Local/1999@from-internal-xfer-00000aef;2", "REC_POLICY_MODE_SAVE=FORCE") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "5?checkaction") in new stack
    -- Goto (sub-record-check,s,16)
    -- Executing [s@sub-record-check:16] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "1?sub-record-check,exten,1") in new stack
    -- Goto (sub-record-check,exten,1)
    -- Executing [exten@sub-record-check:1] NoOp("Local/1999@from-internal-xfer-00000aef;2", "Exten Recording Check between 1991 and 1999") in new stack
    -- Executing [exten@sub-record-check:2] Set("Local/1999@from-internal-xfer-00000aef;2", "CALLTYPE=internal") in new stack
    -- Executing [exten@sub-record-check:3] ExecIf("Local/1999@from-internal-xfer-00000aef;2", "0?Set(CALLTYPE=)") in new stack
    -- Executing [exten@sub-record-check:4] Set("Local/1999@from-internal-xfer-00000aef;2", "CALLEE=force") in new stack
    -- Executing [exten@sub-record-check:5] ExecIf("Local/1999@from-internal-xfer-00000aef;2", "0?Set(CALLEE=dontcare)") in new stack
    -- Executing [exten@sub-record-check:6] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "0?callee") in new stack
    -- Executing [exten@sub-record-check:7] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "0?caller") in new stack
    -- Executing [exten@sub-record-check:8] ExecIf("Local/1999@from-internal-xfer-00000aef;2", "2?Set(CALLER_PRI=10):Set(CALLER_PRI=0)") in new stack
    -- Executing [exten@sub-record-check:9] ExecIf("Local/1999@from-internal-xfer-00000aef;2", "2?Set(CALLEE_PRI=10):Set(CALLEE_PRI=0)") in new stack
    -- Executing [exten@sub-record-check:10] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "1?caller:callee") in new stack
    -- Goto (sub-record-check,exten,13)
    -- Executing [exten@sub-record-check:13] Set("Local/1999@from-internal-xfer-00000aef;2", "RECMODE=force") in new stack
    -- Executing [exten@sub-record-check:14] ExecIf("Local/1999@from-internal-xfer-00000aef;2", "0?Set(RECMODE=dontcare)") in new stack
    -- Executing [exten@sub-record-check:15] ExecIf("Local/1999@from-internal-xfer-00000aef;2", "0?Set(RECMODE=force)") in new stack
    -- Executing [exten@sub-record-check:16] Gosub("Local/1999@from-internal-xfer-00000aef;2", "recordcheck,1(force,internal,1999)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("Local/1999@from-internal-xfer-00000aef;2", "Starting recording check against force") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("Local/1999@from-internal-xfer-00000aef;2", "force") in new stack
    -- Goto (sub-record-check,recordcheck,5)
    -- Executing [recordcheck@sub-record-check:5] Set("Local/1999@from-internal-xfer-00000aef;2", "__REC_POLICY_MODE=FORCE") in new stack
    -- Executing [recordcheck@sub-record-check:6] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "0?startrec") in new stack
    -- Executing [recordcheck@sub-record-check:7] Return("Local/1999@from-internal-xfer-00000aef;2", "") in new stack
    -- Executing [exten@sub-record-check:17] Return("Local/1999@from-internal-xfer-00000aef;2", "") in new stack
    -- Executing [s@macro-exten-vm:7] Macro("Local/1999@from-internal-xfer-00000aef;2", "dial-one,20,TtrL(900000:60000:30000),1999") in new stack
    -- Executing [s@macro-dial-one:1] Set("Local/1999@from-internal-xfer-00000aef;2", "DEXTEN=1999") in new stack
    -- Executing [s@macro-dial-one:2] Set("Local/1999@from-internal-xfer-00000aef;2", "DIALSTATUS_CW=") in new stack
    -- Executing [s@macro-dial-one:3] GosubIf("Local/1999@from-internal-xfer-00000aef;2", "0?screen,1()") in new stack
    -- Executing [s@macro-dial-one:4] GosubIf("Local/1999@from-internal-xfer-00000aef;2", "0?cf,1()") in new stack
    -- Executing [s@macro-dial-one:5] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "1?skip1") in new stack
    -- Goto (macro-dial-one,s,8)
    -- Executing [s@macro-dial-one:8] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:9] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "0?continue") in new stack
    -- Executing [s@macro-dial-one:10] Set("Local/1999@from-internal-xfer-00000aef;2", "EXTHASCW=") in new stack
    -- Executing [s@macro-dial-one:11] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "1?next1:cwinusebusy") in new stack
    -- Goto (macro-dial-one,s,12)
    -- Executing [s@macro-dial-one:12] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "0?docfu:skip3") in new stack
    -- Goto (macro-dial-one,s,16)
    -- Executing [s@macro-dial-one:16] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "1?next2:continue") in new stack
    -- Goto (macro-dial-one,s,17)
    -- Executing [s@macro-dial-one:17] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "1?continue") in new stack
    -- Goto (macro-dial-one,s,25)
    -- Executing [s@macro-dial-one:25] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:26] GosubIf("Local/1999@from-internal-xfer-00000aef;2", "1?dstring,1():dlocal,1()") in new stack
    -- Executing [dstring@macro-dial-one:1] Set("Local/1999@from-internal-xfer-00000aef;2", "DSTRING=") in new stack
    -- Executing [dstring@macro-dial-one:2] Set("Local/1999@from-internal-xfer-00000aef;2", "DEVICES=1999") in new stack
    -- Executing [dstring@macro-dial-one:3] ExecIf("Local/1999@from-internal-xfer-00000aef;2", "0?Return()") in new stack
    -- Executing [dstring@macro-dial-one:4] ExecIf("Local/1999@from-internal-xfer-00000aef;2", "0?Set(DEVICES=999)") in new stack
    -- Executing [dstring@macro-dial-one:5] Set("Local/1999@from-internal-xfer-00000aef;2", "LOOPCNT=1") in new stack
    -- Executing [dstring@macro-dial-one:6] Set("Local/1999@from-internal-xfer-00000aef;2", "ITER=1") in new stack
    -- Executing [dstring@macro-dial-one:7] Set("Local/1999@from-internal-xfer-00000aef;2", "THISDIAL=SIP/1999") in new stack
    -- Executing [dstring@macro-dial-one:8] GosubIf("Local/1999@from-internal-xfer-00000aef;2", "1?zap2dahdi,1()") in new stack
    -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("Local/1999@from-internal-xfer-00000aef;2", "0?Return()") in new stack
    -- Executing [zap2dahdi@macro-dial-one:2] Set("Local/1999@from-internal-xfer-00000aef;2", "NEWDIAL=") in new stack
    -- Executing [zap2dahdi@macro-dial-one:3] Set("Local/1999@from-internal-xfer-00000aef;2", "LOOPCNT2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:4] Set("Local/1999@from-internal-xfer-00000aef;2", "ITER2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:5] Set("Local/1999@from-internal-xfer-00000aef;2", "THISPART2=SIP/1999") in new stack
    -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("Local/1999@from-internal-xfer-00000aef;2", "0?Set(THISPART2=DAHDI/1999)") in new stack
    -- Executing [zap2dahdi@macro-dial-one:7] Set("Local/1999@from-internal-xfer-00000aef;2", "NEWDIAL=SIP/1999&") in new stack
    -- Executing [zap2dahdi@macro-dial-one:8] Set("Local/1999@from-internal-xfer-00000aef;2", "ITER2=2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "0?begin2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:10] Set("Local/1999@from-internal-xfer-00000aef;2", "THISDIAL=SIP/1999") in new stack
    -- Executing [zap2dahdi@macro-dial-one:11] Return("Local/1999@from-internal-xfer-00000aef;2", "") in new stack
    -- Executing [dstring@macro-dial-one:9] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "1?doset") in new stack
    -- Goto (macro-dial-one,dstring,12)
    -- Executing [dstring@macro-dial-one:12] Set("Local/1999@from-internal-xfer-00000aef;2", "DSTRING=SIP/1999&") in new stack
    -- Executing [dstring@macro-dial-one:13] Set("Local/1999@from-internal-xfer-00000aef;2", "ITER=2") in new stack
    -- Executing [dstring@macro-dial-one:14] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "0?begin") in new stack
    -- Executing [dstring@macro-dial-one:15] Set("Local/1999@from-internal-xfer-00000aef;2", "DSTRING=SIP/1999") in new stack
    -- Executing [dstring@macro-dial-one:16] Return("Local/1999@from-internal-xfer-00000aef;2", "") in new stack
    -- Executing [s@macro-dial-one:27] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:28] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "0?skiptrace") in new stack
    -- Executing [s@macro-dial-one:29] GosubIf("Local/1999@from-internal-xfer-00000aef;2", "1?ctset,1():ctclear,1()") in new stack
    -- Executing [ctset@macro-dial-one:1] Set("Local/1999@from-internal-xfer-00000aef;2", "DB(CALLTRACE/1999)=7499XXXXXX") in new stack
    -- Executing [ctset@macro-dial-one:2] Return("Local/1999@from-internal-xfer-00000aef;2", "") in new stack
    -- Executing [s@macro-dial-one:30] Set("Local/1999@from-internal-xfer-00000aef;2", "D_OPTIONS=TtrL(900000:60000:30000)") in new stack
    -- Executing [s@macro-dial-one:31] ExecIf("Local/1999@from-internal-xfer-00000aef;2", "0?SIPAddHeader(Alert-Info: )") in new stack
    -- Executing [s@macro-dial-one:32] ExecIf("Local/1999@from-internal-xfer-00000aef;2", "0?SIPAddHeader()") in new stack
    -- Executing [s@macro-dial-one:33] ExecIf("Local/1999@from-internal-xfer-00000aef;2", "0?Set(CHANNEL(musicclass)=)") in new stack
    -- Executing [s@macro-dial-one:34] GosubIf("Local/1999@from-internal-xfer-00000aef;2", "0?qwait,1()") in new stack
    -- Executing [s@macro-dial-one:35] Set("Local/1999@from-internal-xfer-00000aef;2", "__CWIGNORE=") in new stack
    -- Executing [s@macro-dial-one:36] Set("Local/1999@from-internal-xfer-00000aef;2", "__KEEPCID=TRUE") in new stack
    -- Executing [s@macro-dial-one:37] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "0?usegoto,1") in new stack
    -- Executing [s@macro-dial-one:38] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "1?godial") in new stack
    -- Goto (macro-dial-one,s,43)
    -- Executing [s@macro-dial-one:43] Macro("Local/1999@from-internal-xfer-00000aef;2", "dialout-one-predial-hook,") in new stack
    -- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("Local/1999@from-internal-xfer-00000aef;2", "") in new stack
    -- Executing [s@macro-dial-one:44] Dial("Local/1999@from-internal-xfer-00000aef;2", "SIP/1999,20,TtrL(900000:60000:30000)") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/1999
    -- Local/1999@from-internal-xfer-00000aef;1 is ringing
    -- SIP/1999-00000908 is ringing
    -- Local/1999@from-internal-xfer-00000aef;1 is ringing
    -- SIP/1999-00000908 answered Local/1999@from-internal-xfer-00000aef;2

ТУТ Внутренний абонент на которого был сделан сопровождаемый перевод принял звонок

    -- Stopped music on hold on SIP/SIPNET-XXXXXX-00000907
    -- <Local/1999@from-internal-xfer-00000aef;1> Playing 'beep.slin' (language 'ru')
    -- Executing [h@macro-dialout-trunk:1] Macro("SIP/1991-00000904", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/1991-00000904", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("SIP/1991-00000904", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("SIP/1991-00000904", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/1991-00000904' in macro 'hangupcall'
  == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/1991-00000904'
  == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/1991-00000904' in macro 'dialout-trunk'
  == Spawn extension (XXXXXX-ALL, 8905ZZZZZZ, 8) exited non-zero on 'SIP/1991-00000904'
  == MixMonitor close filestream (mixed)
  == End MixMonitor Recording SIP/1991-00000904

ТУТ Внутренний абонент который делал внешний исходящий звонок положил трубку
Внутренний и внешний продолжили разговор, но уже без записи

    -- Executing [h@macro-dial-one:1] Macro("Local/1999@from-internal-xfer-00000aef;2", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("Local/1999@from-internal-xfer-00000aef;2", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("Local/1999@from-internal-xfer-00000aef;2", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("Local/1999@from-internal-xfer-00000aef;2", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Local/1999@from-internal-xfer-00000aef;2' in macro 'hangupcall'
  == Spawn extension (macro-dial-one, h, 1) exited non-zero on 'Local/1999@from-internal-xfer-00000aef;2'
  == Spawn extension (macro-dial-one, s, 44) exited non-zero on 'Local/1999@from-internal-xfer-00000aef;2' in macro 'dial-one'
  == Spawn extension (macro-exten-vm, s, 7) exited non-zero on 'Local/1999@from-internal-xfer-00000aef;2' in macro 'exten-vm'
  == Spawn extension (ext-local, 1999, 2) exited non-zero on 'Local/1999@from-internal-xfer-00000aef;2'
    -- Executing [h@from-internal-xfer:1] Macro("SIP/SIPNET-XXXXXX-00000907", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/SIPNET-XXXXXX-00000907", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("SIP/SIPNET-XXXXXX-00000907", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("SIP/SIPNET-XXXXXX-00000907", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/SIPNET-XXXXXX-00000907' in macro 'hangupcall'
  == Spawn extension (from-internal-xfer, h, 1) exited non-zero on 'SIP/SIPNET-XXXXXX-00000907'
sip*CLI>
P.S. Проверил так же на 12 и 13 версии, все точно так же. Плюс на них криво отрабатывают ошибки транков (sip 480 temporarily unavailable считается за busy). Пробовал 1.8 версию, но там даже перевод звонка не могу сделать, видимо какой-то совсем глобальный несрост в конфигах. Вообще удивительно, для кого пишут эти версии и кто их пользует? Казалось бы, уж перебор транков то при недоступности, важнейшая задача, так вот с 11 версии, получается, что это не работает!
gaspaarr
Сообщения: 217
Зарегистрирован: 17 сен 2014, 21:20

Re: Запись разговора при сопровождаемом переводе

Сообщение gaspaarr »

Ооо... такая же фигня и при слепом (несопровождаемом) переводе по ##...
Samael28
Сообщения: 1057
Зарегистрирован: 08 янв 2011, 18:32
Откуда: Киев
Контактная информация:

Re: Запись разговора при сопровождаемом переводе

Сообщение Samael28 »

AUDIOHOOK_INHERIT
Мой профайл на Upwork
gaspaarr
Сообщения: 217
Зарегистрирован: 17 сен 2014, 21:20

Re: Запись разговора при сопровождаемом переводе

Сообщение gaspaarr »

AUDIOHOOK_INHERIT устанавливается на канале. Это означает, что, если при ВХОДЯЩЕМ звонке, на канале абонента включаем AUDIOHOOK_INHERIT то у нас будет записан и разговор абонента с оператором1 и разговор абонента с оператором2

Но при ИСХОДЯЩЕМ звонке, AUDIOHOOK_INHERIT включаем на канале оператора1, который разрушается при трансфере абонента на оператора2. В следствии чего и отсутствует запись разговора оператора2+абонент, но есть запись оператор1+абонент.
Ответить
© 2008 — 2025 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH