diff --git a/app/extensions/app_languages.php b/app/extensions/app_languages.php index 765662a5be..c7072394da 100644 --- a/app/extensions/app_languages.php +++ b/app/extensions/app_languages.php @@ -1,625 +1,643 @@ +$text['title-extensions']['en-us'] = "Extensions"; +$text['title-extensions']['es-cl'] = "Extensiones"; +$text['title-extensions']['pt-pt'] = "Extensões"; +$text['title-extensions']['fr-fr'] = "Extensions"; + +$text['title-extension-edit']['en-us'] = "Extension"; +$text['title-extension-edit']['es-cl'] = "Extensión"; +$text['title-extension-edit']['pt-pt'] = "Extensão"; +$text['title-extension-edit']['fr-fr'] = "Extension"; + +$text['title-extension-add']['en-us'] = "Extension Add"; +$text['title-extension-add']['es-cl'] = "Agregar Extensión"; +$text['title-extension-add']['pt-pt'] = "Adicionar Extensão"; +$text['title-extension-add']['fr-fr'] = "Ajout d'une extension"; + +$text['message-update']['en-us'] = "Update Completed"; +$text['message-update']['es-cl'] = "Actualización Completada"; +$text['message-update']['pt-pt'] = "Actualização Efectuada"; +$text['message-update']['fr-fr'] = "Mis à Jour"; + +$text['message-required']['en-us'] = "Please provide: "; +$text['message-required']['es-cl'] = "Por favor ingrese: "; +$text['message-required']['pt-pt'] = "Por favor forneça: "; +$text['message-required']['fr-fr'] = "Merci d'indiquer: "; + +$text['message-number_alias']['en-us'] = "Enter the new Number Alias..."; +$text['message-number_alias']['es-cl'] = "Ingrese la nueva Alias de Número..."; +$text['message-number_alias']['pt-pt'] = "Introuza a nova Alias númérico..."; +$text['message-number_alias']['fr-fr'] = "Insérer la nouvelle Alias..."; + +$text['message-message']['en-us'] = "Message"; +$text['message-message']['es-cl'] = "Mensaje"; +$text['message-message']['pt-pt'] = "Mensagem"; +$text['message-message']['fr-fr'] = "Message"; + +$text['message-extension']['en-us'] = "Enter the new Extension..."; +$text['message-extension']['es-cl'] = "Ingrese la nueva Extensión..."; +$text['message-extension']['pt-pt'] = "Introuza a nova Extensão..."; +$text['message-extension']['fr-fr'] = "Insérer la nouvelle Extension..."; + +$text['message-delete']['en-us'] = "Delete Completed"; +$text['message-delete']['es-cl'] = "Eliminación Completada"; +$text['message-delete']['pt-pt'] = "Remoção Efectuada"; +$text['message-delete']['fr-fr'] = "Supprimé"; + +$text['message-copy']['en-us'] = "Copy Complete"; +$text['message-copy']['es-cl'] = "Copia Completada"; +$text['message-copy']['pt-pt'] = "Cópia Efectuada"; +$text['message-copy']['fr-fr'] = "Copié"; + +$text['message-add']['en-us'] = "Add Completed"; +$text['message-add']['es-cl'] = "Agregar Completado"; +$text['message-add']['pt-pt'] = "Adição Efectuada"; +$text['message-add']['fr-fr'] = "Ajouté"; + +$text['label-voicemail_password']['en-us'] = "Voicemail Password"; +$text['label-voicemail_password']['es-cl'] = "Contraseña de correo de voz"; +$text['label-voicemail_password']['pt-pt'] = "Password do Correio de Voz"; +$text['label-voicemail_password']['fr-fr'] = "Mot de passe de la messagerie vocale"; + +$text['label-voicemail_mail_to']['en-us'] = "Voicemail Mail To"; +$text['label-voicemail_mail_to']['es-cl'] = "Enviar correo de voz a"; +$text['label-voicemail_mail_to']['pt-pt'] = "Enviar correio de voz para"; +$text['label-voicemail_mail_to']['fr-fr'] = "Courriel destination"; + +$text['label-voicemail_local_after_email']['en-us'] = "VM Keep Local After Email"; +$text['label-voicemail_local_after_email']['es-cl'] = "Mantener Mensaje de Voz despues de enviar por Email"; +$text['label-voicemail_local_after_email']['pt-pt'] = "Manter mensagem de correio de voz depois de enviado o email"; +$text['label-voicemail_local_after_email']['fr-fr'] = "Message gardé en local après courriel"; + +$text['label-voicemail_enabled']['en-us'] = "Voicemail Enabled"; +$text['label-voicemail_enabled']['es-cl'] = "Correo de Voz Activado"; +$text['label-voicemail_enabled']['pt-pt'] = "Correio de Voz Habilitado"; +$text['label-voicemail_enabled']['fr-fr'] = "Messagerie Vocale Active"; + +$text['label-voicemail_file']['en-us'] = "Voicemail File"; +$text['label-voicemail_file']['es-cl'] = "Correo de Voz Archivo"; +$text['label-voicemail_file']['pt-pt'] = "Voicemail Arquivo"; +$text['label-voicemail_file']['fr-fr'] = "Voicemail Fichier"; + +$text['option-voicemail_file_attach']['en-us'] = "Audio File Attachment"; +$text['option-voicemail_file_attach']['es-cl'] = "Archivo Adjunto Audio"; +$text['option-voicemail_file_attach']['pt-pt'] = "Anexo de arquivo de áudio"; +$text['option-voicemail_file_attach']['fr-fr'] = "Audio File Attachment"; + +$text['option-voicemail_file_link']['en-us'] = "Download Link (No Login Required)"; +$text['option-voicemail_file_link']['es-cl'] = "Enlace de descarga (No se requiere conexión)"; +$text['option-voicemail_file_link']['pt-pt'] = "Link para download (Não é necessário login)"; +$text['option-voicemail_file_link']['fr-fr'] = "Lien de téléchargement (Connexion non requise)"; + +$text['option-voicemail_file_listen']['en-us'] = "Listen Link (Login Required)"; +$text['option-voicemail_file_listen']['es-cl'] = "Escuchar Link (Se requiere entrar)"; +$text['option-voicemail_file_listen']['pt-pt'] = "Ouça Link (login requerido)"; +$text['option-voicemail_file_listen']['fr-fr'] = "Écouter Link (Connexion requise)"; + +$text['label-user_record_outbound']['en-us'] = "Outbound"; +$text['label-user_record_outbound']['es-cl'] = "Salida"; +$text['label-user_record_outbound']['pt-pt'] = "Saída"; +$text['label-user_record_outbound']['fr-fr'] = "Sortant"; + +$text['label-user_record_none']['en-us'] = "Disabled"; +$text['label-user_record_none']['es-cl'] = "Ninguno"; +$text['label-user_record_none']['pt-pt'] = "Nenhum"; +$text['label-user_record_none']['fr-fr'] = "Aucun"; + +$text['label-user_record_local']['en-us'] = "Local"; +$text['label-user_record_local']['es-cl'] = "Local"; +$text['label-user_record_local']['pt-pt'] = "Local"; +$text['label-user_record_local']['fr-fr'] = "Local"; + +$text['label-user_record_inbound']['en-us'] = "Inbound"; +$text['label-user_record_inbound']['es-cl'] = "Entrante"; +$text['label-user_record_inbound']['pt-pt'] = "Entrada"; +$text['label-user_record_inbound']['fr-fr'] = "Entrante"; + +$text['label-user_record_all']['en-us'] = "All"; +$text['label-user_record_all']['es-cl'] = "Todo"; +$text['label-user_record_all']['pt-pt'] = "Tudo"; +$text['label-user_record_all']['fr-fr'] = "Tout"; + +$text['label-user_record']['en-us'] = "Record"; +$text['label-user_record']['es-cl'] = "Registro"; +$text['label-user_record']['pt-pt'] = "Registro"; +$text['label-user_record']['fr-fr'] = "Record"; + +$text['label-user_list']['en-us'] = "User List"; +$text['label-user_list']['es-cl'] = "Lista de usuarios"; +$text['label-user_list']['pt-pt'] = "Utilizadores"; +$text['label-user_list']['fr-fr'] = "Liste des utilisateurs"; + +$text['label-user_context']['en-us'] = "Context"; +$text['label-user_context']['es-cl'] = "Contexto"; +$text['label-user_context']['pt-pt'] = "Contexto"; +$text['label-user_context']['fr-fr'] = "Contexte"; + +$text['label-true']['en-us'] = "True"; +$text['label-true']['es-cl'] = "Verdadero"; +$text['label-true']['pt-pt'] = "Sim"; +$text['label-true']['fr-fr'] = "Oui"; + +$text['label-toll_allow']['en-us'] = "Toll Allow"; +$text['label-toll_allow']['es-cl'] = "Permitir Tarifas Especiales"; +$text['label-toll_allow']['pt-pt'] = "Permissões"; +$text['label-toll_allow']['fr-fr'] = "droits"; + +$text['label-sip_force_expires']['en-us'] = "SIP Force Expires"; +$text['label-sip_force_expires']['es-cl'] = "Forzado SIP Expira"; +$text['label-sip_force_expires']['pt-pt'] = "Forçar o tempo de expiração SIP"; +$text['label-sip_force_expires']['fr-fr'] = "Forcer SIP expiration"; + +$text['label-sip_force_contact']['en-us'] = "SIP Force Contact"; +$text['label-sip_force_contact']['es-cl'] = "Forzar Contacto SIP"; +$text['label-sip_force_contact']['pt-pt'] = "Forçar Contacto SIP"; +$text['label-sip_force_contact']['fr-fr'] = "SIP Force Contact"; + +$text['label-sip_bypass_media']['en-us'] = "SIP Bypass Media"; +$text['label-sip_bypass_media']['es-cl'] = "Bypass de Medios SIP"; +$text['label-sip_bypass_media']['pt-pt'] = "Fazer Bypass à media SIP"; +$text['label-sip_bypass_media']['fr-fr'] = "SIP Bypass Media"; + +$text['label-rewrite_tls_contact_port']['en-us'] = "Rewrite TLS Contact Port"; +$text['label-rewrite_tls_contact_port']['es-cl'] = "Reescribir Contacto Puerto TLS"; +$text['label-rewrite_tls_contact_port']['pt-pt'] = "Reescreva Contacto Porto TLS"; +$text['label-rewrite_tls_contact_port']['fr-fr'] = "Réécrire Contactez TLS Port"; + +$text['label-rewrite_contact_ip_and_port_2']['en-us'] = "Rewrite Contact IP and Port 2.0"; +$text['label-rewrite_contact_ip_and_port_2']['es-cl'] = "Reescribir Contacto IP y el puerto 2.0"; +$text['label-rewrite_contact_ip_and_port_2']['pt-pt'] = "Reescreva Contato IP e Porta 2.0"; +$text['label-rewrite_contact_ip_and_port_2']['fr-fr'] = "Contactez-IP réécriture et Port 2.0"; + +$text['label-rewrite_contact_ip_and_port']['en-us'] = "Rewrite Contact IP and Port"; +$text['label-rewrite_contact_ip_and_port']['es-cl'] = "Reescribir Contacto IP y el puerto"; +$text['label-rewrite_contact_ip_and_port']['pt-pt'] = "Reescreva Contato IP e Porta"; +$text['label-rewrite_contact_ip_and_port']['fr-fr'] = "Contactez-IP réécriture et Port"; + +$text['label-range']['en-us'] = "Range"; +$text['label-range']['es-cl'] = "Rango"; +$text['label-range']['pt-pt'] = "Gama"; +$text['label-range']['fr-fr'] = "Nombre"; + +$text['label-proxy_media']['en-us'] = "Proxy Media"; +$text['label-proxy_media']['es-cl'] = "Proxy Medios"; +$text['label-proxy_media']['pt-pt'] = "Proxy Mídia"; +$text['label-proxy_media']['fr-fr'] = "Proxy Médias"; + +$text['label-provisioning']['en-us'] = "Device Provisioning"; +$text['label-provisioning']['es-cl'] = "Provisionamiento de Teléfono"; +$text['label-provisioning']['pt-pt'] = "Aprovisionamento do Dispositivo"; +$text['label-provisioning']['fr-fr'] = "Provisioning du Equipement"; + +$text['label-password']['en-us'] = "Password"; +$text['label-password']['es-cl'] = "Contraseña"; +$text['label-password']['pt-pt'] = "Password"; +$text['label-password']['fr-fr'] = "Mot de passe"; + +$text['label-outbound_caller_id_number']['en-us'] = "Outbound Caller ID Number"; +$text['label-outbound_caller_id_number']['es-cl'] = "Número de Caller ID Saliente"; +$text['label-outbound_caller_id_number']['pt-pt'] = "Número público"; +$text['label-outbound_caller_id_number']['fr-fr'] = "Numéro public"; + +$text['label-outbound_caller_id_name']['en-us'] = "Outbound Caller ID Name"; +$text['label-outbound_caller_id_name']['es-cl'] = "Nombre de Caller ID Saliente"; +$text['label-outbound_caller_id_name']['pt-pt'] = "Nome público"; +$text['label-outbound_caller_id_name']['fr-fr'] = "Nom public"; + +$text['label-number_alias']['en-us'] = "Number Alias"; +$text['label-number_alias']['es-cl'] = "Alias de Número"; +$text['label-number_alias']['pt-pt'] = "Alias númérico"; +$text['label-number_alias']['fr-fr'] = "Alias"; + +$text['label-nibble_account']['en-us'] = "Nibble Account"; +$text['label-nibble_account']['es-cl'] = "Cuenta Nibble"; +$text['label-nibble_account']['pt-pt'] = "Conta Nibble"; +$text['label-nibble_account']['fr-fr'] = "Compte Nibble"; + +$text['label-mwi_account']['en-us'] = "MWI Account"; +$text['label-mwi_account']['es-cl'] = "Cuenta MWI"; +$text['label-mwi_account']['pt-pt'] = "Conta MWI"; +$text['label-mwi_account']['fr-fr'] = "Compte MWI"; + +$text['label-line']['en-us'] = "Line"; +$text['label-line']['pt-pt'] = "Linha"; +$text['label-line']['fr-fr'] = "Ligne"; +$text['label-line']['es-cl'] = ""; + +$text['label-limit_max']['en-us'] = "Limit Max"; +$text['label-limit_max']['es-cl'] = "Límite Máximo"; +$text['label-limit_max']['pt-pt'] = "Limite Máximo"; +$text['label-limit_max']['fr-fr'] = "Limite Max"; + +$text['label-limit_destination']['en-us'] = "Limit Destination"; +$text['label-limit_destination']['es-cl'] = "Límitar Destino"; +$text['label-limit_destination']['pt-pt'] = "Limitar Destino"; +$text['label-limit_destination']['fr-fr'] = "Limite Destination"; + +$text['label-hold_music']['en-us'] = "Hold Music"; +$text['label-hold_music']['es-cl'] = "Música en Espera"; +$text['label-hold_music']['pt-pt'] = "Música em Espera"; +$text['label-hold_music']['fr-fr'] = "Musique de Garde"; + +$text['label-false']['en-us'] = "False"; +$text['label-false']['es-cl'] = "Falso"; +$text['label-false']['pt-pt'] = "Não"; +$text['label-false']['fr-fr'] = "Non"; + +$text['label-extension']['en-us'] = "Extension"; +$text['label-extension']['es-cl'] = "Extensión"; +$text['label-extension']['pt-pt'] = "Extensão"; +$text['label-extension']['fr-fr'] = "Extension"; + +$text['label-enabled']['en-us'] = "Enabled"; +$text['label-enabled']['es-cl'] = "Activado"; +$text['label-enabled']['pt-pt'] = "Habilitada"; +$text['label-enabled']['fr-fr'] = "Actif"; + +$text['label-emergency_caller_id_number']['en-us'] = "Emergency Caller ID Number"; +$text['label-emergency_caller_id_number']['es-cl'] = "Número de Caller ID de emergencia"; +$text['label-emergency_caller_id_number']['pt-pt'] = "Número de Emergência do Chamador"; +$text['label-emergency_caller_id_number']['fr-fr'] = "Numéro d'appelant pour les Urgences"; + +$text['label-emergency_caller_id_name']['en-us'] = "Emergency Caller ID Name"; +$text['label-emergency_caller_id_name']['es-cl'] = "Nombre de Caller ID de emergencia"; +$text['label-emergency_caller_id_name']['pt-pt'] = "Nome de Emergência do Chamador"; +$text['label-emergency_caller_id_name']['fr-fr'] = "Nom d'appelant pour les Urgences"; + +$text['label-effective_caller_id_number']['en-us'] = "Effective Caller ID Number"; +$text['label-effective_caller_id_number']['es-cl'] = "Número de Caller ID Efectivo"; +$text['label-effective_caller_id_number']['pt-pt'] = "Número interno"; +$text['label-effective_caller_id_number']['fr-fr'] = "Numéro interne"; + +$text['label-effective_caller_id_name']['en-us'] = "Effective Caller ID Name"; +$text['label-effective_caller_id_name']['es-cl'] = "Nombre de Caller ID Efectivo"; +$text['label-effective_caller_id_name']['pt-pt'] = "Nome Interno"; +$text['label-effective_caller_id_name']['fr-fr'] = "Nom interne"; + +$text['label-domain']['en-us'] = "Domain"; +$text['label-domain']['es-cl'] = "Dominio"; +$text['label-domain']['pt-pt'] = "Domínio"; +$text['label-domain']['fr-fr'] = "Domaine"; + +$text['label-directory_visible']['en-us'] = "Directory Visible"; +$text['label-directory_visible']['es-cl'] = "Directorio Visible"; +$text['label-directory_visible']['pt-pt'] = "Directório Visível"; +$text['label-directory_visible']['fr-fr'] = "Nom Visible"; + +$text['label-directory_full_name']['en-us'] = "Directory Full Name"; +$text['label-directory_full_name']['es-cl'] = "Nombre Completo de Directorio"; +$text['label-directory_full_name']['pt-pt'] = "Nome de Directório Completo"; +$text['label-directory_full_name']['fr-fr'] = "Nom pour annuaire"; + +$text['label-directory_exten_visible']['en-us'] = "Directory Extension Visible"; +$text['label-directory_exten_visible']['es-cl'] = "Extensión de Directorio Visible"; +$text['label-directory_exten_visible']['pt-pt'] = "Extensão do Directório Visível"; +$text['label-directory_exten_visible']['fr-fr'] = "Numéro Visible"; + +$text['label-dial_string']['en-us'] = "Dial String"; +$text['label-dial_string']['es-cl'] = "Cadena de Marcado"; +$text['label-dial_string']['pt-pt'] = "Dial String"; +$text['label-dial_string']['fr-fr'] = "Dial String"; + +$text['label-device_template']['en-us'] = "Template"; +$text['label-device_template']['pt-pt'] = "Template"; +$text['label-device_template']['fr-fr'] = "Template"; +$text['label-device_template']['es-cl'] = ""; + +$text['label-device_mac_address']['en-us'] = "MAC Address"; +$text['label-device_mac_address']['pt-pt'] = "Endereço MAC"; +$text['label-device_mac_address']['fr-fr'] = "Adresse MAC"; +$text['label-device_mac_address']['es-cl'] = ""; + +$text['label-description']['en-us'] = "Description"; +$text['label-description']['es-cl'] = "Descripción"; +$text['label-description']['pt-pt'] = "Descrição"; +$text['label-description']['fr-fr'] = "Description"; + +$text['label-cidr']['en-us'] = "CIDR"; +$text['label-cidr']['es-cl'] = "CIDR"; +$text['label-cidr']['pt-pt'] = "CIDR"; +$text['label-cidr']['fr-fr'] = "CIDR"; + +$text['label-call_timeout']['en-us'] = "Call Timeout"; +$text['label-call_timeout']['es-cl'] = "Tiempo de Espera de Llamada"; +$text['label-call_timeout']['pt-pt'] = "Timeout da Chamada"; +$text['label-call_timeout']['fr-fr'] = "Durée max d'appel"; + +$text['label-call_group']['en-us'] = "Call Group"; +$text['label-call_group']['es-cl'] = "Llamar a Grupo"; +$text['label-call_group']['pt-pt'] = "Grupo"; +$text['label-call_group']['fr-fr'] = "Groupe d'appel"; + +$text['label-bypass_media_after_bridge']['en-us'] = "Bypass Media After Bridge"; +$text['label-bypass_media_after_bridge']['es-cl'] = "Después de la omisión de medios puente"; +$text['label-bypass_media_after_bridge']['pt-pt'] = "Depois de Ponte de mídia Bypass"; +$text['label-bypass_media_after_bridge']['fr-fr'] = "Après le contournement de média Pont"; + +$text['label-bypass_media']['en-us'] = "Bypass Media"; +$text['label-bypass_media']['es-cl'] = "Bypass de Medios"; +$text['label-bypass_media']['pt-pt'] = "Fazer Bypass à media"; +$text['label-bypass_media']['fr-fr'] = "Bypass Media"; + +$text['label-billing_warning']['en-us'] = "Billing is installed, please take note you need to have enough balance to create extensions."; +$text['label-billing_warning']['es-cl'] = "La cobranza está instalada, por favor note que necesita suficiente balance para crear extensiones."; +$text['label-billing_warning']['pt-pt'] = "A coleção é instalado, por favor, note que você precisa saldo suficiente para criar extensões."; +$text['label-billing_warning']['fr-fr'] = "La collection est installée, s'il vous plaît noter que vous devez assez d'équilibre pour créer des extensions."; + +$text['label-auth_acl']['en-us'] = "Auth ACL"; +$text['label-auth_acl']['es-cl'] = "ACL de Autenticación"; +$text['label-auth_acl']['pt-pt'] = "Autorização ACL"; +$text['label-auth_acl']['fr-fr'] = "Auth ACL"; + +$text['label-accountcode']['en-us'] = "Account Code"; +$text['label-accountcode']['es-cl'] = "Código de Cuenta"; +$text['label-accountcode']['pt-pt'] = "Código de Conta"; +$text['label-accountcode']['fr-fr'] = "Centre de frais"; + +$text['header-extensions']['en-us'] = "Extensions"; +$text['header-extensions']['es-cl'] = "Extensiones"; +$text['header-extensions']['pt-pt'] = "Extensões"; +$text['header-extensions']['fr-fr'] = "Extensions"; + +$text['header-extension-edit']['en-us'] = "Extension"; +$text['header-extension-edit']['es-cl'] = "Extensión"; +$text['header-extension-edit']['pt-pt'] = "Extensão"; +$text['header-extension-edit']['fr-fr'] = "Extension"; + +$text['header-extension-add']['en-us'] = "Extension Add"; +$text['header-extension-add']['es-cl'] = "Agregar Extensión"; +$text['header-extension-add']['pt-pt'] = "Adicionar Extensão"; +$text['header-extension-add']['fr-fr'] = "Ajouter une extension"; + +$text['description-voicemail_password']['en-us'] = "Enter the numeric voicemail password here."; +$text['description-voicemail_password']['es-cl'] = "Ingrese la contraseña numérica para el correo de voz aquí."; +$text['description-voicemail_password']['pt-pt'] = "Introduza uma password numérica para o correio de voz aqui."; +$text['description-voicemail_password']['fr-fr'] = "Insérer un mot de passe numérique pour la messagerie vocale."; + +$text['description-voicemail_mail_to']['en-us'] = "Enter the email address to send voicemail to (optional)."; +$text['description-voicemail_mail_to']['es-cl'] = "Ingrese una dirección de correo electrónico para enviar el correo de voz (opcional)."; +$text['description-voicemail_mail_to']['pt-pt'] = "Introduza o endereço de email para enviar o correio de voz (opcional)."; +$text['description-voicemail_mail_to']['fr-fr'] = "Insérer le courriel où sera envoyé le message de notification (optionnel)."; + +$text['description-voicemail_local_after_email']['en-us'] = "Keep local file after sending the email."; +$text['description-voicemail_local_after_email']['es-cl'] = "Mantener el archivo de forma local despues de enviar por correo electrónico."; +$text['description-voicemail_local_after_email']['pt-pt'] = "Manter o ficheiro local depois de enviar o email."; +$text['description-voicemail_local_after_email']['fr-fr'] = "Conserver ou non le message sur la messagerie vocale après l'envoi du courriel."; + +$text['description-voicemail_enabled']['en-us'] = "Enable/disable voicemail for this extension."; +$text['description-voicemail_enabled']['es-cl'] = "Activar/desactivar el correo de voz para esta extensión."; +$text['description-voicemail_enabled']['pt-pt'] = "Habilitar/Desabilitar o correio de voz para esta extensão."; +$text['description-voicemail_enabled']['fr-fr'] = "Messagerie Vocale disponible ou non pour cette extension."; + +$text['description-voicemail_file']['en-us'] = "Select a listening option to include with the email notification."; +$text['description-voicemail_file']['es-cl'] = "Seleccione qué opción de escucha para incluir en la notificación de correo electrónico."; +$text['description-voicemail_file']['pt-pt'] = "Escolha qual opção de escuta para incluir com a notificação de e-mail."; +$text['description-voicemail_file']['fr-fr'] = "Sélectionnez quelle option écoute d'inclure à la notification par email."; + +$text['description-user_record']['en-us'] = "Choose whether to record local, inbound, outbound, or all."; +$text['description-user_record']['es-cl'] = "Seleccione entrantes, salientes o para grabar todas las llamadas."; +$text['description-user_record']['pt-pt'] = "Selecione inbound, outbound ou para gravar todas as chamadas."; +$text['description-user_record']['fr-fr'] = "Sélectionnez entrants, sortants ou à enregistrer tous les appels."; + +$text['description-user_list']['en-us'] = "Assign the users that are assigned to this extension. "; +$text['description-user_list']['es-cl'] = "Asigna los usuarios asociados a esta extensión"; +$text['description-user_list']['pt-pt'] = "Atribuir os utilizadores que estão associados a esta extensão."; +$text['description-user_list']['fr-fr'] = "Assigner cette extension aux utilisateurs."; + +$text['description-user_context']['en-us'] = "Enter the user context here."; +$text['description-user_context']['es-cl'] = "Ingrese el contexto de usuario aquí."; +$text['description-user_context']['pt-pt'] = "Introduza o contexto do utilizador aqui."; +$text['description-user_context']['fr-fr'] = "Insérer le contexte utilisateur. Surpasse le contexte du domaine. "; + +$text['description-toll_allow']['en-us'] = "Enter the toll allow value here. (Examples: domestic,international,local)"; +$text['description-toll_allow']['es-cl'] = "Ingrese el tipo de tarifa especial a permitir (ej: doméstica, internacional, local)."; +$text['description-toll_allow']['pt-pt'] = "Introduza as permissões aqui. (Exemplos: internacional, local)"; +$text['description-toll_allow']['fr-fr'] = "Insérer les droits d'accès. (Exemples: domestic,international,local)"; + +$text['description-sip_force_expires']['en-us'] = "To prevent stale registrations SIP Force expires can override the client expire."; +$text['description-sip_force_expires']['es-cl'] = "Seleccione si desea reescribir solo el puerto de contacto, o la dirección IP junto con el puerto."; +$text['description-sip_force_expires']['pt-pt'] = "Para prevenir registos SIP 'agarrados', o forçar do tempo de expiração pode sobrepor-se ao tempo de expiração do cliente."; +$text['description-sip_force_expires']['fr-fr'] = "Pour prévenir les enregitrements SIP obsolètes ou forcer l'expirartion de l'enregistrement SIP du client."; + +$text['description-sip_force_contact']['en-us'] = "Choose whether to rewrite the contact port, or rewrite both the contact IP and port."; +$text['description-sip_force_contact']['es-cl'] = "Seleccione si desea reescribir solo el puerto de contacto, o la dirección IP junto con el puerto."; +$text['description-sip_force_contact']['pt-pt'] = "Escolha se pretende reescrever o porto do contacto ou reescrever o endereço IP e o porto."; +$text['description-sip_force_contact']['fr-fr'] = "Choisir de ré-écrire le contact ou non."; + +$text['description-sip_bypass_media']['en-us'] = "Choose whether to send the media stream point to point or in transparent proxy mode."; +$text['description-sip_bypass_media']['es-cl'] = "Seleccione si desea enviar el flujo de medios punto a punto o en modo proxy de transporte."; +$text['description-sip_bypass_media']['pt-pt'] = "Escolha se pretende enviar a stream de media ponto a ponto ou via proxy em modo transparente."; +$text['description-sip_bypass_media']['fr-fr'] = "Choisir de transferer le flux media en direct (point à point) ou via le proxy en mode transparent (pas de transcodage)."; + +$text['description-range']['en-us'] = "Enter the number of extensions to create. Increments each extension by 1."; +$text['description-range']['es-cl'] = "Ingrese la cantidad de extensiones a crear. Incrementa cada extensión en 1"; +$text['description-range']['pt-pt'] = "Introduza o número de extensões a criar. Incrementa 1 a cada extensão."; +$text['description-range']['fr-fr'] = "Choisir le nombre d'extensions à créer. Le numéro d'extension s'incrémente unitairement."; + +$text['description-provisioning']['en-us'] = "Select a device and line number to assign to this extension."; +$text['description-provisioning']['es-cl'] = "Seleccione un dispositivo y un número de línea para asignar a esta extensión."; +$text['description-provisioning']['pt-pt'] = "Escolha um dispositivo e um número para atribuir a esta extensão."; +$text['description-provisioning']['fr-fr'] = "Choisir un équipement et un nombre de lignes a assigner à cette extension."; + +$text['description-password']['en-us'] = "Enter the password here."; +$text['description-password']['es-cl'] = "Ingrese una contraseña aquí"; +$text['description-password']['pt-pt'] = "Introduza a password aqui."; +$text['description-password']['fr-fr'] = ""; + +$text['description-outbound_caller_id_number-select']['en-us'] = "Select the external (public) caller ID number."; +$text['description-outbound_caller_id_number-select']['es-cl'] = "Seleccione el número de caller ID externo (público)."; +$text['description-outbound_caller_id_number-select']['pt-pt'] = "Escolha o número externo (público) do chamador."; +$text['description-outbound_caller_id_number-select']['fr-fr'] = "Choisir le numéro d'appelant affiché pour les appels externes (public)."; + +$text['description-outbound_caller_id_number-custom']['en-us'] = "Enter the external (public) caller ID number here."; +$text['description-outbound_caller_id_number-custom']['es-cl'] = "Ingrese el número de caller ID externo (público) aquí."; +$text['description-outbound_caller_id_number-custom']['pt-pt'] = "Introduza o número externo (público) do chamador aqui."; +$text['description-outbound_caller_id_number-custom']['fr-fr'] = "Numéro d'appelant affiché pour les appels externes (public)."; + +$text['description-outbound_caller_id_name-select']['en-us'] = "Select the external (public) caller ID name."; +$text['description-outbound_caller_id_name-select']['es-cl'] = "Seleccione el nombre de Caller ID externo (público)."; +$text['description-outbound_caller_id_name-select']['pt-pt'] = "Escolha o nome externo (público) do chamador."; +$text['description-outbound_caller_id_name-select']['fr-fr'] = "Choisir le nom d'appelant affiché pour les appels externes (public)."; + +$text['description-outbound_caller_id_name-custom']['en-us'] = "Enter the external (public) caller ID name here."; +$text['description-outbound_caller_id_name-custom']['es-cl'] = "Ingrese el el nombre de Caller ID externo (público) aquí."; +$text['description-outbound_caller_id_name-custom']['pt-pt'] = "Introduza o nome externo (público) do chamador aqui."; +$text['description-outbound_caller_id_name-custom']['fr-fr'] = "Nom d'appelant affiché pour les appels externes (public)."; + +$text['description-number_alias']['en-us'] = "If the extension is numeric then number alias is optional."; +$text['description-number_alias']['es-cl'] = "Si la extensión es numérica, entonces el alias numérico es opcional"; +$text['description-number_alias']['pt-pt'] = "Se a extensão é numérica o alias é opcional."; +$text['description-number_alias']['fr-fr'] = "Le numéro de l'extension. Optionnel si l'extension est au format numérique."; + +$text['description-nibble_account']['en-us'] = "Enter the account number for nibblebill to use."; +$text['description-nibble_account']['es-cl'] = "Ingrese el número de cuenta para ser usada por nibblebill."; +$text['description-nibble_account']['pt-pt'] = "Introduza o número de conta nibblebill."; +$text['description-nibble_account']['fr-fr'] = "Insérer un compte Nibble pour la facturation. Pour cela Nibble doit être installé."; + +$text['description-mwi_account']['en-us'] = "MWI Account with user@domain of the voicemail to monitor."; +$text['description-mwi_account']['es-cl'] = "Cuenta MWI con usuario@dominio del correo de voz para monitorear."; +$text['description-mwi_account']['pt-pt'] = "Conta MWI com utilizador@domínio do correio de voz a monitorizar."; +$text['description-mwi_account']['fr-fr'] = "Récupérer les informations de message en attente. User@domain de la messagerie vocale à gérer."; + +$text['description-limit_max']['en-us'] = "Enter the max number of outgoing calls for this user."; +$text['description-limit_max']['es-cl'] = "Ingrese el número máximo de llamadas salientes para este usuario."; +$text['description-limit_max']['pt-pt'] = "Introduza o número máximo de chamadas de saída para este utilizador."; +$text['description-limit_max']['fr-fr'] = "Insérer le maximum d'appel sortants autorisés pour cet utilisateur."; + +$text['description-limit_destination']['en-us'] = "Enter the destination to send the calls when the max number of outgoing calls has been reached."; +$text['description-limit_destination']['es-cl'] = "Ingrese el destino a quien enviar las llamadas cuando el máximo de llamadas salientes ha sido alcanzado."; +$text['description-limit_destination']['pt-pt'] = "Introduza o destino para enviar as chamadas quando o número máximo de chamadas de saída for atingido."; +$text['description-limit_destination']['fr-fr'] = "Insérer la destination où déborder quand la limite des appels sortant est atteinte."; + +$text['description-hold_music']['en-us'] = "Select the MOH Category here."; +$text['description-hold_music']['es-cl'] = "Ingrese la categoría de música en espera aquí"; +$text['description-hold_music']['pt-pt'] = "Escolha a categoria MOH da música aqui."; +$text['description-hold_music']['fr-fr'] = "Choisir la musique de garde."; + +$text['description-extensions']['en-us'] = "Use this to configure your SIP extensions."; +$text['description-extensions']['es-cl'] = "Utilizado para configurar Extensiones SIP."; +$text['description-extensions']['pt-pt'] = "Utilize isto para configurar as suas extensões SIP"; +$text['description-extensions']['fr-fr'] = "Page de configuration des extensions SIP."; + +$text['description-extension']['en-us'] = "Enter the alphanumeric extension. The default configuration allows 2 - 7 digit extensions."; +$text['description-extension']['es-cl'] = "Ingrese una extensión alfanumérica. La configuración predeterminada permite extensiones de 2 a 7 dígitos."; +$text['description-extension']['pt-pt'] = "Introduza uma extensão alfanumérica. A configuração por omissão prmite extensões de 2 - 7 dígitos."; +$text['description-extension']['fr-fr'] = "Insérer l'extension au format numéique ou alphanumérique. La configuration par défaut autorise des extension de 2 à 7 digits."; + +$text['description-enabled']['en-us'] = "Set the status of the extension."; +$text['description-enabled']['es-cl'] = "Seleccione el estado de la extensión."; +$text['description-enabled']['pt-pt'] = "Defina o estado da extensão."; +$text['description-enabled']['fr-fr'] = "Etat de l'extension."; + +$text['description-emergency_caller_id_number']['en-us'] = "Enter the emergency caller ID number here."; +$text['description-emergency_caller_id_number']['es-cl'] = "Ingrese el número de Caller ID de emergencia aquí."; +$text['description-emergency_caller_id_number']['pt-pt'] = "Introduza o número de emergência do chamador aqui."; +$text['description-emergency_caller_id_number']['fr-fr'] = "Entrez le numéro d'identification de l'appelant pour les urgences."; + +$text['description-emergency_caller_id_name']['en-us'] = "Enter the emergency caller ID name here."; +$text['description-emergency_caller_id_name']['es-cl'] = "Ingrese el nombre de Caller ID de emergencia aquí."; +$text['description-emergency_caller_id_name']['pt-pt'] = "Introduza o nome de emergência do chamador aqui."; +$text['description-emergency_caller_id_name']['fr-fr'] = "Entrez le nom d'identification de l'appelant pour les urgences."; + +$text['description-effective_caller_id_number']['en-us'] = "Enter the internal caller ID number here."; +$text['description-effective_caller_id_number']['es-cl'] = "Ingrese el número de Caller ID interno aquí."; +$text['description-effective_caller_id_number']['pt-pt'] = "Introduza o número interno do chamador aqui."; +$text['description-effective_caller_id_number']['fr-fr'] = "Numéro d'appelant affiché pour les appels internes"; + +$text['description-effective_caller_id_name']['en-us'] = "Enter the internal caller ID name here."; +$text['description-effective_caller_id_name']['es-cl'] = "Ingrese el nombre de Caller ID interno aquí."; +$text['description-effective_caller_id_name']['pt-pt'] = "Introduza o nome interno do chamador aqui."; +$text['description-effective_caller_id_name']['fr-fr'] = "Nom d'appelant affiché pour les appels internes"; + +$text['description-domain']['en-us'] = ""; +$text['description-domain']['es-cl'] = ""; +$text['description-domain']['pt-pt'] = ""; +$text['description-domain']['fr-fr'] = ""; + +$text['description-directory_visible']['en-us'] = "Select whether to hide the name from the directory."; +$text['description-directory_visible']['es-cl'] = "Seleccione si desea esconder el nombre desde el directorio."; +$text['description-directory_visible']['pt-pt'] = "Escolha se deseja ou não ocultar o nome do directório."; +$text['description-directory_visible']['fr-fr'] = "Choisir si le nom sera visible dans l'annuaire."; + +$text['description-directory_full_name']['en-us'] = "Enter the first name followed by the last name."; +$text['description-directory_full_name']['es-cl'] = "Ingrese el nombre seguido del apellido."; +$text['description-directory_full_name']['pt-pt'] = "Introduza o primeiro nome seguido do último."; +$text['description-directory_full_name']['fr-fr'] = "prénom suivi du nom."; + +$text['description-directory_exten_visible']['en-us'] = "Select whether announce the extension when calling the directory."; +$text['description-directory_exten_visible']['es-cl'] = "Seleccione si desea mostrar la extensión cuando se llame al directorio."; +$text['description-directory_exten_visible']['pt-pt'] = "Escolha se deseja anunciar a extensão no directório."; +$text['description-directory_exten_visible']['fr-fr'] = "Choisir si l'extension sera visible dans l'annuaire."; + +$text['description-dial_string']['en-us'] = "Location of the endpoint."; +$text['description-dial_string']['es-cl'] = "Ubicación de extremo."; +$text['description-dial_string']['pt-pt'] = "Localização do endpoint."; +$text['description-dial_string']['fr-fr'] = "Emplacement de la cible."; + +$text['description-description']['en-us'] = ""; +$text['description-description']['es-cl'] = ""; +$text['description-description']['pt-pt'] = "Descrição"; +$text['description-description']['fr-fr'] = ""; + +$text['description-cidr']['en-us'] = "Enter the CIDR here."; +$text['description-cidr']['es-cl'] = "Ingrese el CIDR aquí"; +$text['description-cidr']['pt-pt'] = "Introduza o CIDR aqui."; +$text['description-cidr']['fr-fr'] = "Classless Inter-Domain Routing. De la forme abc.def.ghi.jkl/mask"; + +$text['description-call_timeout']['en-us'] = "Enter the call timeout."; +$text['description-call_timeout']['es-cl'] = "Ingrese el tiempo de espera de llamada."; +$text['description-call_timeout']['pt-pt'] = "Introduza o timeout da chamada."; +$text['description-call_timeout']['fr-fr'] = "Insérer la durée max d'un message vocal."; + +$text['description-call_group']['en-us'] = "Enter the user call group here. Groups available by default: sales, support, billing."; +$text['description-call_group']['es-cl'] = "Ingrese el grupo a llamar aquí. Los grupos disponible de forma predeterminada son: ventas, soporte, facturación."; +$text['description-call_group']['pt-pt'] = "Introduza o grupo a associar ao utilizador aqui. Grupos disponíveis por omissão: vendas, suporte, facturação."; +$text['description-call_group']['fr-fr'] = "Insérer le groupe d'appel de l'utilisateur. Les groupes disponibles par défaut sont: sales, support, billing."; + +$text['description-auth_acl']['en-us'] = "Enter the Auth ACL here."; +$text['description-auth_acl']['es-cl'] = "Ingrese el ACL de autenticación aquí"; +$text['description-auth_acl']['pt-pt'] = "Introduza a autorização ACL aqui."; +$text['description-auth_acl']['fr-fr'] = "ACL authorisée pour l'extension. De la forme abc.def.ghi.jkl/mask "; + +$text['description-accountcode']['en-us'] = "Enter the account code here."; +$text['description-accountcode']['es-cl'] = "Ingrese el código de cuenta aquí."; +$text['description-accountcode']['pt-pt'] = "Introduza o código de conta aqui."; +$text['description-accountcode']['fr-fr'] = ""; + +$text['confirm-delete']['en-us'] = "Do you really want to delete this?"; +$text['confirm-delete']['es-cl'] = "¿Realmente desea eliminar esto?"; +$text['confirm-delete']['pt-pt'] = "Deseja realmente remover isto?"; +$text['confirm-delete']['fr-fr'] = "Voulez-vous vraiment supprimer cela?"; + +$text['confirm-copy']['en-us'] = "Do you really want to copy this?"; +$text['confirm-copy']['es-cl'] = "¿Realmente desea copiar esto?"; +$text['confirm-copy']['pt-pt'] = "Deseja realmente copiar isto?"; +$text['confirm-copy']['fr-fr'] = "Voulez-vous vraiment copier cela?"; + +$text['checkbox-range']['en-us'] = "Auto-generate user with extension as login name"; +$text['checkbox-range']['es-cl'] = "Generar automáticamente usuario con su nombre de inicio de sesión como extensión"; +$text['checkbox-range']['pt-pt'] = "Geração Automática do utilizador com a extensão como nome de login"; +$text['checkbox-range']['fr-fr'] = "Auto-générer l'usager avec l'extension comme ID de login"; + +$text['button-search']['en-us'] = "Search"; +$text['button-search']['es-cl'] = "Buscar"; +$text['button-search']['pt-pt'] = "Pesquisar"; +$text['button-search']['fr-fr'] = "Chercher"; + +$text['button-save']['en-us'] = "Save"; +$text['button-save']['es-cl'] = "Guardar"; +$text['button-save']['pt-pt'] = "Guardar"; +$text['button-save']['fr-fr'] = "Sauvegarder"; + +$text['button-edit']['en-us'] = "Edit"; +$text['button-edit']['es-cl'] = "Editar"; +$text['button-edit']['pt-pt'] = "Editar"; +$text['button-edit']['fr-fr'] = "Editer"; + +$text['button-delete']['en-us'] = "Delete"; +$text['button-delete']['es-cl'] = "Eliminar"; +$text['button-delete']['pt-pt'] = "Remover"; +$text['button-delete']['fr-fr'] = "Supprimer"; + +$text['button-copy']['en-us'] = "Copy"; +$text['button-copy']['es-cl'] = "Copiar"; +$text['button-copy']['pt-pt'] = "Copiar"; +$text['button-copy']['fr-fr'] = "Copier"; + +$text['button-back']['en-us'] = "Back"; +$text['button-back']['es-cl'] = "Volver"; +$text['button-back']['pt-pt'] = "Voltar"; +$text['button-back']['fr-fr'] = "Retour"; + +$text['button-advanced']['en-us'] = "Advanced"; +$text['button-advanced']['es-cl'] = "Avanzado"; +$text['button-advanced']['pt-pt'] = "Avançadas"; +$text['button-advanced']['fr-fr'] = "Afficher les paramètres avancés"; + +$text['button-add']['en-us'] = "Add"; +$text['button-add']['es-cl'] = "Agregar"; +$text['button-add']['pt-pt'] = "Adicionar"; +$text['button-add']['fr-fr'] = "Ajouter"; + +?> \ No newline at end of file diff --git a/app/extensions/extension_copy.php b/app/extensions/extension_copy.php index 0168bf9cb8..2a5c35be7f 100644 --- a/app/extensions/extension_copy.php +++ b/app/extensions/extension_copy.php @@ -181,7 +181,7 @@ else { $result = $prep_statement->fetchAll(PDO::FETCH_NAMED); foreach ($result as &$row) { $voicemail_mailto = $row["voicemail_mail_to"]; - $voicemail_attach_file = $row["voicemail_attach_file"]; + $voicemail_file = $row["voicemail_file"]; $voicemail_local_after_email = $row["voicemail_local_after_email"]; $voicemail_enabled = $row["voicemail_enabled"]; } @@ -200,7 +200,7 @@ else { $ext->number_alias = $number_alias_new; $ext->voicemail_password = $voicemail_password; $ext->voicemail_mail_to = $voicemail_mailto; - $ext->voicemail_attach_file = $voicemail_attach_file; + $ext->voicemail_file = $voicemail_file; $ext->voicemail_local_after_email = $voicemail_local_after_email; $ext->voicemail_enabled = $voicemail_enabled; $ext->description = $description; diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index e053501da7..15b2623582 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -96,7 +96,7 @@ else { $voicemail_password = check_str($_POST["voicemail_password"]); $voicemail_enabled = check_str($_POST["voicemail_enabled"]); $voicemail_mail_to = check_str($_POST["voicemail_mail_to"]); - $voicemail_attach_file = check_str($_POST["voicemail_attach_file"]); + $voicemail_file = check_str($_POST["voicemail_file"]); $voicemail_local_after_email = check_str($_POST["voicemail_local_after_email"]); $user_context = check_str($_POST["user_context"]); $range = check_str($_POST["range"]); @@ -280,31 +280,6 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { //check for all required data $msg = ''; if (strlen($extension) == 0) { $msg .= $text['message-required'].$text['label-extension']."
\n"; } - //if (strlen($number_alias) == 0) { $msg .= $text['message-required']."Number Alias
\n"; } - //if (strlen($voicemail_password) == 0) { $msg .= $text['message-required']."Voicemail Password
\n"; } - //if (strlen($accountcode) == 0) { $msg .= $text['message-required']."Account Code
\n"; } - //if (strlen($effective_caller_id_name) == 0) { $msg .= $text['message-required']."Effective Caller ID Name
\n"; } - //if (strlen($effective_caller_id_number) == 0) { $msg .= $text['message-required']."Effective Caller ID Number
\n"; } - //if (strlen($outbound_caller_id_name) == 0) { $msg .= $text['message-required']."Outbound Caller ID Name
\n"; } - //if (strlen($emergency_caller_id_name) == 0) { $msg .= $text['message-required']."Emergency Caller ID Name
\n"; } - //if (strlen($outbound_caller_id_number) == 0) { $msg .= $text['message-required']."Outbound Caller ID Number
\n"; } - //if (strlen($emergency_caller_id_number) == 0) { $msg .= $text['message-required']."Emergency Caller ID Number
\n"; } - //if (strlen($directory_full_name) == 0) { $msg .= $text['message-required']."Directory Full Name
\n"; } - //if (strlen($directory_visible) == 0) { $msg .= $text['message-required']."Directory Visible
\n"; } - //if (strlen($directory_exten_visible) == 0) { $msg .= $text['message-required']."Directory Extension Visible
\n"; } - //if (strlen($limit_max) == 0) { $msg .= $text['message-required']."Max Callsr
\n"; } - //if (strlen($limit_destination) == 0) { $msg .= $text['message-required']."Transfer Destination Number
\n"; } - //if (strlen($voicemail_mail_to) == 0) { $msg .= $text['message-required']."Voicemail Mail To
\n"; } - //if (strlen($voicemail_attach_file) == 0) { $msg .= $text['message-required']."Voicemail Attach File
\n"; } - //if (strlen($voicemail_local_after_email) == 0) { $msg .= $text['message-required']."VM Keep Local After Email
\n"; } - //if (strlen($user_context) == 0) { $msg .= $text['message-required']."User Context
\n"; } - //if (strlen($toll_allow) == 0) { $msg .= $text['message-required']."Toll Allow
\n"; } - //if (strlen($call_group) == 0) { $msg .= $text['message-required']."Call Group
\n"; } - //if (strlen($hold_music) == 0) { $msg .= $text['message-required']."Hold Music
\n"; } - //if (strlen($auth_acl) == 0) { $msg .= $text['message-required']."Auth ACL
\n"; } - //if (strlen($cidr) == 0) { $msg .= $text['message-required']."CIDR
\n"; } - //if (strlen($sip_force_contact) == 0) { $msg .= $text['message-required']."SIP Force Contact
\n"; } - //if (strlen($dial_string) == 0) { $msg .= $text['message-required']."Dial String
\n"; } if (permission_exists('extension_enabled')) { if (strlen($enabled) == 0) { $msg .= $text['message-required'].$text['label-enabled']."
\n"; } } @@ -499,7 +474,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { $ext->number_alias = $number_alias; $ext->voicemail_password = $voicemail_password; $ext->voicemail_mail_to = $voicemail_mail_to; - $ext->voicemail_attach_file = $voicemail_attach_file; + $ext->voicemail_file = $voicemail_file; $ext->voicemail_local_after_email = $voicemail_local_after_email; $ext->voicemail_enabled = $voicemail_enabled; $ext->description = $description; @@ -634,7 +609,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { $ext->number_alias = $number_alias; $ext->voicemail_password = $voicemail_password; $ext->voicemail_mail_to = $voicemail_mail_to; - $ext->voicemail_attach_file = $voicemail_attach_file; + $ext->voicemail_file = $voicemail_file; $ext->voicemail_local_after_email = $voicemail_local_after_email; $ext->voicemail_enabled = $voicemail_enabled; $ext->description = $description; @@ -791,7 +766,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { //$greeting_id = $row["greeting_id"]; $voicemail_mail_to = $row["voicemail_mail_to"]; $voicemail_mail_to = str_replace(" ", "", $voicemail_mail_to); - $voicemail_attach_file = $row["voicemail_attach_file"]; + $voicemail_file = $row["voicemail_file"]; $voicemail_local_after_email = $row["voicemail_local_after_email"]; $voicemail_enabled = $row["voicemail_enabled"]; } @@ -1507,25 +1482,16 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo "\n"; - echo " ".$text['label-voicemail_attach_file']."\n"; + echo " ".$text['label-voicemail_file']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; echo " \n"; echo "
\n"; - echo $text['description-voicemail_attach_file']."\n"; + echo $text['description-voicemail_file']."\n"; echo "\n"; echo "\n"; diff --git a/app/extensions/resources/classes/extension.php b/app/extensions/resources/classes/extension.php index 93ce7b86d5..74ff780e78 100644 --- a/app/extensions/resources/classes/extension.php +++ b/app/extensions/resources/classes/extension.php @@ -51,7 +51,7 @@ public $limit_destination; public $voicemail_enabled; public $voicemail_mail_to; - public $voicemail_attach_file; + public $voicemail_file; public $voicemail_local_after_email; public $user_context; public $toll_allow; @@ -117,7 +117,7 @@ $sql .= "greeting_id, "; } $sql .= "voicemail_mail_to, "; - $sql .= "voicemail_attach_file, "; + $sql .= "voicemail_file, "; $sql .= "voicemail_local_after_email, "; $sql .= "voicemail_enabled, "; $sql .= "voicemail_description "; @@ -129,7 +129,7 @@ $sql .= "'".$this->voicemail_id."', "; $sql .= "'".$this->voicemail_password."', "; $sql .= "'".$this->voicemail_mail_to."', "; - $sql .= "'".$this->voicemail_attach_file."', "; + $sql .= "'".$this->voicemail_file."', "; $sql .= "'".$this->voicemail_local_after_email."', "; $sql .= "'".$this->voicemail_enabled."', "; $sql .= "'".$this->description."' "; @@ -142,7 +142,7 @@ $sql = "update v_voicemails set "; $sql .= "voicemail_password = '".$this->voicemail_password."', "; $sql .= "voicemail_mail_to = '".$this->voicemail_mail_to."', "; - $sql .= "voicemail_attach_file = '".$this->voicemail_attach_file."', "; + $sql .= "voicemail_file = '".$this->voicemail_file."', "; $sql .= "voicemail_local_after_email = '".$this->voicemail_local_after_email."', "; $sql .= "voicemail_enabled = '".$this->voicemail_enabled."', "; $sql .= "voicemail_description = '".$this->description."' "; @@ -259,16 +259,12 @@ } if (strlen($row['voicemail_mail_to']) > 0) { $xml .= " \n"; - - switch ($row['voicemail_attach_file']) { - case "true": + switch ($row['voicemail_file']) { + case "attach": $xml .= " \n"; break; - case "false": - $xml .= " \n"; - break; default: - $xml .= " \n"; + $xml .= " \n"; } switch ($row['voicemail_local_after_email']) { case "true": diff --git a/app/voicemails/app_config.php b/app/voicemails/app_config.php index 171757fa37..4e2a36b877 100644 --- a/app/voicemails/app_config.php +++ b/app/voicemails/app_config.php @@ -89,6 +89,11 @@ $apps[$x]['db'][$y]['fields'][$z]['name'] = "voicemail_attach_file"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Choose whether to attach the file to the email."; + $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true"; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "voicemail_file"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select a listening option to include with the email notification."; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "voicemail_local_after_email"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; diff --git a/app/voicemails/app_defaults.php b/app/voicemails/app_defaults.php new file mode 100644 index 0000000000..f5f230308e --- /dev/null +++ b/app/voicemails/app_defaults.php @@ -0,0 +1,37 @@ + + Portions created by the Initial Developer are Copyright (C) 2008-2015 + the Initial Developer. All Rights Reserved. + + Contributor(s): + Mark J Crane +*/ + +//proccess this only one time +if ($domains_processed == 1) { + + //migrate existing attachment preferences to new column, where appropriate + $sql = "update v_voicemails set voicemail_file = 'attach' where voicemail_attach_file = 'true'"; + $db->exec(check_sql($sql)); + unset($sql); + +} + +?> \ No newline at end of file diff --git a/app/voicemails/app_languages.php b/app/voicemails/app_languages.php index 6d1c85791f..bc67986647 100644 --- a/app/voicemails/app_languages.php +++ b/app/voicemails/app_languages.php @@ -66,15 +66,35 @@ $text['description-voicemail_mail_to']['pt-pt'] = "Introduza o endereço de email para enviar o correio de voz."; $text['description-voicemail_mail_to']['fr-fr'] = "Choisir un courriel lié à cette messagerie vocale."; - $text['label-voicemail_attach_file']['en-us'] = "Attach File"; - $text['label-voicemail_attach_file']['es-cl'] = "Adjuntar archivo"; - $text['label-voicemail_attach_file']['pt-pt'] = "Anexar Ficheiro"; - $text['label-voicemail_attach_file']['fr-fr'] = "Fichier attaché"; + $text['label-voicemail_file']['en-us'] = "Voicemail File"; + $text['label-voicemail_file']['es-cl'] = "Correo de Voz Archivo"; + $text['label-voicemail_file']['pt-pt'] = "Voicemail Arquivo"; + $text['label-voicemail_file']['fr-fr'] = "Voicemail Fichier"; - $text['description-voicemail_attach_file']['en-us'] = "Choose whether to attach the file to the email."; - $text['description-voicemail_attach_file']['es-cl'] = "Escoja si desea adjuntar un archivo"; - $text['description-voicemail_attach_file']['pt-pt'] = "Escolha se pretende anexar o ficheiro de voz ao email."; - $text['description-voicemail_attach_file']['fr-fr'] = "Attacher le fichier audio au courriel."; + $text['option-voicemail_file_attach']['en-us'] = "Audio File Attachment"; + $text['option-voicemail_file_attach']['es-cl'] = "Archivo Adjunto Audio"; + $text['option-voicemail_file_attach']['pt-pt'] = "Anexo de arquivo de áudio"; + $text['option-voicemail_file_attach']['fr-fr'] = "Audio File Attachment"; + + $text['option-voicemail_file_link']['en-us'] = "Download Link (No Login Required)"; + $text['option-voicemail_file_link']['es-cl'] = "Enlace de descarga (No se requiere conexión)"; + $text['option-voicemail_file_link']['pt-pt'] = "Link para download (Não é necessário login)"; + $text['option-voicemail_file_link']['fr-fr'] = "Lien de téléchargement (Connexion non requise)"; + + $text['option-voicemail_file_listen']['en-us'] = "Listen Link (Login Required)"; + $text['option-voicemail_file_listen']['es-cl'] = "Escuchar Link (Se requiere entrar)"; + $text['option-voicemail_file_listen']['pt-pt'] = "Ouça Link (login requerido)"; + $text['option-voicemail_file_listen']['fr-fr'] = "Écouter Link (Connexion requise)"; + + $text['description-voicemail_file']['en-us'] = "Select a listening option to include with the email notification."; + $text['description-voicemail_file']['es-cl'] = "Seleccione qué opción de escucha para incluir en la notificación de correo electrónico."; + $text['description-voicemail_file']['pt-pt'] = "Escolha qual opção de escuta para incluir com a notificação de e-mail."; + $text['description-voicemail_file']['fr-fr'] = "Sélectionnez quelle option écoute d'inclure à la notification par email."; + + $text['label-voicemail_file_attached']['en-us'] = "Attached"; + $text['label-voicemail_file_attached']['es-cl'] = "Adjunto"; + $text['label-voicemail_file_attached']['pt-pt'] = "Ligado"; + $text['label-voicemail_file_attached']['fr-fr'] = "Attaché"; $text['label-voicemail_local_after_email']['en-us'] = "Local After Email"; $text['label-voicemail_local_after_email']['es-cl'] = "Conservar después de enviar"; diff --git a/app/voicemails/voicemail_edit.php b/app/voicemails/voicemail_edit.php index eed16a9304..faa21d905a 100644 --- a/app/voicemails/voicemail_edit.php +++ b/app/voicemails/voicemail_edit.php @@ -57,7 +57,7 @@ else { $greeting_id = check_str($_POST["greeting_id"]); $voicemail_options = $_POST["voicemail_options"]; $voicemail_mail_to = check_str($_POST["voicemail_mail_to"]); - $voicemail_attach_file = check_str($_POST["voicemail_attach_file"]); + $voicemail_file = check_str($_POST["voicemail_file"]); $voicemail_local_after_email = check_str($_POST["voicemail_local_after_email"]); $voicemail_enabled = check_str($_POST["voicemail_enabled"]); $voicemail_description = check_str($_POST["voicemail_description"]); @@ -119,16 +119,6 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { } //check for all required data - //if (strlen($domain_uuid) == 0) { $msg .= $text['message-required']." ".$text['label-domain_uuid']."
\n"; } - //if (strlen($voicemail_uuid) == 0) { $msg .= $text['message-required']." ".$text['label-voicemail_uuid']."
\n"; } - //if (strlen($voicemail_id) == 0) { $msg .= $text['message-required']." ".$text['label-voicemail_id']."
\n"; } - //if (strlen($voicemail_password) == 0) { $msg .= $text['message-required']." ".$text['label-voicemail_password']."
\n"; } - //if (strlen($greeting_id) == 0) { $msg .= $text['message-required']." ".$text['label-greeting_id']."
\n"; } - //if (strlen($voicemail_mail_to) == 0) { $msg .= $text['message-required']." ".$text['label-voicemail_mail_to']."
\n"; } - //if (strlen($voicemail_attach_file) == 0) { $msg .= $text['message-required']." ".$text['label-voicemail_attach_file']."
\n"; } - //if (strlen($voicemail_local_after_email) == 0) { $msg .= $text['message-required']." ".$text['label-voicemail_local_after_email']."
\n"; } - //if (strlen($voicemail_enabled) == 0) { $msg .= $text['message-required']." ".$text['label-voicemail_enabled']."
\n"; } - //if (strlen($voicemail_description) == 0) { $msg .= $text['message-required']." ".$text['label-voicemail_description']."
\n"; } if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) { require_once "resources/header.php"; require_once "resources/persist_form_var.php"; @@ -155,7 +145,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { $sql .= "greeting_id, "; } $sql .= "voicemail_mail_to, "; - $sql .= "voicemail_attach_file, "; + $sql .= "voicemail_file, "; $sql .= "voicemail_local_after_email, "; $sql .= "voicemail_enabled, "; $sql .= "voicemail_description "; @@ -170,7 +160,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { $sql .= "'".$greeting_id."', "; } $sql .= "'".$voicemail_mail_to."', "; - $sql .= "'".$voicemail_attach_file."', "; + $sql .= "'".$voicemail_file."', "; $sql .= "'".$voicemail_local_after_email."', "; $sql .= "'".$voicemail_enabled."', "; $sql .= "'".$voicemail_description."' "; @@ -192,7 +182,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { $sql .= "greeting_id = null, "; } $sql .= "voicemail_mail_to = '".$voicemail_mail_to."', "; - $sql .= "voicemail_attach_file = '".$voicemail_attach_file."', "; + $sql .= "voicemail_file = '".$voicemail_file."', "; $sql .= "voicemail_local_after_email = '".$voicemail_local_after_email."', "; $sql .= "voicemail_enabled = '".$voicemail_enabled."', "; $sql .= "voicemail_description = '".$voicemail_description."' "; @@ -273,7 +263,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { $voicemail_password = $row["voicemail_password"]; $greeting_id = $row["greeting_id"]; $voicemail_mail_to = $row["voicemail_mail_to"]; - $voicemail_attach_file = $row["voicemail_attach_file"]; + $voicemail_file = $row["voicemail_file"]; $voicemail_local_after_email = $row["voicemail_local_after_email"]; $voicemail_enabled = $row["voicemail_enabled"]; $voicemail_description = $row["voicemail_description"]; @@ -286,7 +276,6 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { $voicemail_mail_to = str_replace(" ", "", $voicemail_mail_to); //set defaults - if (strlen($voicemail_attach_file) == 0) { $voicemail_attach_file = "true"; } if (strlen($voicemail_local_after_email) == 0) { $voicemail_local_after_email = "true"; } if (strlen($voicemail_enabled) == 0) { $voicemail_enabled = "true"; } @@ -456,25 +445,16 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo "\n"; - echo " ".$text['label-voicemail_attach_file']."\n"; + echo " ".$text['label-voicemail_file']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; - echo $text['description-voicemail_attach_file']."\n"; + echo $text['description-voicemail_file']."\n"; echo "\n"; echo "\n"; diff --git a/app/voicemails/voicemail_messages.php b/app/voicemails/voicemail_messages.php index a6b06d7447..7b9f1b2ae0 100644 --- a/app/voicemails/voicemail_messages.php +++ b/app/voicemails/voicemail_messages.php @@ -25,13 +25,15 @@ */ require_once "root.php"; require_once "resources/require.php"; -require_once "resources/check_auth.php"; -if (permission_exists('voicemail_message_view')) { - //access granted -} -else { - echo "access denied"; - exit; +if (!(check_str($_REQUEST["action"]) == "download" && check_str($_REQUEST["src"]) == "email")) { + require_once "resources/check_auth.php"; + if (permission_exists('voicemail_message_view')) { + //access granted + } + else { + echo "access denied"; + exit; + } } //add multi-lingual support @@ -49,15 +51,17 @@ else { $voicemail_id = check_str($_REQUEST["id"]); $voicemail_uuid = check_str($_REQUEST["voicemail_uuid"]); //require_once "resources/classes/voicemail.php"; - $voicemail = new voicemail; - $voicemail->db = $db; - $voicemail->domain_uuid = $_SESSION['domain_uuid']; - $voicemail->voicemail_id = $voicemail_id; - $voicemail->voicemail_uuid = $voicemail_uuid; - $voicemail->voicemail_message_uuid = $voicemail_message_uuid; - $result = $voicemail->message_download(); - unset($voicemail); - header("Location: voicemail_edit.php?id=".$voicemail_uuid); + if ($voicemail_message_uuid != '' && $voicemail_id != '' && $voicemail_uuid != '') { + $voicemail = new voicemail; + $voicemail->db = $db; + $voicemail->domain_uuid = $_SESSION['domain_uuid']; + $voicemail->voicemail_id = $voicemail_id; + $voicemail->voicemail_uuid = $voicemail_uuid; + $voicemail->voicemail_message_uuid = $voicemail_message_uuid; + $result = $voicemail->message_download(); + unset($voicemail); + header("Location: voicemail_edit.php?id=".$voicemail_uuid); + } exit; } @@ -192,6 +196,11 @@ else { echo ""; echo "

"; +//autoplay message + if (check_str($_REQUEST["action"]) == "autoplay" && check_str($_REQUEST["uuid"]) != '') { + echo ""; + } + //include the footer require_once "resources/footer.php"; ?> \ No newline at end of file diff --git a/app/voicemails/voicemails.php b/app/voicemails/voicemails.php index 4cd68af40e..79f087ca9c 100644 --- a/app/voicemails/voicemails.php +++ b/app/voicemails/voicemails.php @@ -81,7 +81,6 @@ else { $sql .= "and ("; $sql .= " voicemail_id like '%".$search."%' "; $sql .= " or voicemail_mail_to like '%".$search."%' "; - $sql .= " or voicemail_attach_file like '%".$search."%' "; $sql .= " or voicemail_local_after_email like '%".$search."%' "; $sql .= " or voicemail_enabled like '%".$search."%' "; $sql .= " or voicemail_description like '%".$search."%' "; @@ -131,7 +130,6 @@ else { $sql .= "and ("; $sql .= " voicemail_id like '%".$search."%' "; $sql .= " or voicemail_mail_to like '%".$search."%' "; - $sql .= " or voicemail_attach_file like '%".$search."%' "; $sql .= " or voicemail_local_after_email like '%".$search."%' "; $sql .= " or voicemail_enabled like '%".$search."%' "; $sql .= " or voicemail_description like '%".$search."%' "; @@ -174,7 +172,7 @@ else { echo "\n"; echo th_order_by('voicemail_id', $text['label-voicemail_id'], $order_by, $order); echo th_order_by('voicemail_mail_to', $text['label-voicemail_mail_to'], $order_by, $order); - echo th_order_by('voicemail_attach_file', $text['label-voicemail_attach_file'], $order_by, $order); + echo th_order_by('voicemail_file', $text['label-voicemail_file_attached'], $order_by, $order); echo th_order_by('voicemail_local_after_email', $text['label-voicemail_local_after_email'], $order_by, $order); echo "".$text['label-tools']."\n"; echo th_order_by('voicemail_enabled', $text['label-voicemail_enabled'], $order_by, $order); @@ -199,7 +197,7 @@ else { } echo " \n"; echo " ".$row['voicemail_mail_to']." \n"; - echo " ".ucwords($row['voicemail_attach_file'])." \n"; + echo " ".(($row['voicemail_file'] == 'attach') ? $text['label-true'] : $text['label-false'])."\n"; echo " ".ucwords($row['voicemail_local_after_email'])." \n"; echo " \n"; echo " ".$text['label-view']."  \n"; diff --git a/resources/check_auth.php b/resources/check_auth.php index 1bd2493fea..0fa71ffcc8 100644 --- a/resources/check_auth.php +++ b/resources/check_auth.php @@ -45,7 +45,7 @@ require_once "resources/require.php"; //if the username is not provided then send to login.php if (strlen(check_str($_REQUEST["username"])) == 0 && strlen(check_str($_REQUEST["key"])) == 0) { - $target_path = ($_REQUEST["path"] != '') ? $_REQUEST["path"] : $_SERVER["PHP_SELF"]; + $target_path = ($_REQUEST["path"] != '') ? $_REQUEST["path"] : $_SERVER["REQUEST_URI"]; $_SESSION["message"] = "Invalid Username and/or Password"; header("Location: ".PROJECT_PATH."/login.php?path=".urlencode($target_path)); exit; diff --git a/resources/install/scripts/app/voicemail/resources/functions/send_email.lua b/resources/install/scripts/app/voicemail/resources/functions/send_email.lua index 14d4f1e8ea..04291ac084 100644 --- a/resources/install/scripts/app/voicemail/resources/functions/send_email.lua +++ b/resources/install/scripts/app/voicemail/resources/functions/send_email.lua @@ -37,7 +37,7 @@ --voicemail_password = row["voicemail_password"]; --greeting_id = row["greeting_id"]; voicemail_mail_to = row["voicemail_mail_to"]; - voicemail_attach_file = row["voicemail_attach_file"]; + voicemail_file = row["voicemail_file"]; voicemail_local_after_email = row["voicemail_local_after_email"]; end); @@ -45,8 +45,8 @@ if (voicemail_local_after_email == nil) then voicemail_local_after_email = "true"; end - if (voicemail_attach_file == nil) then - voicemail_attach_file = "true"; + if (voicemail_file == nil) then + voicemail_file = "listen"; end --require the email address to send the email @@ -113,6 +113,13 @@ body = body:gsub("${message_duration}", message_length_formatted); body = body:gsub("${account}", id); body = body:gsub("${domain_name}", domain_name); + if (voicemail_file == "attach") then + body = body:gsub("${message}", "Attached"); + elseif (voicemail_file == "link") then + body = body:gsub("${message}", "Download"); + else + body = body:gsub("${message}", "Listen"); + end body = body:gsub(" ", " "); body = body:gsub("%s+", ""); body = body:gsub(" ", " "); @@ -123,7 +130,7 @@ body = trim(body); --send the email - if (voicemail_attach_file == "true") then + if (voicemail_file == "attach") then if (voicemail_local_after_email == "false") then delete = "true"; else diff --git a/resources/install/scripts/app/voicemail/resources/templates/en/gb/email_body.tpl b/resources/install/scripts/app/voicemail/resources/templates/en/gb/email_body.tpl index 2248e26b2a..eb6702627d 100644 --- a/resources/install/scripts/app/voicemail/resources/templates/en/gb/email_body.tpl +++ b/resources/install/scripts/app/voicemail/resources/templates/en/gb/email_body.tpl @@ -1,35 +1,59 @@ -
-
- - + + +
- - -
- - - - - -
-You Have a New Voice Message
- - - - - - - - -
-From: -${caller_id_number}
Received: -${message_date}
Length:${message_duration}
To:${account}@${domain_name}
-
-
-To listen to this message, open the attachment. + + + -
+New Voicemail
- - +
+ + + + + + + + + + + + + + + + + + + + + +
+To + +${account}@${domain_name} +
+From + +${caller_id_number} +
+Received + +${message_date} +
+Message + +${message} +
+Length + +${message_duration} +
+
+ \ No newline at end of file diff --git a/resources/install/scripts/app/voicemail/resources/templates/en/us/email_body.tpl b/resources/install/scripts/app/voicemail/resources/templates/en/us/email_body.tpl index 2248e26b2a..eb6702627d 100644 --- a/resources/install/scripts/app/voicemail/resources/templates/en/us/email_body.tpl +++ b/resources/install/scripts/app/voicemail/resources/templates/en/us/email_body.tpl @@ -1,35 +1,59 @@ -
-
- - + + +
- - -
- - - - - -
-You Have a New Voice Message
- - - - - - - - -
-From: -${caller_id_number}
Received: -${message_date}
Length:${message_duration}
To:${account}@${domain_name}
-
-
-To listen to this message, open the attachment. + + + -
+New Voicemail
- - +
+ + + + + + + + + + + + + + + + + + + + + +
+To + +${account}@${domain_name} +
+From + +${caller_id_number} +
+Received + +${message_date} +
+Message + +${message} +
+Length + +${message_duration} +
+
+ \ No newline at end of file