[AsteriskBrasil] problema com 2 modens
Allan
zyryz em terra.com.br
Quarta Janeiro 4 19:54:34 BRT 2006
o channel e group ta invertido
mude seu /etc/asterisk/zapata.conf manualmente
tente desabilitar o script que gera automaticamente o zapata
ou altere o zapata.conf para nao "incluir" o zapata auto.
deve haver isso ai para que funcione
signalling=fxs_ks
group=>0
;placa 1
channel=>1
;placa 2
channel=>2
----- Original Message -----
From: Luis Henrique Pimentel
To: asteriskBrasil em listas.asteriskbrasil.org
Sent: Wednesday, January 04, 2006 9:33 AM
Subject: [AsteriskBrasil] problema com 2 modens
Tenho o asterisk em home instalado na minha maquina. Quando instalei o
asterisk em home 2.0 ele detectou automaticamente os modens. Estou com um
pequeno problema, so 1 modem pega o outro modem nao esta pegando. Entro no
asterisk -r e digito zap show status ele da o segunte resultado.
Description Alarms IRQ bpviol
CRC4
Generic Clone Board 1 OK 0 0 0
Generic Clone Board 2 OK 0 0 0
entro no zapata-auto.conf esta configurado assim
callerid=asreceived
; Span 1: WCFXO/0 "Generic Clone Board 1"
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 1
context=from-pstn
group=0
channel => 1
; Span 2: WCFXO/1 "Generic Clone Board 2"
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 2
context=from-pstn
group=1
channel => 1
O modem q funciona digito 91+ o numero
quando digito 90+ o numero pra pegar o outro modem da um erro
no asterisk -r aparece o seguinte
-- Executing Macro("SIP/202-38bc", "dialout-trunk|1|930882740|") in new
stack
-- Executing GotoIf("SIP/202-38bc", "1?3:2)") in new stack
-- Goto (macro-dialout-trunk,s,3)
-- Executing Macro("SIP/202-38bc", "user-callerid") in new stack
-- Executing DBget("SIP/202-38bc", "AMPUSER=DEVICE/202/user") in new
stack
-- DBget: varname=AMPUSER, family=DEVICE, key=202/user
-- DBget: set variable AMPUSER to 202
-- Executing DBget("SIP/202-38bc", "AMPUSERCIDNAME=AMPUSER/202/cidname")
in new stack
-- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=202/cidname
-- DBget: set variable AMPUSERCIDNAME to Lulinha
-- Executing GotoIf("SIP/202-38bc", "0?5") in new stack
-- Executing SetCallerID("SIP/202-38bc", ""Lulinha" <202>") in new stack
-- Executing NoOp("SIP/202-38bc", "Using CallerID "Lulinha" <202>") in
new stack
-- Executing Macro("SIP/202-38bc", "record-enable|202|OUT") in new stack
-- Executing GotoIf("SIP/202-38bc", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("SIP/202-38bc",
"recordingcheck|20060104-062802|1136374082.215") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20060104-062802|1136374082.215: Outbound recording not
enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("SIP/202-38bc", "No recording needed") in new stack
-- Executing Macro("SIP/202-38bc", "outbound-callerid|1") in new stack
-- Executing DBget("SIP/202-38bc", "USEROUTCID=AMPUSER/202/outboundcid")
in new stack
-- DBget: varname=USEROUTCID, family=AMPUSER, key=202/outboundcid
-- DBget: set variable USEROUTCID to 202
-- Executing GotoIf("SIP/202-38bc", "1?4") in new stack
-- Goto (macro-outbound-callerid,s,4)
-- Executing GotoIf("SIP/202-38bc", "0?6") in new stack
-- Executing SetCallerID("SIP/202-38bc", "202") in new stack
-- Executing NoOp("SIP/202-38bc", "CallerID set to 202") in new stack
-- Executing SetGroup("SIP/202-38bc", "OUT_1") in new stack
-- Executing CheckGroup("SIP/202-38bc", "1") in new stack
-- Executing SetVar("SIP/202-38bc", "DIAL_NUMBER=930882740") in new
stack
-- Executing SetVar("SIP/202-38bc", "DIAL_TRUNK=1") in new stack
-- Executing AGI("SIP/202-38bc", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf
-- AGI Script fixlocalprefix completed, returning 0
-- Executing SetVar("SIP/202-38bc", "OUTNUM=930882740") in new stack
-- Executing Cut("SIP/202-38bc", "custom=OUT_1|:|1") in new stack
-- Executing GotoIf("SIP/202-38bc", "0?16") in new stack
-- Executing Dial("SIP/202-38bc", "ZAP/g0/930882740") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Goto("SIP/202-38bc", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing NoOp("SIP/202-38bc", "Dial failed due to CHANUNAVAIL") in
new stack
-- Executing Macro("SIP/202-38bc", "outisbusy") in new stack
-- Executing Playback("SIP/202-38bc", "all-circuits-busy-now") in new
stack
-- Playing 'all-circuits-busy-now' (language 'en')
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on
'SIP/202-38bc' in macro 'outisbusy'
== Spawn extension (from-internal, 90930882740, 2) exited non-zero on
'SIP/202-38bc'
-- Executing Macro("SIP/202-38bc", "hangupcall") in new stack
-- Executing ResetCDR("SIP/202-38bc", "w") in new stack
-- Executing NoCDR("SIP/202-38bc", "") in new stack
-- Executing Wait("SIP/202-38bc", "5") in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on
'SIP/202-38bc' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/202-38bc'
alguem pode me ajudar, desde ja agradeço
Obrigado
E-mail classificado pelo Identificador de Spam Inteligente.
Para alterar a categoria classificada, visite o Terra Mail
_______________________________________________
LIsta de discussões AsteriskBrasil.org
AsteriskBrasil em listas.asteriskbrasil.org
http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
_______________________________________________
Acesse o wiki AsteriskBrasil.org:
http://www.asteriskbrasil.org
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.12/220 - Release Date: 3/1/2006
Mais detalhes sobre a lista de discussão AsteriskBrasil