all "Call Recordings" is Type = Incoming

Joined
Feb 3, 2015
Messages
1
Points
0
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
Points
36
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
 
Joined
Jan 9, 2011
Messages
11
Points
0
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
 
Joined
Feb 10, 2015
Messages
8
Points
0
if change case "O": on case "o":
view normaly CDR,
but not work searching
"Show Filter" - Search: Type - Incoming
showing "Outgoing" and "Incoming"
 

Members online

No members online now.

Forum statistics

Threads
30,992
Messages
131,106
Members
17,716
Latest member
Orbit114
Top