Abstract

El projecte consisteix en crear una aplicació web que, en primera instància, podria actuar

d’àudio-guia d’un museu tot i que pot tenir altres utilitats. Aquestes podrien ser, per exemple,

un assistent a una tenda de roba o una aplicació d’ajuda per a cecs.

En aquest cas, l’usuari que visiti el museu, es podrà connectar a la xarxa Wifi des del seu

terminal i amb el navegador web, es connectarà a la càmera del seu telèfon mòbil i escanejarà

un codi QR situat al costat d’una obra d’art. Llavors, rebrà un àudio de veu amb l’explicació

d’aquesta obra.

L’aplicació s’allotja en un servidor Linux Ubuntu Server. A dins d’aquest, hi ha un

servidor Apache2, que junt amb llenguatge PHP és l’encarregat de proveir la interfície web i

la gestió de sessions a l’usuari.

Per altra banda, també s’hi allotjarà un servidor Asterisk, que proporciona les

funcionalitats d’una central telefònica. Asterisk gestionarà els usuaris SIP, rebrà les peticions

SIP i enviarà els àudios als terminals mòbils. El protocol SIP és un estàndard per a la

iniciació, manteniment i finalització de connexions multimèdia.

La connexió entre HTML5/JavaScript, és a dir, la plana web, i Asterisk, es produeix

mitjançant la API WebRTC. Aquesta API té funcions per a connectar, enviar peticions i

codificar/descodificar els àudios i vídeo que s’envien entre terminal mòbil i servidor.

Tant la informació de les sessions com la dels usuaris SIP, s’allotja en una base de dades

PostgreSQL. La gestió d’aquesta base de dades, es realitza amb codi PHP inserit a dins del

codi HTML5 o bé utilitzant el programa de gestió de PHPpgAdmin.

El proyecto consiste en crear una aplicación web que, en primera instancia, podría actuar

de audio-guía de un museo, a pesar de que puede tener otras utilidades. Estas podrían ser, por

ejemplo, un asistente en una tienda de ropa o una aplicación de ayuda para ciegos.

En este caso, el usuario que visite el museo se podrá conectar a la red Wifi desde su

terminal y, utilizando la cámara de su teléfono móvil, escaneará un código QR situado junto a

una obra de arte. Entonces, recibirá un audio de voz con la explicación de esta obra.

La aplicación se aloja en un servidor Linux Ubuntu Server, dentro del cual hay un servidor

Apache2, que junto con lenguaje PHP es el encargado de proveer la interfaz web y la gestión

de sesiones al usuario.

Por otro lado, también se alojará un servidor Asterisk. Este programa proporciona las

funcionalidades de una central telefónica. Asterisk gestionará los usuarios SIP, recibirá las

peticiones SIP y enviará los audios a los terminales móviles. El protocolo SIP es un estándar

para la iniciación, mantenimiento y finalización de conexiones multimedia.

La conexión entre HTML5/Javascript, es decir, la página web, y Asterisk, se produce

mediante la API WebRTC. Esta API tiene funciones para conectar, enviar peticiones y

codificar/descodificar los audios y vídeo que se envían entre terminal móvil y servidor.

Tanto la información de las sesiones como la de los usuarios SIP, se aloja en una base de

datos PostgreSQL. La gestión de esta base de datos se realiza con código PHP insertado

dentro del código HTML5 o bien utilizando el programa de gestión de PHPpgAdmin.

The project consists in creating a web application that, in first instance, could act as an

audio-guide of a museum, although this can have other utilities. These might be, for example,

an assistant in a tent of clothes or an application for helping blind people.

In that case, the user that visits the museum will be able to connect to the Wifi network

from his terminal and using his phone càmera, he will be aple to scan a QR code situated next

to an artwork. Then, he will receive an audio with the explanation of that artwork.

The application lays in a server Linux Ubuntu Server. Inside this server, there is an

Apache2 server, than together with PHP language is the responsible to provide the web

interface and the management of sessions to the user.

In the other hand, an Asterisk server will also be lodged. This program provides the

functionalities of a telephonic head office. Asterisk will manage the SIP users, this will

receive the SIP requests and this will also send the audios to the mobile terminal. The SIP

protocol is an standard used for the initiation, maintenance and ending of multimedia

connections.

The connection between HTML5/JavaScript, that means, the web page, and Asterisk, is

performed by means of the API WebRTC. This API has functions to connect, send requests

and encode/decode the audios and video sended between the mobile terminal and the server.

Information of the sessions as well as information of the SIP users, lays in a PostgreSQL

database. Management of this database, is done with PHP code inserted in the HTML5 code

or using the program of management of PHPpgAdmin.

html asterisk 电话,WebGuide: Aplicació Web (HTML5) i Asterisk utilitzant VoIP相关推荐

  1. 电话来电显示WEB组件

    电话来电显示WEB组件 设备: MODEM (支持来显) WEB组件:IIS,支持环境ASP/PHP/ASP.net 有开发过此类似者请联系我.QQ 7665765

  2. web/html5调用摄像头实现二维码扫描效果(代码实例)

    本文给大家介绍如何用web/html5调用摄像头实现二维码扫描的效果,有一定的参考价值,有需要的朋友可以参考一下,希望对你们有所帮助. 利用html5(navigator.getUserMedia)调 ...

  3. Asterisk权威指南/第三章 安装Asterisk

    在这一章我们将详细介绍如何从源代码安装Asterisk.很多人回避这种方法,说它太难了,又耗时间.我们在这里想证明的是从源代码安装Asterisk其实没那么难.更重要的是,我们想为你提供一个最好的As ...

  4. java web html5区别_html5和html有什么区别啊?

    主要有三个区别: 1.文档声明区别 HTML:超文本标记语言,一种纯文本类型的语言. HTML5.0:文档声明HTML5方便书写,精简,有利于程序员快速的阅读和开发. 2.结构语义区别 html:没有 ...

  5. web html5音乐播放器设计与实现,基于HTML5技术的音乐播放器的设计与实现

    Vol.33No.11Nov.2017 赤峰学院学报(自然科学版) Journal of Chifeng University (Natural Science Edition )第33卷第11期(下 ...

  6. 无插件纯Web HTML5 3D机房 进阶篇(新增设备、线缆、巡查等功能)

    前情提要 前阵子写了一篇无插件纯Web 3D机房,介绍了如何用html5在网页上创建无插件的精美3d机房场景.这两个月以来,陆续收到很多朋友的鼓(膝)励(盖),受宠若惊之余,对索要源代码的朋友都已经尽 ...

  7. 一起学WEB HTML5 第1讲

    前言 今天开始我们就要进行第2个阶段的学习啦,今天的学习内容一共有以下几个部分: HTML5 basic 所有网页的结构,数据都是用html5来搭建 Ajax异步的数据交互 ajax帮助我们异步连接服 ...

  8. 第一周Web——HTML5的部分标签

    一.HTML5的简介 HTML5是一种应用在Web前端的超文本链接语言,配合css.Javascript使用效果更好.我是在VScode中写html代码.这种语言对于文本.图像.声音.视频.超链接的处 ...

  9. Asterisk 电话落地的几种途径,ET263设置

    PSTN固话:个人,的PC机插入  模数转换卡,比如单口的Digium x100p,4口的TDM 400,淘宝上面自己找了. GSM手机:蓝牙接入,需要一台台式机,一个蓝牙接收器,配置chan_mob ...

最新文章

  1. Go 学习笔记(2)— 安装目录、工作区、源码文件和标准命令
  2. 身为 Java 程序员必须掌握的 10 款开源工具!
  3. Source Insight checking for modified files 卡顿(Reload externally modified files automatically取消)(未解决)
  4. postgresql常用数据类型:数值、日期、字符串类型
  5. MySQL数据库:explain执行计划详解
  6. 李彦宏妻子马东敏向中国科大捐赠1亿 成立蔷薇基金
  7. Ubuntu安装BackExec Remote Agent for Linux
  8. 怎么把分开的pdf放在一起_糖和盐混在一起了要怎么分开?| 趣问万物
  9. 标识符的命名规定java 0126
  10. java常用api简单统计
  11. Sci-Hub又又又被起诉了!这个论文免费下载网站也太难了...
  12. 第八章 深度强化学习-Nature深度Q网络(Nature DQN)
  13. 单元测试的思考与实践
  14. 在云服务器上(Windows)手动搭建FTP站点
  15. python运行系统找不到指定文件_系统找不到指定文件怎么解决
  16. 使用多个路由器有线桥接实现无线漫游/Lan口连接
  17. 知识贴:电子面单与传统面单的区别
  18. Qt官方示例-计算器
  19. 关于RD和RT的意义
  20. 企业开发的困境与变局

热门文章

  1. 基于python的量化投资基础(Chapter.0)——概述
  2. linux 内存条DDR几,DDR、DDR2、DDR3、SDRAM等内存的简要区别
  3. 在TI DSP开发板中烧写Flash程序
  4. to_categorical的用法
  5. Oracle中的emp、dept、bonus及salgrade表的新建及MySQL中的三种注释形式
  6. ESTIMATE包计算肿瘤纯度
  7. 详解 springboot 多线程处理任务无法注入bean
  8. “温莎当下 麦克成风”2021赛季杭州赛区决赛精彩收官
  9. 全局唯一ID发号器的几个思路
  10. Windows 7 与 Linux 的双系统安装