[AsteriskBrasil] Me ajudem: Asterisk erro: TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks"

Fabio Henrique fabiohga em gmail.com
Quarta Agosto 19 15:38:32 BRT 2009


Olá Amigos, estou tentando configurar E1-R2 EMBRATEL no Asterisk ,segue
abaixo as config do zaptel e zapata, apresenta o erro mais abaixo...Alguem
pode me ajudar.

zaptel.conf:

loadzone    = br
defaultzone = br

span=1,1,0,cas,hdb3
cas=1-15:1101
cas=17-31:1101
dchan=16
_____________

zapata.conf:

[trungroups]

[channels]
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes

signalling=mfcr2
mfcr2_variant=br
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_logdir=span1
mfcr2_logging=all

context=from-zaptel
group=0
callgroup=0
pickupgroup=0
channel => 1-15
channel => 17-31
________________

ERRO ABAIXO:


    -- Executing [444435153730 em from-internal:1] Macro("SIP/3730-085d0648",
"dialout-trunk|8|35153730||") in new stack
    -- Executing [s em macro-dialout-trunk:1] Set("SIP/3730-085d0648",
"DIAL_TRUNK=8") in new stack
    -- Executing [s em macro-dialout-trunk:2] Set("SIP/3730-085d0648",
"DIAL_NUMBER=35153730") in new stack
    -- Executing [s em macro-dialout-trunk:3] Set("SIP/3730-085d0648",
"ROUTE_PASSWD=") in new stack
    -- Executing [s em macro-dialout-trunk:4] GotoIf("SIP/3730-085d0648",
"1?noauth") in new stack
    -- Goto (macro-dialout-trunk,s,6)
    -- Executing [s em macro-dialout-trunk:6] GotoIf("SIP/3730-085d0648",
"0?disabletrunk|1") in new stack
    -- Executing [s em macro-dialout-trunk:7] Set("SIP/3730-085d0648",
"_NODEST=") in new stack
    -- Executing [s em macro-dialout-trunk:8] Set("SIP/3730-085d0648",
"DIAL_TRUNK_OPTIONS=tTrwW") in new stack
    -- Executing [s em macro-dialout-trunk:9] Set("SIP/3730-085d0648",
"GROUP()=OUT_8") in new stack
    -- Executing [s em macro-dialout-trunk:10] Macro("SIP/3730-085d0648",
"user-callerid|SKIPTTL") in new stack
    -- Executing [s em macro-user-callerid:1] NoOp("SIP/3730-085d0648",
"user-callerid: device 3730") in new stack
    -- Executing [s em macro-user-callerid:2] Set("SIP/3730-085d0648",
"AMPUSER=3730") in new stack
    -- Executing [s em macro-user-callerid:3] GotoIf("SIP/3730-085d0648",
"0?report") in new stack
    -- Executing [s em macro-user-callerid:4] GotoIf("SIP/3730-085d0648",
"0?start") in new stack
    -- Executing [s em macro-user-callerid:5] Set("SIP/3730-085d0648",
"REALCALLERIDNUM=3730") in new stack
    -- Executing [s em macro-user-callerid:6] NoOp("SIP/3730-085d0648",
"REALCALLERIDNUM is 3730") in new stack
    -- Executing [s em macro-user-callerid:7] Set("SIP/3730-085d0648",
"AMPUSER=3730") in new stack
    -- Executing [s em macro-user-callerid:8] Set("SIP/3730-085d0648",
"AMPUSERCIDNAME=Suporte") in new stack
    -- Executing [s em macro-user-callerid:9] GotoIf("SIP/3730-085d0648",
"0?report") in new stack
    -- Executing [s em macro-user-callerid:10] Set("SIP/3730-085d0648",
"AMPUSERCID=3730") in new stack
    -- Executing [s em macro-user-callerid:11] Set("SIP/3730-085d0648",
"CALLERID(all)="Suporte" <3730>") in new stack
    -- Executing [s em macro-user-callerid:12] Set("SIP/3730-085d0648",
"REALCALLERIDNUM=3730") in new stack
    -- Executing [s em macro-user-callerid:13] NoOp("SIP/3730-085d0648", "TTL:
ARG1: SKIPTTL") in new stack
    -- Executing [s em macro-user-callerid:14] GotoIf("SIP/3730-085d0648",
"1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s em macro-user-callerid:23] NoOp("SIP/3730-085d0648", "Using
CallerID "Suporte" <3730>") in new stack
    -- Executing [s em macro-dialout-trunk:11] Macro("SIP/3730-085d0648",
"record-enable|3730|OUT") in new stack
    -- Executing [s em macro-record-enable:1] GotoIf("SIP/3730-085d0648",
"0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s em macro-record-enable:4] AGI("SIP/3730-085d0648",
"recordingcheck|20090819-152750|1250706470.0") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20090819-152750|1250706470.0: Outbound recording enabled.
  recordingcheck|20090819-152750|1250706470.0:
CALLFILENAME=OUT3730-20090819-152750-1250706470.0
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s em macro-record-enable:999] MixMonitor("SIP/3730-085d0648",
"OUT3730-20090819-152750-1250706470.0.wav") in new stack
    -- Executing [s em macro-dialout-trunk:12] GotoIf("SIP/3730-085d0648",
"0?skipoutcid") in new stack
  == Begin MixMonitor Recording SIP/3730-085d0648
    -- Executing [s em macro-dialout-trunk:13] Set("SIP/3730-085d0648",
"DIAL_TRUNK_OPTIONS=tTwW") in new stack
    -- Executing [s em macro-dialout-trunk:14] Macro("SIP/3730-085d0648",
"outbound-callerid|8") in new stack
    -- Executing [s em macro-outbound-callerid:1] GotoIf("SIP/3730-085d0648",
"1?start") in new stack
    -- Goto (macro-outbound-callerid,s,3)
    -- Executing [s em macro-outbound-callerid:3] NoOp("SIP/3730-085d0648",
"REALCALLERIDNUM is 3730") in new stack
    -- Executing [s em macro-outbound-callerid:4] GotoIf("SIP/3730-085d0648",
"1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,9)
    -- Executing [s em macro-outbound-callerid:9] Set("SIP/3730-085d0648",
"USEROUTCID=") in new stack
    -- Executing [s em macro-outbound-callerid:10] Set("SIP/3730-085d0648",
"EMERGENCYCID=") in new stack
    -- Executing [s em macro-outbound-callerid:11] Set("SIP/3730-085d0648",
"TRUNKOUTCID=") in new stack
    -- Executing [s em macro-outbound-callerid:12] GotoIf("SIP/3730-085d0648",
"1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,16)
    -- Executing [s em macro-outbound-callerid:16] GotoIf("SIP/3730-085d0648",
"1?usercid") in new stack
    -- Goto (macro-outbound-callerid,s,18)
    -- Executing [s em macro-outbound-callerid:18] GotoIf("SIP/3730-085d0648",
"1?report") in new stack
    -- Goto (macro-outbound-callerid,s,22)
    -- Executing [s em macro-outbound-callerid:22] NoOp("SIP/3730-085d0648",
"CallerID set to "Suporte" <3730>") in new stack
    -- Executing [s em macro-dialout-trunk:15] GotoIf("SIP/3730-085d0648",
"1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,17)
    -- Executing [s em macro-dialout-trunk:17] AGI("SIP/3730-085d0648",
"fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
       >  fixlocalprefix: Using pattern 0|021+XXXXXXXXXX
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing [s em macro-dialout-trunk:18] Set("SIP/3730-085d0648",
"OUTNUM=35153730") in new stack
    -- Executing [s em macro-dialout-trunk:19] Set("SIP/3730-085d0648",
"custom=ZAP/g0") in new stack
    -- Executing [s em macro-dialout-trunk:20] GotoIf("SIP/3730-085d0648",
"1?gocall") in new stack
    -- Goto (macro-dialout-trunk,s,22)
    -- Executing [s em macro-dialout-trunk:22] Macro("SIP/3730-085d0648",
"dialout-trunk-predial-hook") in new stack
    -- Executing [s em macro-dialout-trunk:23] GotoIf("SIP/3730-085d0648",
"0?bypass|1") in new stack
    -- Executing [s em macro-dialout-trunk:24] GotoIf("SIP/3730-085d0648",
"0?customtrunk") in new stack
    -- Executing [s em macro-dialout-trunk:25] Dial("SIP/3730-085d0648",
"ZAP/g0/35153730|300|tTwW") in new stack
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s em macro-dialout-trunk:26] Goto("SIP/3730-085d0648",
"s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL em macro-dialout-trunk:1]
GotoIf("SIP/3730-085d0648", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
    -- Executing [s-CHANUNAVAIL em macro-dialout-trunk:3]
NoOp("SIP/3730-085d0648", "TRUNK Dial failed due to CHANUNAVAIL - failing
through to other trunks") in new stack
    -- Executing [444435153730 em from-internal:2] Macro("SIP/3730-085d0648",
"outisbusy|") in new stack
    -- Executing [s em macro-outisbusy:1] Playback("SIP/3730-085d0648",
"ss-noservice|noanswer") in new stack
    -- <SIP/3730-085d0648> Playing 'ss-noservice' (language 'en')
    -- Executing [s em macro-outisbusy:2] Playback("SIP/3730-085d0648",
"pls-try-call-later|noanswer") in new stack
    -- <SIP/3730-085d0648> Playing 'pls-try-call-later' (language 'en')
    -- Executing [s em macro-outisbusy:3] Macro("SIP/3730-085d0648",
"hangupcall") in new stack
    -- Executing [s em macro-hangupcall:1] ResetCDR("SIP/3730-085d0648", "w")
in new stack
    -- Executing [s em macro-hangupcall:2] NoCDR("SIP/3730-085d0648", "") in
new stack
    -- Executing [s em macro-hangupcall:3] GotoIf("SIP/3730-085d0648",
"1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s em macro-hangupcall:6] GotoIf("SIP/3730-085d0648",
"1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s em macro-hangupcall:9] GotoIf("SIP/3730-085d0648",
"1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s em macro-hangupcall:11] Hangup("SIP/3730-085d0648", "") in
new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on
'SIP/3730-085d0648' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on
'SIP/3730-085d0648' in macro 'outisbusy'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on
'SIP/3730-085d0648'
  == End MixMonitor Recording SIP/3730-085d0648
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected

-- 
1 Abraço.

   Fábio Henrique.
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20090819/163f1c48/attachment-0001.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil