From 0acf3f642f61e1b90fe5eacb5105b8bf78507aca Mon Sep 17 00:00:00 2001 From: "info@magnusbilling.com" Date: Thu, 8 Apr 2021 12:16:40 -0300 Subject: [PATCH] add new post on Wiki --- classic/src/view/trunkSipCodes/List.js | 2 +- resources/help/help_en.js | 4 +++ resources/help/help_pt_BR.js | 4 +++ resources/locale/en.js | 16 +++++++--- resources/locale/es.js | 16 ++++++++-- resources/locale/php/en/csv-translate.php | 1 + resources/locale/php/es/zii.php | 15 +++++++++- resources/locale/php/pt_BR/zii.php | 15 +++++++++- resources/locale/pt_BR.js | 15 ++++++++-- wiki/en/get_started/quick_install.rst | 2 +- wiki/en/get_started/update.rst | 16 ++++++++++ wiki/en/index.rst | 1 + wiki/en/intro.rst | 2 +- wiki/en/modules/did/did.rst | 4 +-- wiki/en/modules/index.rst | 8 +++++ .../modules/trunkSipCodes/trunkSipCodes.rst | 30 +++++++++++++++++++ wiki/pt_BR/get_started/quick_install.rst | 2 +- wiki/pt_BR/get_started/update.rst | 14 +++++++++ wiki/pt_BR/index.rst | 1 + wiki/pt_BR/intro.rst | 2 +- wiki/pt_BR/modules/index.rst | 8 +++++ .../modules/trunkSipCodes/trunkSipCodes.rst | 30 +++++++++++++++++++ 22 files changed, 190 insertions(+), 18 deletions(-) create mode 100644 wiki/en/get_started/update.rst create mode 100644 wiki/en/modules/trunkSipCodes/trunkSipCodes.rst create mode 100644 wiki/pt_BR/get_started/update.rst create mode 100644 wiki/pt_BR/modules/trunkSipCodes/trunkSipCodes.rst diff --git a/classic/src/view/trunkSipCodes/List.js b/classic/src/view/trunkSipCodes/List.js index dfe99110..23387ba6 100755 --- a/classic/src/view/trunkSipCodes/List.js +++ b/classic/src/view/trunkSipCodes/List.js @@ -32,7 +32,7 @@ Ext.define('MBilling.view.trunkSipCodes.List', { me.allowUpdate = false; me.textDelete = t('Reset'); me.columns = me.columns || [{ - header: t('Ip'), + header: t('IP'), dataIndex: 'ip', flex: 3 }, { diff --git a/resources/help/help_en.js b/resources/help/help_en.js index bb506af2..f90096e9 100755 --- a/resources/help/help_en.js +++ b/resources/help/help_en.js @@ -785,6 +785,10 @@ MagnusBilling will try to send the calls to the next trunk of the group as long `, 'trunkgroup.id_trunk': `Select the trunks that belongs to this group. If selected the type, order, then select the trunks in the desired order.`, + //TRUNK ERROS + 'trunksipcodes.ip': ``, + 'trunksipcodes.code': ``, + 'trunksipcodes.total': ``, //USERS 'user.username': `Username used to login into the panel.`, 'user.password': `Password used to login into the panel.`, diff --git a/resources/help/help_pt_BR.js b/resources/help/help_pt_BR.js index e2e23b10..8132702b 100755 --- a/resources/help/help_pt_BR.js +++ b/resources/help/help_pt_BR.js @@ -874,6 +874,10 @@ O MagnusBilling tentará enviar a chamada para o próximo tronco do grupo desde .`, 'trunkgroup.id_trunk': `Selecionar os troncos que pertenceram a este grupo. Se for selecionado o tipo, em ordem, então selecione os troncos na ordem desejada.`, + //ERROS DOS TRONCOS + 'trunksipcodes.ip': ``, + 'trunksipcodes.code': ``, + 'trunksipcodes.total': ``, //USUáRIOS 'user.username': `Usuário para logar no painel de cliente.`, 'user.password': `Senha para logar no painel de cliente.`, diff --git a/resources/locale/en.js b/resources/locale/en.js index 9b568720..ab5c9c8d 100755 --- a/resources/locale/en.js +++ b/resources/locale/en.js @@ -11,7 +11,7 @@ * ################################### * ======================================= * MagnusSolution.com - * 2021-03-12 + * 2021-04-08 */ Locale.load({ '': '', @@ -95,7 +95,6 @@ Locale.load({ 'Before answer': '', 'Bigger than': '', 'Bill Date:': '', - 'Bill amount': '', 'Billing': '', 'Billing block': '', 'Billing type': '', @@ -218,6 +217,8 @@ Locale.load({ 'Contains': '', 'Context': '', 'Continue': '', + 'Contract is required': '', + 'Contract no': '', 'Count votes': '', 'Country': '', 'Country code': '', @@ -283,6 +284,8 @@ Locale.load({ 'Disallowed action': '', 'Discount fee': '', 'Disk space': '', + 'Distribution code': '', + 'Distribution code required': '', 'Do you already have a SMTP': '', 'Do you confirm buy this DID?': '', 'Do you really want to leave the system?': '', @@ -435,7 +438,6 @@ Locale.load({ 'Invalid call reference value': '', 'Invalid format': '', 'Invalid message unspecified': '', - 'Invalid number': '', 'Invalid number format': '', 'Invalid plan used to signup': '', 'Invalid register string': '', @@ -508,6 +510,7 @@ Locale.load({ 'Minutes': '', 'Misdialled trunk prefix': '', 'Mobile': '', + 'Mobile number': '', 'Module': '', 'Modules': '', 'Mon-Fri': '', @@ -621,6 +624,7 @@ Locale.load({ 'Penalty, Paused, Invalid, Unavailable': '', 'Pending': '', 'Per': '', + 'Percentage': '', 'Period': '', 'Periodic announce': '', 'Perm ban': '', @@ -628,6 +632,8 @@ Locale.load({ 'Permit': '', 'Personal data': '', 'Phone': '', + 'Phone Number': '', + 'Phone is required': '', 'Phonebook': '', 'Phonebooks': '', 'Phonenumber': '', @@ -750,6 +756,7 @@ Locale.load({ 'Resend': '', 'Reservation date': '', 'Reserved': '', + 'Reset': '', 'Reset queue stats': '', 'Response to STATUS ENQUIRY': '', 'Restore': '', @@ -779,6 +786,7 @@ Locale.load({ 'SELECT GROUP FOR AGENT USERS': '', 'SIP': '', 'SIP Call': '', + 'SIP Code': '', 'SIP To': '', 'SIP Users': '', 'SIP account limit': '', @@ -950,7 +958,6 @@ Locale.load({ 'Time for another call': '', 'Time used': '', 'Title': '', - 'To date': '', 'To day': '', 'Today': '', 'Today peak': '', @@ -978,6 +985,7 @@ Locale.load({ 'Trunk': '', 'Trunk Groups': '', 'Trunk chart': '', + 'Trunk erros': '', 'Trunk groups': '', 'Trunks': '', 'Tuesday': '', diff --git a/resources/locale/es.js b/resources/locale/es.js index d2de4c82..7ebce501 100755 --- a/resources/locale/es.js +++ b/resources/locale/es.js @@ -14,9 +14,19 @@ * 2020-08-10 */ Locale.load({ - - 'Dial Tone' : 'Dial Tone', - 'Offer balance' :'Saldo del paquete', + 'Contract is required': 'Contracto es obligatorio', + 'Contract no': 'Numero del contracto', + 'Distribution code': 'Código de distribuicion', + 'Distribution code required': 'Código de distribuicion es obligatorio', + 'Mobile number': 'Celular', + 'Percentage': 'Porcentaje', + 'Phone Number': 'Telefono fijo', + 'Phone is required': 'Telefono fijo es obligatorio', + 'Reset': 'Reiniciar', + 'SIP Code': 'Código SIP', + 'Trunk erros': 'Troncales errores', + 'Dial Tone': 'Dial Tone', + 'Offer balance': 'Saldo del paquete', 'Alarm': 'Alarme', 'Alarms': 'Alarmes', 'Bigger than': 'Mayor que', diff --git a/resources/locale/php/en/csv-translate.php b/resources/locale/php/en/csv-translate.php index c1128687..d908e30c 100755 --- a/resources/locale/php/en/csv-translate.php +++ b/resources/locale/php/en/csv-translate.php @@ -57,6 +57,7 @@ 'description'=> ['Description_or_SMS_Text', 'Descrição_ou_texto_do_SMS' , 'Descripción_o_texto_SMS'], 'destination'=> ['Destination', 'Destino' , 'Destino'], 'dial_timeout'=> ['Dial_timeout', 'Tocar_por_quantos_seg.' , 'Dial_timeout'], + 'Dial_Tone'=> ['Dial_Tone', 'Dial_Tone' , 'Dial_Tone'], 'did'=> ['DID', 'DID' , 'DID'], 'direct_extension'=> ['Enable_known_SIP_user', 'Discar_direto_conta_SIP' , 'Habilitar_cuenta_SIP_conocida'], 'direction'=> ['Direction', 'Direção' , 'Dirección'], diff --git a/resources/locale/php/es/zii.php b/resources/locale/php/es/zii.php index 0ac8208b..cecb9ef9 100755 --- a/resources/locale/php/es/zii.php +++ b/resources/locale/php/es/zii.php @@ -21,7 +21,20 @@ * Edit /resources/locale/es.js */ return array( - 'Alarm' => 'Alarme', + 'Contract is required' => 'Contracto es obligatorio', + 'Contract no' => 'Numero del contracto', + 'Distribution code' => 'Código de distribuicion', + 'Distribution code required' => 'Código de distribuicion es obligatorio', + 'Mobile number' => 'Celular', + 'Percentage' => 'Porcentaje', + 'Phone Number' => 'Telefono fijo', + 'Phone is required' => 'Telefono fijo es obligatorio', + 'Reset' => 'Reiniciar', + 'SIP Code' => 'Código SIP', + 'Trunk erros' => 'Troncales errores', + 'Dial Tone' => 'Dial Tone', + 'Offer balance' => 'Saldo del paquete', + 'Alarm' => 'Alarme', 'Alarms' => 'Alarmes', 'Bigger than' => 'Mayor que', 'Calls per minute' => 'Llamadas por minuto', diff --git a/resources/locale/php/pt_BR/zii.php b/resources/locale/php/pt_BR/zii.php index 126e4204..869a0d24 100755 --- a/resources/locale/php/pt_BR/zii.php +++ b/resources/locale/php/pt_BR/zii.php @@ -21,7 +21,20 @@ * Edit /resources/locale/pt_BR.js */ return array( - 'Alarm' => 'Alarme', + 'Contract is required' => 'Contrato é obrigatório', + 'Contract no' => 'Número do contrato', + 'Distribution code' => 'Código de distribuição', + 'Distribution code required' => 'Código de distribuição é obrigatório', + 'Mobile number' => 'Celular', + 'Percentage' => 'Porcentage', + 'Phone Number' => 'Telefone fixo', + 'Phone is required' => 'Telefone fixo é obrigatório', + 'Reset' => 'Reiniciar', + 'SIP Code' => 'Código SIP', + 'Trunk erros' => 'Erros dos troncos', + 'Dial Tone' => 'Dial Tone', + 'Offer balance' => 'Saldo do pacote', + 'Alarm' => 'Alarme', 'Alarms' => 'Alarmes', 'Bigger than' => 'Maior que', 'Calls per minute' => 'Chamadas por minuto', diff --git a/resources/locale/pt_BR.js b/resources/locale/pt_BR.js index ef04c4c1..eeb03c37 100755 --- a/resources/locale/pt_BR.js +++ b/resources/locale/pt_BR.js @@ -14,8 +14,19 @@ * 2020-08-07 */ Locale.load({ - 'Dial Tone' : 'Dial Tone', - 'Offer balance' :'Saldo do pacote', + 'Contract is required': 'Contrato é obrigatório', + 'Contract no': 'Número do contrato', + 'Distribution code': 'Código de distribuição', + 'Distribution code required': 'Código de distribuição é obrigatório', + 'Mobile number': 'Celular', + 'Percentage': 'Porcentage', + 'Phone Number': 'Telefone fixo', + 'Phone is required': 'Telefone fixo é obrigatório', + 'Reset': 'Reiniciar', + 'SIP Code': 'Código SIP', + 'Trunk erros': 'Erros dos troncos', + 'Dial Tone': 'Dial Tone', + 'Offer balance': 'Saldo do pacote', 'Alarm': 'Alarme', 'Alarms': 'Alarmes', 'Bigger than': 'Maior que', diff --git a/wiki/en/get_started/quick_install.rst b/wiki/en/get_started/quick_install.rst index ff6df2d1..520c6b59 100755 --- a/wiki/en/get_started/quick_install.rst +++ b/wiki/en/get_started/quick_install.rst @@ -2,7 +2,7 @@ Installation ************* -In order to install MagnusBilling you'll need a server with CentOS 7 or Debian 8, minimal install. Keep in mind that all testing and development of MagnusBilling occurs in CentOS 7, so we highly recommend using CentOS 7. +In order to install MagnusBilling you'll need a server with CentOS 7 or Debian 10, minimal install. **1.** Execute the following commands as root to run the script that will install MagnusBilling, Asterisk and all dependencies needed like: IPTables, Fail2ban, Apache, PHP and MySQL. diff --git a/wiki/en/get_started/update.rst b/wiki/en/get_started/update.rst new file mode 100644 index 00000000..71dec4b3 --- /dev/null +++ b/wiki/en/get_started/update.rst @@ -0,0 +1,16 @@ +******************** +Update MagnusBilling +******************** + +Our team works daily to add new functions and solve problems. You can see the changes made in the link https://github.com/magnussolution/magnusbilling7/commits/source. + +Therefore, our team recommends that you keep your server up to date. + +To update run the following command. + + +:: + + /var/www/html/mbilling/protected/commands/update.sh + + diff --git a/wiki/en/index.rst b/wiki/en/index.rst index 1eb43bd3..1d5532e7 100755 --- a/wiki/en/index.rst +++ b/wiki/en/index.rst @@ -24,6 +24,7 @@ Welcome to MagnusBilling 7 wiki. get_started/quick_install.rst get_started/interface.rst get_started/backup.rst + get_started/update.rst .. toctree:: :caption: Technical Information diff --git a/wiki/en/intro.rst b/wiki/en/intro.rst index 2d0c27c8..522366ff 100755 --- a/wiki/en/intro.rst +++ b/wiki/en/intro.rst @@ -6,7 +6,7 @@ Introduction `MagnusBilling`_ is an open source tool written in PHP and JAVASCRIPT, using the EXTJS 6 and YII FRAMEWORK frameworks, aimed at IP telephony providers. MagnusBilling provides a complete and powerful system for anyone to start an IP telephony provider in a matter of minutes. MagnusBilling uses `Asterisk`_ for connection between customers and providers. -* MagnusBilling can be installed on Linux Centos or Debian. The team of developers does all the development and testing only on Centos 7, so we recommend using it. +* MagnusBilling can be installed on Linux, Centos 7 or Debian 10. * MagnusBilling has a modern and robust interface that makes the administration of all functions very easy to understand. diff --git a/wiki/en/modules/did/did.rst b/wiki/en/modules/did/did.rst index a0d9ac59..d83978db 100755 --- a/wiki/en/modules/did/did.rst +++ b/wiki/en/modules/did/did.rst @@ -146,10 +146,10 @@ Regular expression | | | Regular expression for mobile -| ^[1-9][0-9]9\d{8}$|^0[1-9][0-9]9\d{8}$|^55[1-9][0-9]9\d{8}$ +| ^[1-9][0-9]9\\d{8}$|^0[1-9][0-9]9\\d{8}$|^55[1-9][0-9]9\\d{8}$ | | Regular expression for landline -| ^[1-9][0-9]\d{8}$|^0[1-9][0-9]\d{8}$|^55[1-9][0-9]\d{8}$ +| ^[1-9][0-9]\\d{8}$|^0[1-9][0-9]\\d{8}$|^55[1-9][0-9]\\d{8}$ | | | diff --git a/wiki/en/modules/index.rst b/wiki/en/modules/index.rst index 615dad78..ca554f0a 100755 --- a/wiki/en/modules/index.rst +++ b/wiki/en/modules/index.rst @@ -496,6 +496,14 @@ This menu has the following fields .. include:: servers/servers.rst +Trunk erros ++++++++++++ + +This menu has the following fields + +.. include:: trunksipcodes/trunksipcodes.rst + + Sip Trace +++++++++ diff --git a/wiki/en/modules/trunkSipCodes/trunkSipCodes.rst b/wiki/en/modules/trunkSipCodes/trunkSipCodes.rst new file mode 100644 index 00000000..5b86ad5a --- /dev/null +++ b/wiki/en/modules/trunkSipCodes/trunkSipCodes.rst @@ -0,0 +1,30 @@ + +.. _trunkSipCodes-ip: + +IP +-- + +| We did not write the description to this field. + + + + +.. _trunkSipCodes-code: + +Code +---- + +| We did not write the description to this field. + + + + +.. _trunkSipCodes-total: + +Total +----- + +| We did not write the description to this field. + + + diff --git a/wiki/pt_BR/get_started/quick_install.rst b/wiki/pt_BR/get_started/quick_install.rst index 6a49d191..4a75abf0 100755 --- a/wiki/pt_BR/get_started/quick_install.rst +++ b/wiki/pt_BR/get_started/quick_install.rst @@ -2,7 +2,7 @@ Instalação ********** -Para instalar MagnusBilling, você precisa apenas de um servidor com CentOS 7 ou Debian 8, 64 ou 32 bits, instalação básica. Tenha em mente que todo o desenvolvimento e testes do Magnusbilling ocorrem no CentOS 7, então recomendamos usar o CentOS 7. +Para instalar MagnusBilling, você precisa apenas de um servidor com CentOS 7 ou Debian 10, 64 ou 32 bits, instalação básica. **1.** Execute os comandos abaixo como root. O script vai instalar Magnusbilling, Asterisk e todas as dependências necessárias, como: IPTables, Fail2ban, Apache, PHP e mysql. diff --git a/wiki/pt_BR/get_started/update.rst b/wiki/pt_BR/get_started/update.rst new file mode 100644 index 00000000..5941d083 --- /dev/null +++ b/wiki/pt_BR/get_started/update.rst @@ -0,0 +1,14 @@ +*********************** +Atualizar MagnusBilling +*********************** + +Nossa equipe trabalha diariamente para adicionar novas funçōes e solucionar problemas. Voce pode ver as alteraçoes realizadas no link https://github.com/magnussolution/magnusbilling7/commits/source + +Por tanto, nossa equipe recomenda que você mantenha seu servidor atualizado. + +Para atualizar seu MagnusBilling, execute o seguinte comando no SSH logado como root. + + +:: + + /var/www/html/mbilling/protected/commands/update.sh diff --git a/wiki/pt_BR/index.rst b/wiki/pt_BR/index.rst index 27109a8d..f7bcce72 100755 --- a/wiki/pt_BR/index.rst +++ b/wiki/pt_BR/index.rst @@ -22,6 +22,7 @@ Bem vindo à documentação do MagnusBilling 7 em português. get_started/quick_install.rst get_started/interface.rst get_started/backup.rst + get_started/update.rst .. toctree:: :caption: Informações técnicas diff --git a/wiki/pt_BR/intro.rst b/wiki/pt_BR/intro.rst index 669404ea..2388d741 100755 --- a/wiki/pt_BR/intro.rst +++ b/wiki/pt_BR/intro.rst @@ -6,7 +6,7 @@ Introdução `MagnusBilling`_ é uma ferramenta de software livre escrita em PHP e JAVASCRIPT, usando os frameworks EXTJS 6 e YII FRAMEWORK, destinada a provedores de telefonia IP MagnusBilling provê um sistema completo, realmente potente, para qualquer pessoa possa iniciar um provedor de telefonia IP em questão de minutos. MagnusBilling usa `Asterisk`_ para conexão entre clientes e provedores. -* MagnusBilling pode ser instalado em Linux Centos ou Debian. A equipe de desenvolvedores faz todo o desenvolvimento e teste somente em Centos 7, por tanto, recomendamos o uso do mesmo. +* MagnusBilling pode ser instalado em Linux Centos 7 ou Debian 10. * MagnusBilling tem uma interface moderna e robusta que torna muito fácil a administração de todas as funções. diff --git a/wiki/pt_BR/modules/index.rst b/wiki/pt_BR/modules/index.rst index 0401f633..ec435376 100755 --- a/wiki/pt_BR/modules/index.rst +++ b/wiki/pt_BR/modules/index.rst @@ -496,6 +496,14 @@ Este menu tem os seguintes campos .. include:: servers/servers.rst +Erros dos troncos ++++++++++++++++++ + +Este menu tem os seguintes campos + +.. include:: trunksipcodes/trunksipcodes.rst + + Sip Trace +++++++++ diff --git a/wiki/pt_BR/modules/trunkSipCodes/trunkSipCodes.rst b/wiki/pt_BR/modules/trunkSipCodes/trunkSipCodes.rst new file mode 100644 index 00000000..4d46ff3e --- /dev/null +++ b/wiki/pt_BR/modules/trunkSipCodes/trunkSipCodes.rst @@ -0,0 +1,30 @@ + +.. _trunkSipCodes-ip: + +IP +-- + +| Nós ainda não escrevemos a descrição deste campo. + + + + +.. _trunkSipCodes-code: + +Código +------- + +| Nós ainda não escrevemos a descrição deste campo. + + + + +.. _trunkSipCodes-total: + +Total +----- + +| Nós ainda não escrevemos a descrição deste campo. + + +