2008/4/14, paty <patyib...@gmail.com>:
Cual de los dos equipos (asterisk o central) genera el clock ?
-----------------------------------------------
Jorge Eduardo Silva Jackson
Digium Certified Asterisk Professional - dCAP -
Linux user #464413
S&D Informatica
Tel: 099-665783 (+ 598 + 99665783)
-----------------------------------------------
switchtype=qsig
signalling=pri_net
Si la NEC cuenta con el protocolo Q.Sig en su configuracion o a veces
depende de licencias especiales en algunas marcas como Alcatel y
Nortel.
Suerte
Miguel Rabi
Todavía tengo problemas al tratar de conectar Asterisk con una central Nec.
Gracias a todos por su ayuda ahora levantan los canales.
La salida del CLI, es la siguiente:
B-channel 0/1 successfully restarted on span 2
-- B-channel 0/2 successfully restarted on span 2
-- B-channel 0/3 successfully restarted on span 2
-- B-channel 0/4 successfully restarted on span 2
-- B-channel 0/5 successfully restarted on span 2
-- B-channel 0/6 successfully restarted on span 2
-- B-channel 0/7 successfully restarted on span 2
-- B-channel 0/8 successfully restarted on span 2
-- B-channel 0/9 successfully restarted on span 2
-- B-channel 0/10 successfully restarted on span 2
-- B-channel 0/11 successfully restarted on span 2
-- B-channel 0/12 successfully restarted on span 2
-- B-channel 0/13 successfully restarted on span 2
-- B-channel 0/14 successfully restarted on span 2
-- B-channel 0/15 successfully restarted on span 2
-- B-channel 0/17 successfully restarted on span 2
-- B-channel 0/18 successfully restarted on span 2
-- B-channel 0/19 successfully restarted on span 2
-- B-channel 0/20 successfully restarted on span 2
-- B-channel 0/21 successfully restarted on span 2
-- B-channel 0/22 successfully restarted on span 2
-- B-channel 0/23 successfully restarted on span 2
-- B-channel 0/24 successfully restarted on span 2
-- B-channel 0/25 successfully restarted on span 2
-- B-channel 0/26 successfully restarted on span 2
-- B-channel 0/27 successfully restarted on span 2
-- B-channel 0/28 successfully restarted on span 2
-- B-channel 0/29 successfully restarted on span 2
-- B-channel 0/30 successfully restarted on span 2
-- B-channel 0/31 successfully restarted on span 2
La alarma con el comando zap show status esta en OK.
Pero no puedo realizar llamadas entrantes. Cuando realizo una llamada
entrante, no veo nada en el CLI, al terminar de digitar queda la linea
muerta, no escucha ningún tono.
Tienen alguna idea de lo que me puede estar pasando? Ya verifique el archivo
extensions.conf y me parece que esta bien, además en esa misma tarjeta tengo
conectado un E1 pero directamente de la PSTN y funciona correctamente.
Hoy cuando vaya voy a realizar pruebas si puedo realizar llamadas salientes,
mañana les cuento.
Muchas gracias por sus aportes siempre vienen bien.
Saludos,
Patricia
--
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.22.13/1378 - Release Date: 15/04/2008
9:12
Todavía no pude conectar Asterisk con la central Nec. Los canales levantan
bien.
Pero llamadas entrantes no puedo hacer, cuando quiero llamar a Asterisk, no
veo nada en el cli.
Si realizo llamadas salientes, tengo el siguiente error:
Executing Dial("SIP/7001-6167", "Zap/g2/3200") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g2/3200
-- Channel 0/1, span 2 got hangup
-- Channel 0/1, span 2 received AOC-E charging 0 units
Apr 21 17:22:23 WARNING[6132]: app_dial.c:705 wait_for_answer: Unable to
forward voice
-- Hungup 'Zap/32-1'
Busque en el google, pero no encontré cual puede ser el problema.
Cuando se produce esta warning?
Donde puede estar el problema? En mis archivos de configuración de
Asterisk, o alguna configuración en la central Nec?
Desde ya, cualquier aporte se lo agradezco, porque no tengo ni idea lo que
puede estar pasando.
Saludos,
Patricia
Hola,
Saludos,
Patricia
Version: 7.5.524 / Virus Database: 269.23.2/1389 - Release Date: 21/04/2008
8:34
Gracias por contestarme. La solución de Rosa ya la había probado, asterisk
es el master en el reloj (0), el técnico de la central me dijo que no me
enviaba el clock.
En el switchtype tengo euroisdn, no lo he probado con qsig. Voy a realizar
esta prueba.
Saludos,
Patricia
--
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.4/1395 - Release Date: 24/04/2008
7:24
;
; The "General" category is for certain variables.
;
[general]
;
static=yes
;
; if static=yes and writeprotect=no, you can save dialplan by
; CLI command 'save dialplan' too
;
writeprotect=no
;
; The "Globals" category contains global variables that can be referenced
; in the dialplan with ${VARIABLE} or ${ENV(VARIABLE)} for Environmental variable
; ${${VARIABLE}} or ${text${VARIABLE}} or any hybrid
;
[globals]
CONSOLE=Console/dsp ; Console interface for demo
IAXINFO=guest
operroute=andaroute
operroute2=SIP ; IAXtel username/password
;IAXINFO=myuser:mypass
;TRUNKCOMP1=Zap/g1 ; Trunk interface
;TRUNKCOMP2=Zap/g2 ; Trunk interface
;
; Note the 'g2' in the TRUNK variable above. It specifies which group (defined
; in zapata.conf) to dial, i.e. group 2, and how to choose a channel to use in
; the specified group. The four possible options are:
;
; g: select the lowest-numbered non-busy Zap channel (aka. ascending sequential hunt group).
; G: select the highest-numbered non-busy Zap channel (aka. descending sequential hunt group).
; r: use a round-robin search, starting at the next highest channel than last time (aka. ascending rotary hunt group).
; R: use a round-robin search, starting at the next lowest channel than last time (aka. descending rotary hunt group).
;
TRUNKMSD=1 ; MSD digits to strip (usually 1 or 0)
;TRUNK=IAX2/user:pass@provider
;
; X - any digit from 0-9
; Z - any digit from 1-9
; N - any digit from 2-9
; [1235-9] - any digit in the brackets (in this example, 1,2,3,5,6,7,8,9)
; . - wildcard, matches anything remaining (e.g. _9011. matches
; anything starting with 9011 excluding 9011 itself)
;zvik globals cust
ASTDBUSER=asterisk
ASTDBNAME=asterisk_db
ASTDBPASS=den123
;
;zvik - Dial options
;DIALOPT1=tT
DIALOPT1=t
DIALOPT2=tTwW
DIALOPT3=tTwWo
RINGLEN=30
;
;ssw
;Here sswprefix
carneprefix=603199
sucursal=MONTEVIDEO_1
authsavstr=sav
authstr=auth
comerciostr=com
colatimeout=150
;
;
;- Macros
#include "/etc/asterisk/macros.conf"
#include "/etc/asterisk/commoncomp.conf"
#include "/etc/asterisk/ANDACD.conf"
#include "/etc/asterisk/recordings.conf"
[from-pstn-fxo-consulta-de-disponible]
;The def below is good for incoming FXO zap (single company)
exten => _X.,1,Set(COMPANY=ANDA)
exten => _X.,n,GotoIf($["foo${COMPANY}" = "foo"]?nodid)
exten => _X.,n,Set(startpoint=${DB(${COMPANY}/STARTPOINT)})
exten => _X.,n,Set(startprio=${DB(${COMPANY}/STARTPRIO)})
exten => _X.,n,Set(startctx=${DB(${COMPANY}/STARTCTX)})
exten => _X.,n,GotoIf($["foo${startctx}" = "foo"]?stdcompany)
exten => _X.,n,Goto(${startctx},${startpoint},${startprio})
exten => _X.,n(stdcompany),Goto(from-pstn-${COMPANY}-consulta-de-disponible,${startpoint},${startprio})
exten => _X.,n(nodid),Congestion
exten => _X.,n,Hangup
;
[internal-ANDA]
exten => 4000714,1,Answer
exten => 4000714,n,Dial(ZAP/g2/94000714)
exten => 4000714,n,Hangup
;
; Zapata telephony interface
;
; Configuration file
;
; You need to restart Asterisk to re-configure the Zap channel
; CLI> reload chan_zap.so
; will reload the configuration file,
; but not all configuration options are
; re-configured during a reload.
[channels]
group=1
language=es
context=from-pstn-fxo-consulta-de-disponible
switchtype=euroisdn
priindication=outofband
pridialplan=unknown
signalling=pri_cpe
callerid=asreceived
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitinggcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echotraining=400
rxgain=0.0
txgain=0.0
relaxdtmf=yes
immediate=no
channel => 1-15,17-31
group=2
signalling=pri_net
channel => 32-46,48-62
#
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#
#
# First come the span definitions, in the format
# span=<span num>,<timing source>,<line build out (LBO)>,<framing>,<coding>[,yellow]
span=1,0,0,ccs,hdb3
bchan=1-15,17-31
dchan=16
span=2,0,0,ccs,hdb3
bchan=32-46,48-62
dchan=47
loadzone=us
#loadzone = us-old
#loadzone=gr
#loadzone=it
#loadzone=fr
#loadzone=de
#loadzone=uk
#loadzone=fi
#loadzone=jp
#loadzone=sp
#loadzone=no
#loadzone=hu
#loadzone=lt
#loadzone=pl
defaultzone=us
----- Original Message -----From: Sergio Serrano
Sent: Friday, April 25, 2008 10:11 AM
Hace unos cuantos días yo quería ayudar a un compañero para conectar
Asterisk con una central Nec. Mande unos cuantos correos al foro para que me
dieran alguna sugerencia de donde podría estar el problema, ya que los
canales levantaban pero no se podía hacer llamadas entrantes ni salientes.
Me contestaron unos cuantos, en conclusión me dijeron que el problema estaba
en la configuración de la central Nec.
Tenían razón, ellos tenían mal configurado el canal D de ese PRI, apuntaba
al primer PRI de la central, eso estaba por default y no lo habían
cambiado). El técnico de Telefax en 10 minutos lo resolvió (el problema era
que el técnico no venia, y yo no estaba a cargo del proyecto sino lo hacía
venir enseguida).
Muchas gracias, por su ayuda. Lo bueno que ahora tengo un PRI para realizar
pruebas hasta que se pongan en producción (puedo probar mi discador
automático que no me funciono porque en las líneas analógicas no tengo
inversión de polaridad y contestaba enseguida asterisk y se iba a la IVR,
antes que el usuario conteste).
Saludos,
Patricia