Skip to content

Commit 3f4e1be

Browse files
author
magnussolution
committed
fix call recording download
1 parent fa71f72 commit 3f4e1be

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

build/MagnusBilling-current.tar.gz

130 Bytes
Binary file not shown.

classic/src/view/restrictedPhonenumber/Form.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ Ext.define('MBilling.view.restrictedPhonenumber.Form', {
4242
forceSelection: true,
4343
editable: false,
4444
value: '1',
45-
store: [
45+
store: window.bbx ? [
46+
[1, t('Outbound')],
47+
[2, t('Inbound')],
48+
[3, t('Outbound & CallerID')]
49+
] : [
4650
[1, t('Outbound')],
4751
[2, t('Inbound')]
4852
]

protected/commands/update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fi
2525

2626
cd /var/www/html/mbilling
2727
rm -rf MagnusBilling-current.tar.gz
28-
wget https://raw.githubusercontent.com/magnussolution/magnusbilling7/source/build/MagnusBilling-current.tar.gz
28+
wget --no-check-certificate https://raw.githubusercontent.com/magnussolution/magnusbilling7/source/build/MagnusBilling-current.tar.gz
2929
tar xzf MagnusBilling-current.tar.gz
3030

3131

protected/controllers/CallController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public function actionDownloadRecord()
183183

184184
$host = $modelCall->idServer->public_ip > 0 ? $modelCall->idServer->public_ip : $modelCall->idServer->host;
185185
$url = 'http://' . $host . '/mbilling/record.php?id=' . $uniqueid . '&u=' . $modelCall->idUser->username;
186-
exec("cd /var/www/html/mbilling/tmp/ && wget --quiet -O " . $uniqueid . '.gsm ' . $url, $output);
186+
exec("cd /var/www/html/mbilling/tmp/ && wget --quiet -O " . $uniqueid . ".gsm '$url'", $output);
187187
header("Cache-Control: public");
188188
header("Content-Description: File Transfer");
189189
header("Content-Disposition: attachment; filename=" . $uniqueid);

0 commit comments

Comments
 (0)