[AsteriskBrasil] Link E1 da Embratel

Leonardo Alves leoalves em teltec.com.br
Segunda Fevereiro 13 13:27:24 BRST 2006


Pessoal,

 

To usando o asterisk home com um link E1 da embratel sinalização ISDN.

A minha placa ta com o a luz verde.  E o status dela pelo zttool esta OK.

 

Agora quando tento discar pelo sofphone escuto a mensagem "all circuits are busy now..."

 

Será que alguém sabe o que pode ser ?

 

Segue abaixo as minhas configurações.

 

Zaptel.conf

# Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" 

span=1,0,0,ccs,hdb3

bchan=1-15,17-31

dchan=16

 

# Global data

 

loadzone           = br 

defaultzone        = br

 

 

Zapata.conf

; Zapata telephony interface;

; Configuration file

[trunkgroups]

[channels]

 

language=en

context=from-pstn

switchtype=euroisdn

signalling=pri_cpe

 

; rxwink=300                  ; Atlas seems to use long (250ms) winks

;

; Whether or not to do distinctive ring detection on FXO lines

;

; usedistinctiveringdetection=yes

 

callerid=asreceived 

usecallerid=yes

hidecallerid=no

callwaiting=yes

usecallingpres=yes

callwaitingcallerid=yes

threewaycalling=yes

transfer=yes

cancallforward=yes

callreturn=yes

echocancel=yes

echocancelwhenbridged=yes

echotraining=400

rxgain=0.0

txgain=0.0

callgroup=0

pickupgroup=0

immediate=no

 

;faxdetect=both

faxdetect=incoming

;faxdetect=outgoing

;faxdetect=no

 

group=0

channel => 1-15

channel => 17-31 

 

 

;Include genzaptelconf configs

#include zapata-auto.conf

 

;Include AMP configs

#include zapata_additional.conf

 

 

Abaixo segue a tela do asterisk.

 

Executing Macro("IAX2/2000-2", "dialout-trunk|1|33289779|") in new stack

    -- Executing GotoIf("IAX2/2000-2", "1?3:2)") in new stack

    -- Goto (macro-dialout-trunk,s,3)

    -- Executing Macro("IAX2/2000-2", "user-callerid") in new stack

    -- Executing DBget("IAX2/2000-2", "AMPUSER=DEVICE/2000/user") in new stack

    -- DBget: varname=AMPUSER, family=DEVICE, key=2000/user

    -- DBget: set variable AMPUSER to 2000

    -- Executing DBget("IAX2/2000-2", "AMPUSERCIDNAME=AMPUSER/2000/cidname") in

new stack

    -- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=2000/cidname

    -- DBget: set variable AMPUSERCIDNAME to Leonardo Alves

    -- Executing GotoIf("IAX2/2000-2", "0?5") in new stack

    -- Executing SetCallerID("IAX2/2000-2", ""Leonardo Alves" <2000>") in new st

ack

    -- Executing NoOp("IAX2/2000-2", "Using CallerID "Leonardo Alves" <2000>") i

n new stack

    -- Executing Macro("IAX2/2000-2", "record-enable|2000|OUT") in new stack

    -- Executing GotoIf("IAX2/2000-2", "0 > 0?2:4") in new stack

    -- Goto (macro-record-enable,s,4)

    -- Executing AGI("IAX2/2000-2", "recordingcheck|20060213-092517|1139840717.0

") in new stack

    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck

  recordingcheck|20060213-092517|1139840717.0: Outbound recording not enabled

    -- AGI Script recordingcheck completed, returning 0

    -- Executing NoOp("IAX2/2000-2", "No recording needed") in new stack

    -- Executing Macro("IAX2/2000-2", "outbound-callerid|1") in new stack

    -- Executing DBget("IAX2/2000-2", "USEROUTCID=AMPUSER/2000/outboundcid") in

new stack

    -- DBget: varname=USEROUTCID, family=AMPUSER, key=2000/outboundcid

    -- DBget: set variable USEROUTCID to

    -- Executing GotoIf("IAX2/2000-2", "0?4") in new stack

    -- Executing SetCallerID("IAX2/2000-2", "21025222") in new stack

    -- Executing GotoIf("IAX2/2000-2", "1?6") in new stack

    -- Goto (macro-outbound-callerid,s,6)

    -- Executing NoOp("IAX2/2000-2", "CallerID set to 21025222") in new stack

    -- Executing SetGroup("IAX2/2000-2", "OUT_1") in new stack

    -- Executing CheckGroup("IAX2/2000-2", "30") in new stack

    -- Executing SetVar("IAX2/2000-2", "DIAL_NUMBER=33289779") in new stack

    -- Executing SetVar("IAX2/2000-2", "DIAL_TRUNK=1") in new stack

    -- Executing AGI("IAX2/2000-2", "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("IAX2/2000-2", "OUTNUM=33289779") in new stack

    -- Executing Cut("IAX2/2000-2", "custom=OUT_1|:|1") in new stack

    -- Executing GotoIf("IAX2/2000-2", "0?16") in new stack

    -- Executing Dial("IAX2/2000-2", "ZAP/g0/33289779") in new stack

  == Everyone is busy/congested at this time (1:0/0/1)

    -- Executing Goto("IAX2/2000-2", "s-CHANUNAVAIL|1") in new stack

    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)

    -- Executing NoOp("IAX2/2000-2", "Dial failed due to CHANUNAVAIL") in new st

ack

    -- Executing Macro("IAX2/2000-2", "outisbusy") in new stack

    -- Executing Playback("IAX2/2000-2", "all-circuits-busy-now") in new stack

    -- Playing 'all-circuits-busy-now' (language 'en')

    -- Executing Playback("IAX2/2000-2", "pls-try-call-later") in new stack

    -- Playing 'pls-try-call-later' (language 'en')

    -- Executing Macro("IAX2/2000-2", "hangupcall") in new stack

    -- Executing ResetCDR("IAX2/2000-2", "w") in new stack

    -- Executing NoCDR("IAX2/2000-2", "") in new stack

    -- Executing Wait("IAX2/2000-2", "5") in new stack

    -- Executing Hangup("IAX2/2000-2", "") in new stack

  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'IAX2/2000-2' i

n macro 'hangupcall'

  == Spawn extension (macro-outisbusy, s, 3) exited non-zero on 'IAX2/2000-2' in

 macro 'outisbusy'

  == Spawn extension (from-internal, 033289779, 2) exited non-zero on 'IAX2/2000

-2'

    -- Executing Macro("IAX2/2000-2", "hangupcall") in new stack

    -- Executing ResetCDR("IAX2/2000-2", "w") in new stack

    -- Executing NoCDR("IAX2/2000-2", "") in new stack

    -- Executing Wait("IAX2/2000-2", "5") in new stack

    -- Executing Hangup("IAX2/2000-2", "") in new stack

  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'IAX2/2000-2' i

n macro 'hangupcall'

  == Spawn extension (from-internal, h, 1) exited non-zero on 'IAX2/2000-2'

    -- Hungup 'IAX2/2000-2'

 

 

Se alguém puder me ajudar agradeço desde já.

 

[]s

 

Leonardo Alves

-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20060213/c0ae6cf2/attachment-0001.html


Mais detalhes sobre a lista de discussão AsteriskBrasil