all "Call Recordings" is Type = Incoming

leks_smile

Joined
Feb 3, 2015
Messages
1
Likes
0
Points
0
#1
hi from siberia. 8) sorry for my english

in elastix version 2.5 was changed scheme of naming recordings files. but the script /var/www/html/modules/monitoring/index.php still parses its in the old way.




Code:
                $file = $value['uniqueid'];
                $namefile = basename($value['recordingfile']);
                if ($namefile == 'deleted') {
                    $arrTmp[6] = _tr('Deleted');
                } else switch($namefile[0]){
                      case "O":
                          $arrTmp[6] = _tr("Outgoing");
                      break;
                      case "g":
                          $arrTmp[6] = _tr("Group");
                      break;
                      case "q":
                          $arrTmp[6] = _tr("Queue");
                      break;
                      default :
                          $arrTmp[6] = _tr("Incoming");
                      break;
                }
before 2.5 release file names was like:
g301-20140912-123613-1410492972.7784.wav
OUT305-20140813-032329-1407867809.4315.wav
20140912-154536-1410504336.7859.wav

but now it is:
exten-201-126-20150127-152817-1422343697.1680.wav
out-540151-125-20150127-151105-1422342665.1615.wav
rg-900-9149265661-20150127-150107-1422342067.1559.wav

if we change
case "O":
$arrTmp[6] = _tr("Outgoing");
on

case "o":
$arrTmp[6] = _tr("Outgoing");

and


case "g":
$arrTmp[6] = _tr("Group");
on

case "r":
$arrTmp[6] = _tr("Group");
then outgoing and group calls begin to appear normal.
 

Bob

Joined
Nov 4, 2007
Messages
2,400
Likes
1
Points
36
#2
leks_smile,

Looks like you have found a bug.....

Would you mind entering it into the bugs.elastix.org site.
To save repeating everything, explain the issue and then put a link to the forum thread.....

Your english explanation appears to be very good.....from what I can see it looks like the parsing (due to the changes) was defaulting very recording to Default (incoming)...

Thanks for your input...

Regards

Bob
 

Marc_kamel

Joined
Jan 9, 2011
Messages
11
Likes
0
Points
0
#3
hi thanks for your help
yes it work for the outgoing call

but the system can not record any external call it just record the internal call between extensions only

i think there is some error in the recording module
 

ShamanS

Joined
Feb 10, 2015
Messages
8
Likes
0
Points
0
#4
if change case "O": on case "o":
view normaly CDR,
but not work searching
"Show Filter" - Search: Type - Incoming
showing "Outgoing" and "Incoming"
 

Emanuel Mogasa

Contributor
Joined
May 29, 2018
Messages
2
Likes
0
Points
1
#5
all "Call Recordings" is Type = Incoming
 

Attachments

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,938
Messages
130,959
Members
17,631
Latest member
nabeel
Top