-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: CDR Reports, Conferences
-
Labels:None
-
ToDo:
-
Distro Version:12,13
-
Distro:FreePBX Distro
In mysql record has nameĀ
0001-0001-always-20170620-111154-1497946312.142-1497946314.wav
but file name is
0001-0001-always-20170620-111154-1497946312.142-1497946323.wav
----------------------------------------------
I modified dialplan and it works now:
FreePBX 13:
cat /etc/asterisk/extensions_override_freepbx.conf
#include /etc/asterisk/extensions_override_fop2.conf
[ext-meetme]
exten => STARTMEETME,1,ExecIf($["${MEETME_MUSIC}" != ""]?Set(CONFBRIDGE(user,music_on_hold_class)=${MEETME_MUSIC}))
exten => STARTMEETME,n,ExecIf($["${MEETME_MUSIC}" != ""]?Set(CHANNEL(musicclass)=${MEETME_MUSIC}))
exten => STARTMEETME,n,Set(GROUP(meetme)=${MEETME_ROOMNUM})
exten => STARTMEETME,n,GotoIf($[${MAX_PARTICIPANTS} > 0 && ${GROUP_COUNT(${MEETME_ROOMNUM}@meetme)}>${MAX_PARTICIPANTS}]?MEETMEFULL,1)
exten => STARTMEETME,n,ConfBridge(${MEETME_ROOMNUM},,,${MENU_PROFILE})
exten => STARTMEETME,n,Hangup
exten => MEETMEFULL,1,Playback(im-sorry&conf-full&goodbye)
exten => MEETMEFULL,n,Hangup
exten => h,1,Hangup
exten => 0001,1,Macro(user-callerid,)
exten => 0001,n,Set(MEETME_ROOMNUM=0001)
exten => 0001,n,Set(MAX_PARTICIPANTS=0)
exten => 0001,n,Set(MEETME_MUSIC=${MOHCLASS})
exten => 0001,n,ExecIf($["${DB(CONFERENCE/0001/users)}" != ""]?Set(MAX_PARTICIPANTS=${DB(CONFERENCE/0001/users)}))
exten => 0001,n,ExecIf($["${DB(CONFERENCE/0001/music)}" != "inherit" & "${DB(CONFERENCE/0001/music)}" != ""]?Set(MEETME_MUSIC=${DB(CONFERENCE/0001/music)}))
exten => 0001,n,GotoIf($["${DIALSTATUS}" = "ANSWER"]?ANSWERED)
exten => 0001,n,Answer
exten => 0001,n,Wait(1)
exten => 0001,n(ANSWERED),GotoIf($["${DB(CONFERENCE/0001/userpin)}" = "" & "${DB(CONFERENCE/0001/adminpin)}" = ""]?USER:CHECKPIN)
exten => 0001,n(CHECKPIN),GotoIf($["${PIN}" = ""]?READPIN)
exten => 0001,n,GotoIf($["${DB(CONFERENCE/0001/userpin)}" = "" & "${DB(CONFERENCE/0001/adminpin)}" = ""]?USER)
exten => 0001,n,GotoIf($["${DB(CONFERENCE/0001/userpin)}" != "" & "${PIN}" = "${DB(CONFERENCE/0001/userpin)}"]?USER)
exten => 0001,n,GotoIf($["${DB(CONFERENCE/0001/adminpin)}" != "" & "${PIN}" = "${DB(CONFERENCE/0001/adminpin)}"]?ADMIN)
exten => 0001,n(READPIN),Set(PINCOUNT=0)
exten => 0001,n(RETRYPIN),Read(PIN,enter-conf-pin-number,,,,)
exten => 0001,n,GotoIf($["${DB(CONFERENCE/0001/userpin)}" != "" & "${PIN}" = "${DB(CONFERENCE/0001/userpin)}"]?USER)
exten => 0001,n,GotoIf($["${DB(CONFERENCE/0001/adminpin)}" != "" & "${PIN}" = "${DB(CONFERENCE/0001/adminpin)}"]?ADMIN)
exten => 0001,n,GotoIf($["${DB(CONFERENCE/0001/userpin)}" = ""]?USER)
exten => 0001,n,Set(PINCOUNT=$[${PINCOUNT}+1])
exten => 0001,n,GotoIf($[${PINCOUNT}>3]?h,1)
exten => 0001,n,Playback(conf-invalidpin)
exten => 0001,n,Goto(RETRYPIN)
exten => 0001,n(ADMIN),Gosub(sub-conference-options,s,1(0001,ADMIN))
exten => 0001,n,Gosub(sub-record-check,s,1(conf,0001,always))
exten => 0001,n,ExecIf($["${DB(CONFERENCE/0001/joinmsg)}" != ""]?Playback(${DB(CONFERENCE/0001/joinmsg)}))
exten => 0001,n,Goto(STARTMEETME,1)
exten => 0001,n(USER),Gosub(sub-conference-options,s,1(0001,USER))
exten => 0001,n,Set(NOW=${EPOCH})
exten => 0001,n,Set(__DAY=${STRFTIME(${NOW},,%d)})
exten => 0001,n,Set(__MONTH=${STRFTIME(${NOW},,%m)})
exten => 0001,n,Set(__YEAR=${STRFTIME(${NOW},,%Y)})
exten => 0001,n,Set(__TIMESTR=${YEAR}${MONTH}${DAY}-${STRFTIME(${NOW},,%H%M%S)})
exten => 0001,n,Set(__FROMEXTEN=${IF($[${LEN(${AMPUSER})}]?${AMPUSER}:${IF($[${LEN(${REALCALLERIDNUM})}]?${REALCALLERIDNUM}:unknown)})})
exten => 0001,n,Set(__MON_FMT=${IF($["${MIXMON_FORMAT}"="wav49"]?WAV:${MIXMON_FORMAT})})
exten => 0001,n,Set(__CALLFILENAME=${FROMEXTEN}-0001-always-${TIMESTR}-${UNIQUEID})
exten => 0001,n,MixMonitor(${MIXMON_DIR}${YEAR}/${MONTH}/${DAY}/${CALLFILENAME}.${MON_FMT})
exten => 0001,n,Set(CDR(recordingfile)=${CALLFILENAME}.${MON_FMT})
exten => 0001,n,ExecIf($["${DB(CONFERENCE/0001/joinmsg)}" != ""]?Playback(${DB(CONFERENCE/0001/joinmsg)}))
exten => 0001,n,Goto(STARTMEETME,1)
exten => 0001,hint,confbridge:0001
exten => *87,1,Hangup
exten => *87,hint,confbridge:0001
;--== end of [ext-meetme] ==--;
FreePBX 12:
# cat /etc/asterisk/extensions_override_freepbx.conf
[ext-meetme]
exten => STARTMEETME,1,ExecIf($["${MEETME_MUSIC}" != ""]?Set(CONFBRIDGE(user,music_on_hold_class)=${MEETME_MUSIC}))
exten => STARTMEETME,n,ExecIf($["${MEETME_MUSIC}" != ""]?Set(CHANNEL(musicclass)=${MEETME_MUSIC}))
exten => STARTMEETME,n,Set(GROUP(meetme)=${MEETME_ROOMNUM})
exten => STARTMEETME,n,GotoIf($[${MAX_PARTICIPANTS} > 0 && ${GROUP_COUNT(${MEETME_ROOMNUM}@meetme)}>${MAX_PARTICIPANTS}]?MEETMEFULL,1)
exten => STARTMEETME,n,ConfBridge(${MEETME_ROOMNUM},,,${MENU_PROFILE})
exten => STARTMEETME,n,Hangup
exten => MEETMEFULL,1,Playback(im-sorry&conf-full&goodbye)
exten => MEETMEFULL,n,Hangup
exten => h,1,Hangup
exten => 6050,1,Macro(user-callerid,)
exten => 6050,n,Set(MEETME_ROOMNUM=6050)
exten => 6050,n,Set(MAX_PARTICIPANTS=0)
exten => 6050,n,Set(MEETME_MUSIC=${MOHCLASS})
exten => 6050,n,ExecIf($["${DB(CONFERENCE/6050/users)}" != ""]?Set(MAX_PARTICIPANTS=${DB(CONFERENCE/6050/users)}))
exten => 6050,n,ExecIf($["${DB(CONFERENCE/6050/music)}" != "inherit" & "${DB(CONFERENCE/6050/music)}" != ""]?Set(MEETME_MUSIC=${DB(CONFERENCE/6050/music)}))
exten => 6050,n,GotoIf($["${DIALSTATUS}" = "ANSWER"]?ANSWERED)
exten => 6050,n,Answer
exten => 6050,n,Wait(1)
exten => 6050,n(ANSWERED),GotoIf($["${DB(CONFERENCE/6050/userpin)}" = "" & "${DB(CONFERENCE/6050/adminpin)}" = ""]?USER:CHECKPIN)
exten => 6050,n(CHECKPIN),GotoIf($["${PIN}" = ""]?READPIN)
exten => 6050,n,GotoIf($["${DB(CONFERENCE/6050/userpin)}" = "" & "${DB(CONFERENCE/6050/adminpin)}" = ""]?USER)
exten => 6050,n,GotoIf($["${DB(CONFERENCE/6050/userpin)}" != "" & "${PIN}" = "${DB(CONFERENCE/6050/userpin)}"]?USER)
exten => 6050,n,GotoIf($["${DB(CONFERENCE/6050/adminpin)}" != "" & "${PIN}" = "${DB(CONFERENCE/6050/adminpin)}"]?ADMIN)
exten => 6050,n(READPIN),Set(PINCOUNT=0)
exten => 6050,n(RETRYPIN),Read(PIN,enter-conf-pin-number,,,,)
exten => 6050,n,GotoIf($["${DB(CONFERENCE/6050/userpin)}" != "" & "${PIN}" = "${DB(CONFERENCE/6050/userpin)}"]?USER)
exten => 6050,n,GotoIf($["${DB(CONFERENCE/6050/adminpin)}" != "" & "${PIN}" = "${DB(CONFERENCE/6050/adminpin)}"]?ADMIN)
exten => 6050,n,GotoIf($["${DB(CONFERENCE/6050/userpin)}" = ""]?USER)
exten => 6050,n,Set(PINCOUNT=$[${PINCOUNT}+1])
exten => 6050,n,GotoIf($[${PINCOUNT}>3]?h,1)
exten => 6050,n,Playback(conf-invalidpin)
exten => 6050,n,Goto(RETRYPIN)
exten => 6050,n(ADMIN),Gosub(sub-conference-options,s,1(6050,ADMIN))
exten => 6050,n,Gosub(sub-record-check,s,1(conf,6050,always))
exten => 6050,n,ExecIf($["${DB(CONFERENCE/6050/joinmsg)}" != ""]?Playback(${DB(CONFERENCE/6050/joinmsg)}))
exten => 6050,n,Goto(STARTMEETME,1)
exten => 6050,n(USER),Gosub(sub-conference-options,s,1(6050,USER))
exten => 6050,n,Set(NOW=${EPOCH})
exten => 6050,n,Set(__DAY=${STRFTIME(${NOW},,%d)})
exten => 6050,n,Set(__MONTH=${STRFTIME(${NOW},,%m)})
exten => 6050,n,Set(__YEAR=${STRFTIME(${NOW},,%Y)})
exten => 6050,n,Set(__TIMESTR=${YEAR}${MONTH}${DAY}-${STRFTIME(${NOW},,%H%M%S)})
exten => 6050,n,Set(__FROMEXTEN=${IF($[${LEN(${AMPUSER})}]?${AMPUSER}:${IF($[${LEN(${REALCALLERIDNUM})}]?${REALCALLERIDNUM}:unknown)})})
exten => 6050,n,Set(__MON_FMT=${IF($["${MIXMON_FORMAT}"="wav49"]?WAV:${MIXMON_FORMAT})})
exten => 6050,n,Set(__CALLFILENAME=${MIXMON_DIR}${YEAR}/${MONTH}/${DAY}/${UNIQUEID})
exten => 6050,n,MixMonitor(${CALLFILENAME}.${MON_FMT})
exten => 6050,n,Set(CDR(recordingfile)=${CALLFILENAME}.${MON_FMT})
exten => 6050,n,ExecIf($["${DB(CONFERENCE/6050/joinmsg)}" != ""]?Playback(${DB(CONFERENCE/6050/joinmsg)}))
exten => 6050,n,Goto(STARTMEETME,1)
exten => 6050,hint,confbridge:6050
exten => *87,1,Hangup
exten => *87,hint,confbridge:6050
;--== end of [ext-meetme] ==--;
I hope this will be usefull
- duplicates
-
FREEPBX-13029 Conference recordings don't show up in Call Recording Reports
-
- Closed
-