User Tools

Site Tools


informatica:telefonia:trixbox:gsm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
informatica:telefonia:trixbox:gsm [2013/01/18 08:34] joseinformatica:telefonia:trixbox:gsm [2015/04/13 20:19] (current) – external edit 127.0.0.1
Line 58: Line 58:
  
  
-Enviar un sms desde CLI: +Enviar un sms desde CLI:\\ 
-  trixbox1*CLI> sendsms SIP/0830102008 dahdi/610410395 hola +Accedemos al CLI de asterisk amb tantes v com nivell de debug: 
 +  #asterisk -rvvvvv 
 +
 +  #rasterisk -vvvvvv 
 +i des del CLI: 
 +  trixbox1*CLI> sendsms SIP/0830102008 dahdi/610410XXX hola 
  
 <code> <code>
Line 67: Line 72:
 [Jan 18 00:51:47] VERBOSE[3111] logger.c:   == Using SIP VRTP CoS mark 6 [Jan 18 00:51:47] VERBOSE[3111] logger.c:   == Using SIP VRTP CoS mark 6
 [Jan 18 00:51:47] VERBOSE[3113] logger.c:     -- Launching Sendsms(dahdi/1,610410395,hola) on SIP/0830102008-00000007 [Jan 18 00:51:47] VERBOSE[3113] logger.c:     -- Launching Sendsms(dahdi/1,610410395,hola) on SIP/0830102008-00000007
-[Jan 18 00:51:47] VERBOSE[3114] logger.c:     -- Launching DoSms(610410395 hola) on DAHDI/1-1+[Jan 18 00:51:47] VERBOSE[3114] logger.c:     -- Launching DoSms(610410XXX hola) on DAHDI/1-1
 [Jan 18 00:51:51] WARNING[3114] chan_dahdi.c: gsm send sms sucess [Jan 18 00:51:51] WARNING[3114] chan_dahdi.c: gsm send sms sucess
 [Jan 18 00:51:51] VERBOSE[3114] logger.c:     -- Hungup 'DAHDI/1-1' [Jan 18 00:51:51] VERBOSE[3114] logger.c:     -- Hungup 'DAHDI/1-1'
 </code> </code>
 +
 +Des del prompt es pot fer directament amb:
 +  # asterisk -rx "sendsms SIP/0830102008 dahdi/1 610410395 hola"
  
  
Line 136: Line 144:
  
 Nos bajamos los drivers de http://www.atcom.cn/cn/download/cards/ax4g/ax4g_elastix2.0.3.tar.gz y los instalamos. Nos bajamos los drivers de http://www.atcom.cn/cn/download/cards/ax4g/ax4g_elastix2.0.3.tar.gz y los instalamos.
 +
 +Cuidado si es la versión en catalán, tenemos que cambiar una línea del script de instalación ax4g_install.sh, porque sinó no nos detecta correcamente la versión de asterisk, nos sale "instal·lant" en vez de la versión, porque hace un cat del fichero install.log que tiene la línea:
 +
 +  S'està instal·lant elastix-2.0.0-57.noarch
 +
 +
 +<code>
 +# ./ax4g_install.sh 
 +
 +**************************************************************************
 +@@                   ATCOM AX4G Card Install Script                     @@
 +@@                             V1.0.1                                   @@
 +@@                         Welcome to Use AX4G                          @@
 +@@                 Copyright(c) 2010-2012 ATCOM  Co., Ltd.              @@
 +**************************************************************************
 +
 +
 +Error: The current version was not support the instal·lant
 +
 +</code>
 +
 +Hay que cambiar:
 +  NOW_ELASTIX_VERSION=`cat /root/install.log | grep elastix-2 | cut -d' ' -f2`
 +Por:
 +  NOW_ELASTIX_VERSION=`cat /root/install.log | grep elastix-2 | cut -d' ' -f3`
  
  
  
 +  201:    3891002   IO-APIC-level  SiS SI7012, ax4g/ax2g4a
informatica/telefonia/trixbox/gsm.1358498080.txt.gz · Last modified: 2015/04/13 20:19 (external edit)