Pessoal, boa tarde, já pesquisei no grupo e não encontrei nada que pôde me ajudar, no máximo verifiquei no FREEPBX os "Route Congestion Messages" mas eles não me ajudaram pois a HANGUPCAUSE que eu precisava verificar é a 21, seguinte: a minha operadora E1 (Option Telecom) está me enviando o código HANGUPCAUSE = 21 quando os números que estou discando estão temporariamente fora de serviço, segundo a tabela http://www.aa-asterisk.org.uk/index.php/Cause_Codes o código é para CALLREJECT, mas a mensagem que ouço é de que não tem linhas disponíveis para efetuar chamada, fuçando no Elastix e no FREEPBX não encontrei lugar pra tratar isso, alguém tem alguma dica? Os usuários estão achando que temos limite de linhas para usar, mas o E1 está sempre com 90% de linhas livres.
--
---
Você recebeu essa mensagem porque está inscrito no grupo quot;ElastixBrasil" dos Grupos do Google.
Para cancelar inscrição nesse grupo e parar de receber e-mails dele, envie um e-mail para elastixbrasi...@googlegroups.com.
Para postar nesse grupo, envie um e-mail para elasti...@googlegroups.com.
Acesse esse grupo em http://groups.google.com/group/elastixbrasil.
Para mais opções, acesse https://groups.google.com/d/optout.
pbx.c: -- Executing [07133212304@from-internal:1] Macro("SIP/300-00000ae1", "user-callerid,SKIPTTL,") in new stack
pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/300-00000ae1", "AMPUSER=300") in new stack
pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/300-00000ae1", "0?report") in new stack
pbx.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/300-00000ae1", "1?Set(REALCALLERIDNUM=300)") in new stack
pbx.c: -- Executing [s@macro-user-callerid:4] Set("SIP/300-00000ae1", "AMPUSER=300") in new stack
pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/300-00000ae1", "AMPUSERCIDNAME=300") in new stack
pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/300-00000ae1", "0?report") in new stack
pbx.c: -- Executing [s@macro-user-callerid:7] Set("SIP/300-00000ae1", "AMPUSERCID=300") in new stack
pbx.c: -- Executing [s@macro-user-callerid:8] Set("SIP/300-00000ae1", "CALLERID(all)="300" <300>") in new stack
pbx.c: -- Executing [s@macro-user-callerid:9] ExecIf("SIP/300-00000ae1", "0?Set(CHANNEL(language)=)") in new stack
pbx.c: -- Executing [s@macro-user-callerid:10] GotoIf("SIP/300-00000ae1", "1?continue") in new stack
pbx.c: -- Goto (macro-user-callerid,s,19)
pbx.c: -- Executing [s@macro-user-callerid:19] Set("SIP/300-00000ae1", "CALLERID(number)=300") in new stack
pbx.c: -- Executing [s@macro-user-callerid:20] Set("SIP/300-00000ae1", "CALLERID(name)=300") in new stack
pbx.c: -- Executing [s@macro-user-callerid:21] NoOp("SIP/300-00000ae1", "Using CallerID "300" <300>") in new stack
pbx.c: -- Executing [07133212304@from-internal:2] NoOp("SIP/300-00000ae1", "Calling Out Route: Fixo_DDD") in new stack
pbx.c: -- Executing [07133212304@from-internal:3] Set("SIP/300-00000ae1", "MOHCLASS=default") in new stack
pbx.c: -- Executing [07133212304@from-internal:4] Set("SIP/300-00000ae1", "_NODEST=") in new stack
pbx.c: -- Executing [07133212304@from-internal:5] Macro("SIP/300-00000ae1", "record-enable,300,OUT,") in new stack
pbx.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/300-00000ae1", "1?check") in new stack
pbx.c: -- Goto (macro-record-enable,s,4)
pbx.c: -- Executing [s@macro-record-enable:4] ExecIf("SIP/300-00000ae1", "0?MacroExit()") in new stack
pbx.c: -- Executing [s@macro-record-enable:5] GotoIf("SIP/300-00000ae1", "0?Group:OUT") in new stack
pbx.c: -- Goto (macro-record-enable,s,15)
pbx.c: -- Executing [s@macro-record-enable:15] GotoIf("SIP/300-00000ae1", "0?IN") in new stack
pbx.c: -- Executing [s@macro-record-enable:16] ExecIf("SIP/300-00000ae1", "0?MacroExit()") in new stack
pbx.c: -- Executing [s@macro-record-enable:17] NoOp("SIP/300-00000ae1", "Recording enable for 300") in new stack
pbx.c: -- Executing [s@macro-record-enable:18] Set("SIP/300-00000ae1", "CALLFILENAME=OUT300-20140716-114035-1405521635.4631") in new stack
pbx.c: -- Executing [s@macro-record-enable:19] Goto("SIP/300-00000ae1", "record") in new stack
pbx.c: -- Goto (macro-record-enable,s,23)
pbx.c: -- Executing [s@macro-record-enable:23] MixMonitor("SIP/300-00000ae1", "OUT300-20140716-114035-1405521635.4631.wav,,") in new stack
pbx.c: -- Executing [s@macro-record-enable:24] Set("SIP/300-00000ae1", "CDR(userfield)=audio:OUT300-20140716-114035-1405521635.4631.wav") in new stack
pbx.c: -- Executing [s@macro-record-enable:25] MacroExit("SIP/300-00000ae1", "") in new stack
pbx.c: -- Executing [07133212304@from-internal:6] Macro("SIP/300-00000ae1", "dialout-trunk,1,0157133212304,") in new stack
app_mixmonitor.c: == Begin MixMonitor Recording SIP/300-00000ae1
pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/300-00000ae1", "DIAL_TRUNK=1") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/300-00000ae1", "0?sub-pincheck,s,1") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/300-00000ae1", "0?disabletrunk,1") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/300-00000ae1", "DIAL_NUMBER=0157133212304") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/300-00000ae1", "DIAL_TRUNK_OPTIONS=tr") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/300-00000ae1", "OUTBOUND_GROUP=OUT_1") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/300-00000ae1", "1?nomax") in new stack
pbx.c: -- Goto (macro-dialout-trunk,s,9)
pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/300-00000ae1", "0?skipoutcid") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/300-00000ae1", "DIAL_TRUNK_OPTIONS=T") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/300-00000ae1", "outbound-callerid,1") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/300-00000ae1", "0?Set(CALLERPRES()=)") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/300-00000ae1", "0?Set(REALCALLERIDNUM=300)") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/300-00000ae1", "1?normcid") in new stack
pbx.c: -- Goto (macro-outbound-callerid,s,6)
pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/300-00000ae1", "USEROUTCID=") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/300-00000ae1", "EMERGENCYCID=") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/300-00000ae1", "TRUNKOUTCID=11 3675-2335") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/300-00000ae1", "1?trunkcid") in new stack
pbx.c: -- Goto (macro-outbound-callerid,s,12)
pbx.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/300-00000ae1", "1?Set(CALLERID(all)=11 3675-2335)") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/300-00000ae1", "0?Set(CALLERID(all)=)") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/300-00000ae1", "0?Set(CALLERID(all)=)") in new stack
pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/300-00000ae1", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/300-00000ae1", "0?sub-flp-1,s,1") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/300-00000ae1", "OUTNUM=0157133212304") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/300-00000ae1", "custom=AMP") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/300-00000ae1", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:16] Macro("SIP/300-00000ae1", "dialout-trunk-predial-hook,") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/300-00000ae1", "") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/300-00000ae1", "0?bypass,1") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/300-00000ae1", "1?customtrunk") in new stack
pbx.c: -- Goto (macro-dialout-trunk,s,22)
pbx.c: -- Executing [s@macro-dialout-trunk:22] Set("SIP/300-00000ae1", "pre_num=AMP:khomp/b0c0-29/") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:23] Set("SIP/300-00000ae1", "the_num=OUTNUM") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:24] Set("SIP/300-00000ae1", "post_num=") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:25] GotoIf("SIP/300-00000ae1", "1?outnum:skipoutnum") in new stack
pbx.c: -- Goto (macro-dialout-trunk,s,26)
pbx.c: -- Executing [s@macro-dialout-trunk:26] Set("SIP/300-00000ae1", "the_num=0157133212304") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:27] Dial("SIP/300-00000ae1", "khomp/b0c0-29/0157133212304,300,T") in new stack
app_dial.c: -- Called khomp/b0c0-29/0157133212304
app_dial.c: -- Khomp/B0C1-0.0 is circuit-busy
app_dial.c: == Everyone is busy/congested at this time (1:0/1/0)
pbx.c: -- Executing [s@macro-dialout-trunk:28] NoOp("SIP/300-00000ae1", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 21") in new stack
pbx.c: -- Executing [s@macro-dialout-trunk:29] Goto("SIP/300-00000ae1", "s-CONGESTION,1") in new stack
pbx.c: -- Goto (macro-dialout-trunk,s-CONGESTION,1)
pbx.c: -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/300-00000ae1", "RC=21") in new stack
pbx.c: -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/300-00000ae1", "21,1") in new stack
pbx.c: -- Goto (macro-dialout-trunk,21,1)
pbx.c: -- Executing [21@macro-dialout-trunk:1] Goto("SIP/300-00000ae1", "continue,1") in new stack
pbx.c: -- Goto (macro-dialout-trunk,continue,1)
pbx.c: -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/300-00000ae1", "1?noreport") in new stack
pbx.c: -- Goto (macro-dialout-trunk,continue,3)
pbx.c: -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/300-00000ae1", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 21 - failing through to other trunks") in new stack
pbx.c: -- Executing [continue@macro-dialout-trunk:4] Set("SIP/300-00000ae1", "CALLERID(number)=300") in new stack
pbx.c: -- Executing [07133212304@from-internal:7] Macro("SIP/300-00000ae1", "outisbusy,") in new stack
pbx.c: -- Executing [s@macro-outisbusy:1] Progress("SIP/300-00000ae1", "") in new stack
pbx.c: -- Executing [s@macro-outisbusy:2] GotoIf("SIP/300-00000ae1", "0?emergency,1") in new stack
pbx.c: -- Executing [s@macro-outisbusy:3] GotoIf("SIP/300-00000ae1", "0?intracompany,1") in new stack
pbx.c: -- Executing [s@macro-outisbusy:4] Playback("SIP/300-00000ae1", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
file.c: -- <SIP/300-00000ae1> Playing 'all-circuits-busy-now.slin' (language 'pt_BR')
Pessoal, alguma dica? Estou ficando maluco kkkkk
--
---
Você está recebendo esta mensagem porque se inscreveu no grupo "ElastixBrasil" dos Grupos do Google.
Para cancelar inscrição nesse grupo e parar de receber e-mails dele, envie um e-mail para elastixbrasi...@googlegroups.com.
Para postar neste grupo, envie um e-mail para elasti...@googlegroups.com.
Visite este grupo em http://groups.google.com/group/elastixbrasil.
Para obter mais opções, acesse https://groups.google.com/d/optout.
[macro-outisbusy]include => macro-outisbusy-customexten => s,1,Progressexten => s,n,GotoIf($["${EMERGENCYROUTE}" = "YES"]?emergency,1)exten => s,n,GotoIf($["${INTRACOMPANYROUTE}" = "YES"]?intracompany,1)exten => s,n,Playback(all-circuits-busy-now&pls-try-call-later, noanswer)exten => s,n,Congestion(20)exten => s,n,Hangupexten => intracompany,1,Playback(all-circuits-busy-now&pls-try-call-later, noanswer)exten => intracompany,n,Congestion(20)exten => intracompany,n,Hangupexten => emergency,1,Playback(all-circuits-busy-now&pls-try-call-later)exten => emergency,n,Congestion(20)exten => emergency,n,Hangup; end of [macro-outisbusy]
;tratar os hangupcase
[macro-outisbusy]include => macro-outisbusy-customexten => s,1,Progressexten => s,n,GotoIf($["${EMERGENCYROUTE}" = "YES"]?emergency,1)exten => s,n,GotoIf($["${INTRACOMPANYROUTE}" = "YES"]?intracompany,1)exten => s,n,GotoIf($["${HANGUPCAUSE}" = "1"]?unallocated,1)exten => s,n,GotoIf($["${HANGUPCAUSE}" = "21"]?unallocated,1)exten => unallocated,1,Playback(ss-noservice, noanswer)exten => unallocated,n,Congestion(20)exten => unallocated,n,Hangupexten => s,n,Playback(all-circuits-busy-now&pls-try-call-later, noanswer)exten => s,n,Congestion(20)exten => s,n,Hangupexten => intracompany,1,Playback(all-circuits-busy-now&pls-try-call-later, noanswer)exten => intracompany,n,Congestion(20)exten => intracompany,n,Hangupexten => emergency,1,Playback(all-circuits-busy-now&pls-try-call-later)exten => emergency,n,Congestion(20)exten => emergency,n,Hangup
Para cancelar inscrição nesse grupo e parar de receber e-mails dele, envie um e-mail para elastixbrasil+unsub...@googlegroups.com.
Skype: proxy.telecomFone: 5541992198711
Para cancelar inscrição nesse grupo e parar de receber e-mails dele, envie um e-mail para elastixbrasi...@googlegroups.com.
Para postar neste grupo, envie um e-mail para elasti...@googlegroups.com.
Visite este grupo em http://groups.google.com/group/elastixbrasil.
Para obter mais opções, acesse https://groups.google.com/d/optout.
--
---
Você recebeu essa mensagem porque está inscrito no grupo "ElastixBrasil" dos Grupos do Google.
Para cancelar inscrição nesse grupo e parar de receber e-mails dele, envie um e-mail para elastixbrasi...@googlegroups.com.
Para postar nesse grupo, envie um e-mail para elasti...@googlegroups.com.
Acesse esse grupo em https://groups.google.com/group/elastixbrasil.
Para mais opções, acesse https://groups.google.com/d/optout.
Boa tarde Bruno,
Primeiro, é uma boa prática tratar assuntos relacionados no Assunto do email.
Se tem novo assunto/dúvida, envie outro email no grupo de discussão com o título adequado.
Quanto a instalação do SIP Embratel, não tem um script pronto.
Mas normalmente a Embratel vai te dar endereço de rede e você vai configurar uma placa no seu Linux com IP e gateway da Embratel e no Elastix você irá criar um tronco SIP apontando para o SIP proxy deles.
Lembre-se de fazer o roteamento de rede corretamente, para os devidos pacotes serem encaminhados pelo gateway correto (provavelmente você irá ter 2 placas de rede neste seu servidor).
Att.
Marcelo H.