[AsteriskBrasil] Me ajudem: Asterisk erro: TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks
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 [35153...@from-internal:1] Macro(SIP/3730-085d0648, dialout-trunk|8|35153730||) in new stack -- Executing [...@macro-dialout-trunk:1] Set(SIP/3730-085d0648, DIAL_TRUNK=8) in new stack -- Executing [...@macro-dialout-trunk:2] Set(SIP/3730-085d0648, DIAL_NUMBER=35153730) in new stack -- Executing [...@macro-dialout-trunk:3] Set(SIP/3730-085d0648, ROUTE_PASSWD=) in new stack -- Executing [...@macro-dialout-trunk:4] GotoIf(SIP/3730-085d0648, 1?noauth) in new stack -- Goto (macro-dialout-trunk,s,6) -- Executing [...@macro-dialout-trunk:6] GotoIf(SIP/3730-085d0648, 0?disabletrunk|1) in new stack -- Executing [...@macro-dialout-trunk:7] Set(SIP/3730-085d0648, _NODEST=) in new stack -- Executing [...@macro-dialout-trunk:8] Set(SIP/3730-085d0648, DIAL_TRUNK_OPTIONS=tTrwW) in new stack -- Executing [...@macro-dialout-trunk:9] Set(SIP/3730-085d0648, GROUP()=OUT_8) in new stack -- Executing [...@macro-dialout-trunk:10] Macro(SIP/3730-085d0648, user-callerid|SKIPTTL) in new stack -- Executing [...@macro-user-callerid:1] NoOp(SIP/3730-085d0648, user-callerid: device 3730) in new stack -- Executing [...@macro-user-callerid:2] Set(SIP/3730-085d0648, AMPUSER=3730) in new stack -- Executing [...@macro-user-callerid:3] GotoIf(SIP/3730-085d0648, 0?report) in new stack -- Executing [...@macro-user-callerid:4] GotoIf(SIP/3730-085d0648, 0?start) in new stack -- Executing [...@macro-user-callerid:5] Set(SIP/3730-085d0648, REALCALLERIDNUM=3730) in new stack -- Executing [...@macro-user-callerid:6] NoOp(SIP/3730-085d0648, REALCALLERIDNUM is 3730) in new stack -- Executing [...@macro-user-callerid:7] Set(SIP/3730-085d0648, AMPUSER=3730) in new stack -- Executing [...@macro-user-callerid:8] Set(SIP/3730-085d0648, AMPUSERCIDNAME=Suporte) in new stack -- Executing [...@macro-user-callerid:9] GotoIf(SIP/3730-085d0648, 0?report) in new stack -- Executing [...@macro-user-callerid:10] Set(SIP/3730-085d0648, AMPUSERCID=3730) in new stack -- Executing [...@macro-user-callerid:11] Set(SIP/3730-085d0648, CALLERID(all)=Suporte 3730) in new stack -- Executing [...@macro-user-callerid:12] Set(SIP/3730-085d0648, REALCALLERIDNUM=3730) in new stack -- Executing [...@macro-user-callerid:13] NoOp(SIP/3730-085d0648, TTL: ARG1: SKIPTTL) in new stack -- Executing [...@macro-user-callerid:14] GotoIf(SIP/3730-085d0648, 1?continue) in new stack -- Goto (macro-user-callerid,s,23) -- Executing [...@macro-user-callerid:23] NoOp(SIP/3730-085d0648, Using CallerID Suporte 3730) in new stack -- Executing [...@macro-dialout-trunk:11] Macro(SIP/3730-085d0648, record-enable|3730|OUT) in new stack -- Executing [...@macro-record-enable:1] GotoIf(SIP/3730-085d0648, 0?2:4) in new stack -- Goto (macro-record-enable,s,4) -- Executing [...@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 [...@macro-record-enable:999] MixMonitor(SIP/3730-085d0648, OUT3730-20090819-152750-1250706470.0.wav) in new stack -- Executing [...@macro-dialout-trunk:12] GotoIf(SIP/3730-085d0648, 0?skipoutcid) in new stack == Begin MixMonitor Recording SIP/3730-085d0648 -- Executing [...@macro-dialout-trunk:13] Set(SIP/3730-085d0648, DIAL_TRUNK_OPTIONS=tTwW) in new stack -- Executing [...@macro-dialout-trunk:14] Macro(SIP/3730-085d0648, outbound-callerid|8) in new stack -- Executing [...@macro-outbound-callerid:1] GotoIf(SIP/3730-085d0648, 1?start) in new stack -- Goto (macro-outbound-callerid,s,3) -- Executing [...@macro-outbound-callerid:3] NoOp(SIP/3730-085d0648, REALCALLERIDNUM is 3730) in new stack -- Executing [...@macro-outbound-callerid:4] GotoIf(SIP/3730-085d0648, 1?normcid) in new stack -- Goto (macro-outbound-callerid,s,9) -- Executing [...@macro-outbound-callerid:9]
Re: [AsteriskBrasil] Me ajudem: Asterisk erro: TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks
Boa tarde Fabio Henrique, Que modelo de placa E1 está utilizando? Geralmente para placas digium trabalhar com r2 é necessário unicall ou openr2 Abraço! Fabio Henrique escreveu: 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 [35153...@from-internal:1] Macro(SIP/3730-085d0648, dialout-trunk|8|35153730||) in new stack -- Executing [...@macro-dialout-trunk:1] Set(SIP/3730-085d0648, DIAL_TRUNK=8) in new stack -- Executing [...@macro-dialout-trunk:2] Set(SIP/3730-085d0648, DIAL_NUMBER=35153730) in new stack -- Executing [...@macro-dialout-trunk:3] Set(SIP/3730-085d0648, ROUTE_PASSWD=) in new stack -- Executing [...@macro-dialout-trunk:4] GotoIf(SIP/3730-085d0648, 1?noauth) in new stack -- Goto (macro-dialout-trunk,s,6) -- Executing [...@macro-dialout-trunk:6] GotoIf(SIP/3730-085d0648, 0?disabletrunk|1) in new stack -- Executing [...@macro-dialout-trunk:7] Set(SIP/3730-085d0648, _NODEST=) in new stack -- Executing [...@macro-dialout-trunk:8] Set(SIP/3730-085d0648, DIAL_TRUNK_OPTIONS=tTrwW) in new stack -- Executing [...@macro-dialout-trunk:9] Set(SIP/3730-085d0648, GROUP()=OUT_8) in new stack -- Executing [...@macro-dialout-trunk:10] Macro(SIP/3730-085d0648, user-callerid|SKIPTTL) in new stack -- Executing [...@macro-user-callerid:1] NoOp(SIP/3730-085d0648, user-callerid: device 3730) in new stack -- Executing [...@macro-user-callerid:2] Set(SIP/3730-085d0648, AMPUSER=3730) in new stack -- Executing [...@macro-user-callerid:3] GotoIf(SIP/3730-085d0648, 0?report) in new stack -- Executing [...@macro-user-callerid:4] GotoIf(SIP/3730-085d0648, 0?start) in new stack -- Executing [...@macro-user-callerid:5] Set(SIP/3730-085d0648, REALCALLERIDNUM=3730) in new stack -- Executing [...@macro-user-callerid:6] NoOp(SIP/3730-085d0648, REALCALLERIDNUM is 3730) in new stack -- Executing [...@macro-user-callerid:7] Set(SIP/3730-085d0648, AMPUSER=3730) in new stack -- Executing [...@macro-user-callerid:8] Set(SIP/3730-085d0648, AMPUSERCIDNAME=Suporte) in new stack -- Executing [...@macro-user-callerid:9] GotoIf(SIP/3730-085d0648, 0?report) in new stack -- Executing [...@macro-user-callerid:10] Set(SIP/3730-085d0648, AMPUSERCID=3730) in new stack -- Executing [...@macro-user-callerid:11] Set(SIP/3730-085d0648, CALLERID(all)=Suporte 3730) in new stack -- Executing [...@macro-user-callerid:12] Set(SIP/3730-085d0648, REALCALLERIDNUM=3730) in new stack -- Executing [...@macro-user-callerid:13] NoOp(SIP/3730-085d0648, TTL: ARG1: SKIPTTL) in new stack -- Executing [...@macro-user-callerid:14] GotoIf(SIP/3730-085d0648, 1?continue) in new stack -- Goto (macro-user-callerid,s,23) -- Executing [...@macro-user-callerid:23] NoOp(SIP/3730-085d0648, Using CallerID Suporte 3730) in new stack -- Executing [...@macro-dialout-trunk:11] Macro(SIP/3730-085d0648, record-enable|3730|OUT) in new stack -- Executing [...@macro-record-enable:1] GotoIf(SIP/3730-085d0648, 0?2:4) in new stack -- Goto (macro-record-enable,s,4) -- Executing [...@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 [...@macro-record-enable:999] MixMonitor(SIP/3730-085d0648, OUT3730-20090819-152750-1250706470.0.wav) in new stack -- Executing [...@macro-dialout-trunk:12] GotoIf(SIP/3730-085d0648, 0?skipoutcid) in new stack == Begin MixMonitor Recording SIP/3730-085d0648 -- Executing [...@macro-dialout-trunk:13] Set(SIP/3730-085d0648, DIAL_TRUNK_OPTIONS=tTwW) in new stack -- Executing [...@macro-dialout-trunk:14] Macro(SIP/3730-085d0648, outbound-callerid|8) in new stack -- Executing [...@macro-outbound-callerid:1] GotoIf(SIP/3730-085d0648, 1?start) in new stack -- Goto (macro-outbound-callerid,s,3) -- Executing
Re: [AsteriskBrasil] Me ajudem: Asterisk erro: TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks
Olá, obrigado pelo retorno , estou utilizando TE410P . 2009/8/19 Rodrigo Vian lis...@porttaltecnologia.com.br Boa tarde Fabio Henrique, Que modelo de placa E1 está utilizando? Geralmente para placas digium trabalhar com r2 é necessário unicall ou openr2 Abraço! Fabio Henrique escreveu: 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 [35153...@from-internal:1] Macro(SIP/3730-085d0648, dialout-trunk|8|35153730||) in new stack -- Executing [...@macro-dialout-trunk:1] Set(SIP/3730-085d0648, DIAL_TRUNK=8) in new stack -- Executing [...@macro-dialout-trunk:2] Set(SIP/3730-085d0648, DIAL_NUMBER=35153730) in new stack -- Executing [...@macro-dialout-trunk:3] Set(SIP/3730-085d0648, ROUTE_PASSWD=) in new stack -- Executing [...@macro-dialout-trunk:4] GotoIf(SIP/3730-085d0648, 1?noauth) in new stack -- Goto (macro-dialout-trunk,s,6) -- Executing [...@macro-dialout-trunk:6] GotoIf(SIP/3730-085d0648, 0?disabletrunk|1) in new stack -- Executing [...@macro-dialout-trunk:7] Set(SIP/3730-085d0648, _NODEST=) in new stack -- Executing [...@macro-dialout-trunk:8] Set(SIP/3730-085d0648, DIAL_TRUNK_OPTIONS=tTrwW) in new stack -- Executing [...@macro-dialout-trunk:9] Set(SIP/3730-085d0648, GROUP()=OUT_8) in new stack -- Executing [...@macro-dialout-trunk:10] Macro(SIP/3730-085d0648, user-callerid|SKIPTTL) in new stack -- Executing [...@macro-user-callerid:1] NoOp(SIP/3730-085d0648, user-callerid: device 3730) in new stack -- Executing [...@macro-user-callerid:2] Set(SIP/3730-085d0648, AMPUSER=3730) in new stack -- Executing [...@macro-user-callerid:3] GotoIf(SIP/3730-085d0648, 0?report) in new stack -- Executing [...@macro-user-callerid:4] GotoIf(SIP/3730-085d0648, 0?start) in new stack -- Executing [...@macro-user-callerid:5] Set(SIP/3730-085d0648, REALCALLERIDNUM=3730) in new stack -- Executing [...@macro-user-callerid:6] NoOp(SIP/3730-085d0648, REALCALLERIDNUM is 3730) in new stack -- Executing [...@macro-user-callerid:7] Set(SIP/3730-085d0648, AMPUSER=3730) in new stack -- Executing [...@macro-user-callerid:8] Set(SIP/3730-085d0648, AMPUSERCIDNAME=Suporte) in new stack -- Executing [...@macro-user-callerid:9] GotoIf(SIP/3730-085d0648, 0?report) in new stack -- Executing [...@macro-user-callerid:10] Set(SIP/3730-085d0648, AMPUSERCID=3730) in new stack -- Executing [...@macro-user-callerid:11] Set(SIP/3730-085d0648, CALLERID(all)=Suporte 3730) in new stack -- Executing [...@macro-user-callerid:12] Set(SIP/3730-085d0648, REALCALLERIDNUM=3730) in new stack -- Executing [...@macro-user-callerid:13] NoOp(SIP/3730-085d0648, TTL: ARG1: SKIPTTL) in new stack -- Executing [...@macro-user-callerid:14] GotoIf(SIP/3730-085d0648, 1?continue) in new stack -- Goto (macro-user-callerid,s,23) -- Executing [...@macro-user-callerid:23] NoOp(SIP/3730-085d0648, Using CallerID Suporte 3730) in new stack -- Executing [...@macro-dialout-trunk:11] Macro(SIP/3730-085d0648, record-enable|3730|OUT) in new stack -- Executing [...@macro-record-enable:1] GotoIf(SIP/3730-085d0648, 0?2:4) in new stack -- Goto (macro-record-enable,s,4) -- Executing [...@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 [...@macro-record-enable:999] MixMonitor(SIP/3730-085d0648, OUT3730-20090819-152750-1250706470.0.wav) in new stack -- Executing [...@macro-dialout-trunk:12] GotoIf(SIP/3730-085d0648, 0?skipoutcid) in new stack == Begin MixMonitor Recording SIP/3730-085d0648 -- Executing [...@macro-dialout-trunk:13] Set(SIP/3730-085d0648, DIAL_TRUNK_OPTIONS=tTwW) in new stack -- Executing [...@macro-dialout-trunk:14] Macro(SIP/3730-085d0648, outbound-callerid|8) in new stack -- Executing