ВидеоКонф(ВКС)  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

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

Новичком считается только что прочитавший «Астериск - будущее телефонии»
http://asterisk.ru/knowledgebase/books
и пытающийся сделать большее

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

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

Сообщение BorisTheBlade » 14 май 2018, 20:49

Поменять вторую строку с
Код: выделить все
exten => s,n,GotoIf($["${BLINDTRANSFER}" = ""]?check)

на
Код: выделить все
exten => s,n,GotoIf($["${BLINDTRANSFER}" = ""]?:check)

или даже на
Код: выделить все
exten => s,n,GotoIf($["${BLINDTRANSFER}${ATTENDEDTRANSFER}" = ""]?:check)


И весь контекст поместить в extensions_override
подробнее тут -
https://community.freepbx.org/t/call-monitoring-stops-when-call-is-tranferred-internally/8257/15
BorisTheBlade
 
Сообщений: 167
Зарегистрирован: 14 фев 2011, 15:24

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

Сообщение yur4ik » 15 май 2018, 12:30

Огромное спасибо , за терпение и подробное обьяснение , все заработало , есть запись всего звонка .
P.S. Правда запись в CDR все равно происходит дважды с тем же файлом , т.е. принятый звонок и переведенный .
yur4ik
 
Сообщений: 97
Зарегистрирован: 18 фев 2013, 16:56
Откуда: Израиль , Тель-Авив

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

Сообщение yur4ik » 15 май 2018, 13:34

При проверке оказалось что "отвалилась" , при внесенных изменениях , запись parking calls . Т.е. я вижу запись , но она состоит только из разговора того кто "снял" звонок с парковки , причем дважды тот же кусок разговора и отстутствует кусок начала разговора , до его "парковки" .

[Показать] Спойлер: Parking Call
Executing [0733735925@from-trunk-sip-shaham-012-in:1] Set("SIP/shaham-012-in-00000013", "GROUP()=OUT_4") in new stack
-- Executing [0733735925@from-trunk-sip-shaham-012-in:2] Goto("SIP/shaham-012-in-00000013", "from-trunk,0733735925,1") in new stack
-- Goto (from-trunk,0733735925,1)
-- Executing [0733735925@from-trunk:1] Set("SIP/shaham-012-in-00000013", "__FROM_DID=0733735925") in new stack
-- Executing [0733735925@from-trunk:2] Gosub("SIP/shaham-012-in-00000013", "app-blacklist-check,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/shaham-012-in-00000013", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/shaham-012-in-00000013", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/shaham-012-in-00000013", "") in new stack
-- Executing [0733735925@from-trunk:3] Set("SIP/shaham-012-in-00000013", "CDR(did)=0733735925") in new stack
-- Executing [0733735925@from-trunk:4] ExecIf("SIP/shaham-012-in-00000013", "0 ?Set(CALLERID(name)=0528891914)") in new stack
-- Executing [0733735925@from-trunk:5] Set("SIP/shaham-012-in-00000013", "CHANNEL(musicclass)=default") in new stack
-- Executing [0733735925@from-trunk:6] Set("SIP/shaham-012-in-00000013", "__MOHCLASS=default") in new stack
-- Executing [0733735925@from-trunk:7] Set("SIP/shaham-012-in-00000013", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [0733735925@from-trunk:8] Set("SIP/shaham-012-in-00000013", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [0733735925@from-trunk:9] Goto("SIP/shaham-012-in-00000013", "from-did-direct,777,1") in new stack
-- Goto (from-did-direct,777,1)
-- Executing [777@from-did-direct:1] GotoIf("SIP/shaham-012-in-00000013", "1?ext-local,777,1") in new stack
-- Goto (ext-local,777,1)
-- Executing [777@ext-local:1] Set("SIP/shaham-012-in-00000013", "__RINGTIMER=30") in new stack
-- Executing [777@ext-local:2] Macro("SIP/shaham-012-in-00000013", "exten-vm,novm,777,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/shaham-012-in-00000013", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/shaham-012-in-00000013", "TOUCH_MONITOR=1526376027.37") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/shaham-012-in-00000013", "AMPUSER=0528891914") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/shaham-012-in-00000013", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/shaham-012-in-00000013", "1?Set(REALCALLERIDNUM=0528891914)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/shaham-012-in-00000013", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/shaham-012-in-00000013", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/shaham-012-in-00000013", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/shaham-012-in-00000013", "1?report") in new stack
-- Goto (macro-user-callerid,s,15)
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/shaham-012-in-00000013", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] Set("SIP/shaham-012-in-00000013", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("SIP/shaham-012-in-00000013", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/shaham-012-in-00000013", "CALLERID(number)=0528891914") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/shaham-012-in-00000013", "CALLERID(name)=0528891914") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/shaham-012-in-00000013", "CDR(cnum)=0528891914") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/shaham-012-in-00000013", "CDR(cnam)=0528891914") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/shaham-012-in-00000013", "CHANNEL(language)=en") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/shaham-012-in-00000013", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/shaham-012-in-00000013", "__EXTTOCALL=777") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/shaham-012-in-00000013", "__PICKUPMARK=777") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/shaham-012-in-00000013", "RT=") in new stack
-- Executing [s@macro-exten-vm:6] Gosub("SIP/shaham-012-in-00000013", "sub-record-check,s,1(exten,777,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/shaham-012-in-00000013", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/shaham-012-in-00000013", "1?:check") in new stack
-- Executing [s@sub-record-check:3] ResetCDR("SIP/shaham-012-in-00000013", "") in new stack
-- Executing [s@sub-record-check:4] GotoIf("SIP/shaham-012-in-00000013", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/shaham-012-in-00000013", "__MON_FMT=gsm") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/shaham-012-in-00000013", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/shaham-012-in-00000013", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/shaham-012-in-00000013", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/shaham-012-in-00000013", "0?exten,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/shaham-012-in-00000013", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/shaham-012-in-00000013", "NOW=1526376027") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/shaham-012-in-00000013", "__DAY=15") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/shaham-012-in-00000013", "__MONTH=05") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/shaham-012-in-00000013", "__YEAR=2018") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/shaham-012-in-00000013", "__TIMESTR=20180515-122027") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/shaham-012-in-00000013", "__FROMEXTEN=0528891914") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/shaham-012-in-00000013", "__CALLFILENAME=exten-777-0528891914-20180515-122027-1526376027.37") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/shaham-012-in-00000013", "exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] GotoIf("SIP/shaham-012-in-00000013", "0?callee") in new stack
-- Executing [exten@sub-record-check:2] Set("SIP/shaham-012-in-00000013", "__REC_POLICY_MODE=always") in new stack
-- Executing [exten@sub-record-check:3] GotoIf("SIP/shaham-012-in-00000013", "0?caller") in new stack
-- Executing [exten@sub-record-check:4] GotoIf("SIP/shaham-012-in-00000013", "1?callee") in new stack
-- Goto (sub-record-check,exten,8)
-- Executing [exten@sub-record-check:8] GosubIf("SIP/shaham-012-in-00000013", "1?record,1(exten,777,0528891914)") in new stack
-- Executing [record@sub-record-check:1] Set("SIP/shaham-012-in-00000013", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
-- Executing [record@sub-record-check:2] MixMonitor("SIP/shaham-012-in-00000013", "2018/05/15/exten-777-0528891914-20180515-122027-1526376027.37.gsm,,") in new stack
-- Executing [record@sub-record-check:3] Set("SIP/shaham-012-in-00000013", "__REC_STATUS=RECORDING") in new stack
-- Executing [record@sub-record-check:4] Set("SIP/shaham-012-in-00000013", "CDR(recordingfile)=exten-777-0528891914-20180515-122027-1526376027.37.gsm") in new stack
-- Executing [record@sub-record-check:5] Return("SIP/shaham-012-in-00000013", "") in new stack
-- Executing [exten@sub-record-check:9] Return("SIP/shaham-012-in-00000013", "") in new stack
-- Executing [s@macro-exten-vm:7] GotoIf("SIP/shaham-012-in-00000013", "1?macrodial") in new stack
-- Goto (macro-exten-vm,s,13)
-- Executing [s@macro-exten-vm:13] GosubIf("SIP/shaham-012-in-00000013", "0?clrheader,1()") in new stack
-- Executing [s@macro-exten-vm:14] Macro("SIP/shaham-012-in-00000013", "dial-one,,Ttr,777") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/shaham-012-in-00000013", "DEXTEN=777") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/shaham-012-in-00000013", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/shaham-012-in-00000013", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/shaham-012-in-00000013", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/shaham-012-in-00000013", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/shaham-012-in-00000013", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/shaham-012-in-00000013", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/shaham-012-in-00000013", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/shaham-012-in-00000013", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("SIP/shaham-012-in-00000013", "1?next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
== Begin MixMonitor Recording SIP/shaham-012-in-00000013
-- Executing [s@macro-dial-one:24] ExecIf("SIP/shaham-012-in-00000013", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [s@macro-dial-one:25] GotoIf("SIP/shaham-012-in-00000013", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/shaham-012-in-00000013", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/shaham-012-in-00000013", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/shaham-012-in-00000013", "DEVICES=777") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/shaham-012-in-00000013", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/shaham-012-in-00000013", "0?Set(DEVICES=77)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/shaham-012-in-00000013", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/shaham-012-in-00000013", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/shaham-012-in-00000013", "THISDIAL=SIP/777") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/shaham-012-in-00000013", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/shaham-012-in-00000013", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/shaham-012-in-00000013", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/shaham-012-in-00000013", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/shaham-012-in-00000013", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/shaham-012-in-00000013", "THISPART2=SIP/777") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/shaham-012-in-00000013", "0?Set(THISPART2=DAHDI/777)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/shaham-012-in-00000013", "NEWDIAL=SIP/777&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/shaham-012-in-00000013", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/shaham-012-in-00000013", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/shaham-012-in-00000013", "THISDIAL=SIP/777") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/shaham-012-in-00000013", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/shaham-012-in-00000013", "DSTRING=SIP/777&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/shaham-012-in-00000013", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/shaham-012-in-00000013", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/shaham-012-in-00000013", "DSTRING=SIP/777") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/shaham-012-in-00000013", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/shaham-012-in-00000013", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/shaham-012-in-00000013", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/shaham-012-in-00000013", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/shaham-012-in-00000013", "DB(CALLTRACE/777)=0528891914") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/shaham-012-in-00000013", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/shaham-012-in-00000013", "D_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/shaham-012-in-00000013", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/shaham-012-in-00000013", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/shaham-012-in-00000013", "1?Set(CHANNEL(musicclass)=default)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/shaham-012-in-00000013", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/shaham-012-in-00000013", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/shaham-012-in-00000013", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/shaham-012-in-00000013", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("SIP/shaham-012-in-00000013", "1?godial") in new stack
-- Goto (macro-dial-one,s,43)
-- Executing [s@macro-dial-one:43] Dial("SIP/shaham-012-in-00000013", "SIP/777,,Ttr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_START',{ts '2018-05-15 12:20:27'},'Voipe Telecom','777','','','','s','from-internal','SIP/777-00000014','','',3,'','1526376027.38','1526376027.37','','','')]
-- Called SIP/777
-- SIP/777-00000014 is ringing
-- SIP/777-00000014 answered SIP/shaham-012-in-00000013
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('ANSWER',{ts '2018-05-15 12:20:29'},'Voipe Telecom','777','777','','','777','from-internal','SIP/777-00000014','AppDial','(Outgoing Line)',3,'','1526376027.38','1526376027.37','','','')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('ANSWER',{ts '2018-05-15 12:20:29'},'0528891914','0528891914','0528891914','','0733735925','s','macro-dial-one','SIP/shaham-012-in-00000013','Dial','SIP/777,,Ttr',3,'','1526376027.37','1526376027.37','','','')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('BRIDGE_START',{ts '2018-05-15 12:20:29'},'0528891914','0528891914','0528891914','','0733735925','s','macro-dial-one','SIP/shaham-012-in-00000013','Dial','SIP/777,,Ttr',3,'','1526376027.37','1526376027.37','SIP/777-00000014','','')]
> 0x7fac0005f870 -- Probation passed - setting RTP source address to 82.80.216.112:19240
> 0x7fabf8025060 -- Probation passed - setting RTP source address to 62.219.153.186:11788
> 0x7fabf8025060 -- Probation passed - setting RTP source address to 62.219.153.186:11788
-- Started music on hold, class 'default', on SIP/shaham-012-in-00000013
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_START',{ts '2018-05-15 12:20:35'},'','','','','','s','macro-dial-one','Parking/SIP/shaham-012-in-00000013','','',3,'','1526376035.39','1526376027.37','','','')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_START',{ts '2018-05-15 12:20:35'},'','','','','','s','from-internal','SIPPeer/SIP/777-00000014','','',3,'','1526376035.40','1526376027.37','','','')]
-- Stopped music on hold on Parking/SIP/shaham-012-in-00000013<ZOMBIE>
-- Executing [h@macro-dial-one:1] Macro("Parking/SIP/shaham-012-in-00000013<ZOMBIE>", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Parking/SIP/shaham-012-in-00000013<ZOMBIE>", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("Parking/SIP/shaham-012-in-00000013<ZOMBIE>", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("Parking/SIP/shaham-012-in-00000013<ZOMBIE>", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Parking/SIP/shaham-012-in-00000013<ZOMBIE>' in macro 'hangupcall'
== Spawn extension (macro-dial-one, h, 1) exited non-zero on 'Parking/SIP/shaham-012-in-00000013<ZOMBIE>'
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2018-05-15 12:20:35'},'','','','','','','macro-dial-one','SIPPeer/SIP/777-00000014<ZOMBIE>','AppDial','(Outgoing Line)',3,'','1526376027.38','1526376027.37','','','')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2018-05-15 12:20:35'},'','','','','','','macro-dial-one','SIPPeer/SIP/777-00000014<ZOMBIE>','AppDial','(Outgoing Line)',3,'','1526376027.38','1526376027.37','','','')]
== Spawn extension (macro-dial-one, s, 43) exited non-zero on 'Parking/SIP/shaham-012-in-00000013<ZOMBIE>' in macro 'dial-one'
-- Started music on hold, class 'default', on SIP/shaham-012-in-00000013
== Spawn extension (macro-exten-vm, s, 14) exited non-zero on 'Parking/SIP/shaham-012-in-00000013<ZOMBIE>' in macro 'exten-vm'
== Spawn extension (ext-local, 777, 2) exited non-zero on 'Parking/SIP/shaham-012-in-00000013<ZOMBIE>'
== Parked SIP/shaham-012-in-00000013 on 71 (lot default). Will timeout back to extension [macro-dial-one] s, 43 in 25 seconds
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('PARK_START',{ts '2018-05-15 12:20:35'},'0528891914','0528891914','0528891914','','0733735925','s','macro-dial-one','SIP/shaham-012-in-00000013','Parked Call','',3,'','1526376035.39','1526376027.37','SIP/777-00000014','','')]
-- Added extension '71' priority 1 to parkedcalls
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2018-05-15 12:20:35'},'','','','','','777','ext-local','Parking/SIP/shaham-012-in-00000013<ZOMBIE>','','',3,'','1526376027.37','1526376027.37','','','')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2018-05-15 12:20:35'},'','','','','','777','ext-local','Parking/SIP/shaham-012-in-00000013<ZOMBIE>','','',3,'','1526376027.37','1526376027.37','','','')]
-- <SIP/777-00000014> Playing 'digits/7.gsm' (language 'en')
-- <SIP/777-00000014> Playing 'digits/1.gsm' (language 'en')
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2018-05-15 12:20:37'},'Voipe Telecom','777','777','','','','from-internal','SIP/777-00000014','','',3,'','1526376035.40','1526376027.37','','','')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2018-05-15 12:20:37'},'Voipe Telecom','777','777','','','','from-internal','SIP/777-00000014','','',3,'','1526376035.40','1526376027.37','','','')]
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_START',{ts '2018-05-15 12:20:45'},'230','230','','','','71','from-internal','SIP/230-00000015','','',3,'','1526376045.41','1526376045.41','','','')]
-- Executing [71@from-internal:1] Macro("SIP/230-00000015", "parked-call,71,default") in new stack
-- Executing [s@macro-parked-call:1] AGI("SIP/230-00000015", "parkfetch.agi,71") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/parkfetch.agi
-- <SIP/230-00000015>AGI Script parkfetch.agi completed, returning 0
-- Executing [s@macro-parked-call:2] GotoIf("SIP/230-00000015", "0?next") in new stack
-- Executing [s@macro-parked-call:3] Set("SIP/230-00000015", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
-- Executing [s@macro-parked-call:4] Set("SIP/230-00000015", "CDR(recordingfile)=exten-777-0528891914-20180515-122027-1526376027.37.gsm") in new stack
-- Executing [s@macro-parked-call:5] MixMonitor("SIP/230-00000015", "2018/05/15/exten-777-0528891914-20180515-122027-1526376027.37.gsm,a,") in new stack
-- Executing [s@macro-parked-call:6] Set("SIP/230-00000015", "CCSS_SETUP=TRUE") in new stack
-- Executing [s@macro-parked-call:7] Macro("SIP/230-00000015", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/230-00000015", "TOUCH_MONITOR=1526376045.41") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/230-00000015", "AMPUSER=230") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/230-00000015", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/230-00000015", "1?Set(REALCALLERIDNUM=230)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/230-00000015", "AMPUSER=230") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/230-00000015", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/230-00000015", "AMPUSERCIDNAME=230") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/230-00000015", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/230-00000015", "AMPUSERCID=230") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/230-00000015", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/230-00000015", "CALLERID(all)="230" <230>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/230-00000015", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/230-00000015", "0?Set(GROUP(concurrency_limit)=230)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/230-00000015", "1?Set(CHANNEL(language)=he)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/230-00000015", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] Set("SIP/230-00000015", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("SIP/230-00000015", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/230-00000015", "CALLERID(number)=230") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/230-00000015", "CALLERID(name)=230") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/230-00000015", "CDR(cnum)=230") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/230-00000015", "CDR(cnam)=230") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/230-00000015", "CHANNEL(language)=he") in new stack
-- Executing [s@macro-parked-call:8] GotoIf("SIP/230-00000015", "1?pcall") in new stack
-- Goto (macro-parked-call,s,15)
-- Executing [s@macro-parked-call:15] NoOp("SIP/230-00000015", "User: "230" <230> attempting to pick up Parked Call Slot 71") in new stack
-- Executing [s@macro-parked-call:16] ParkedCall("SIP/230-00000015", "71,default") in new stack
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('PARK_END',{ts '2018-05-15 12:20:46'},'0528891914','0528891914','0528891914','','0733735925','s','macro-dial-one','SIP/shaham-012-in-00000013','Parked Call','',3,'','1526376035.39','1526376027.37','SIP/230-00000015','','')]
-- Stopped music on hold on SIP/shaham-012-in-00000013
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('ANSWER',{ts '2018-05-15 12:20:46'},'230','230','230','','71','s','macro-parked-call','SIP/230-00000015','ParkedCall','71,default',3,'','1526376045.41','1526376045.41','','','')]
== Begin MixMonitor Recording SIP/230-00000015
> 0x7fac0009e6d0 -- Probation passed - setting RTP source address to 62.219.153.186:65452
-- <SIP/230-00000015> Playing 'beep.gsm' (language 'he')
> 0x7fac0009e6d0 -- Probation passed - setting RTP source address to 62.219.153.186:65452
-- <SIP/shaham-012-in-00000013> Playing 'beep.gsm' (language 'en')
-- Channel SIP/230-00000015 connected to parked call 71
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('LINKEDID_END',{ts '2018-05-15 12:20:47'},'230','230','230','','71','s','macro-parked-call','SIP/230-00000015','ParkedCall','71,default',3,'','1526376045.41','1526376045.41','','','')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('BRIDGE_START',{ts '2018-05-15 12:20:47'},'230','230','230','','71','s','macro-parked-call','SIP/230-00000015','ParkedCall','71,default',3,'','1526376045.41','1526376027.37','SIP/shaham-012-in-00000013','','')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('BRIDGE_END',{ts '2018-05-15 12:20:51'},'230','230','230','','71','s','macro-parked-call','SIP/230-00000015','ParkedCall','71,default',3,'','1526376045.41','1526376027.37','SIP/shaham-012-in-00000013','','')]
-- Executing [h@macro-parked-call:1] Macro("SIP/230-00000015", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/230-00000015", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/230-00000015", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("SIP/230-00000015", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/230-00000015' in macro 'hangupcall'
== Spawn extension (macro-parked-call, h, 1) exited non-zero on 'SIP/230-00000015'
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2018-05-15 12:20:51'},'0528891914','0528891914','0528891914','','0733735925','s','macro-dial-one','SIP/shaham-012-in-00000013','Parked Call','',3,'','1526376035.39','1526376027.37','','','')]
== MixMonitor close filestream (mixed)
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2018-05-15 12:20:51'},'0528891914','0528891914','0528891914','','0733735925','s','macro-dial-one','SIP/shaham-012-in-00000013','Parked Call','',3,'','1526376035.39','1526376027.37','','','')]
== End MixMonitor Recording SIP/shaham-012-in-00000013
== Spawn extension (macro-parked-call, s, 16) exited non-zero on 'SIP/230-00000015' in macro 'parked-call'
== Spawn extension (from-internal, 71, 1) exited non-zero on 'SIP/230-00000015'
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2018-05-15 12:20:51'},'230','230','230','','71','71','from-internal','SIP/230-00000015','','',3,'','1526376045.41','1526376027.37','','','')]
== MixMonitor close filestream (mixed)
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2018-05-15 12:20:51'},'230','230','230','','71','71','from-internal','SIP/230-00000015','','',3,'','1526376045.41','1526376027.37','','','')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('LINKEDID_END',{ts '2018-05-15 12:20:51'},'230','230','230','','71','71','from-internal','SIP/230-00000015','','',3,'','1526376045.41','1526376027.37','','','')]
== End MixMonitor Recording SIP/230-00000015
yur4ik
 
Сообщений: 97
Зарегистрирован: 18 фев 2013, 16:56
Откуда: Израиль , Тель-Авив

Пред.

Вернуться в Вопросы новичков

Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 16

© 2008 — 2024 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH