Pessoal, meu trunk IAX2 ta fncionando legal elastix*CLI> iax2 show peers Name/Username Host Mask Port Status InterOffice 10.10.10.222 (S) 255.255.255.255 4569 OK (16 ms) *InterConnect_A- 10.10.10.222 (S) 255.255.255.255 4569 OK (16 ms) *6000 (Unspecified) (D) 255.255.255.255 0 UNKNOWN
Esse trunk InterConnect_A-B, deve ser usado para tudo que eu discar sem ser um ramal do outro servidor tipo "." , vai por este trunk. O problema é que dá tom de ocupado, como se tenta-se chegar no PABX B (FXO) e estivesse indisponível. No PABX B (c/ FXO) disco normalmente e consigo falar com a PSTN. -- Executing [032362...@from-internal:1] Macro("SIP/2002-09b96188", "user-callerid|SKIPTTL|") in new stack -- Executing [...@macro-user-callerid:1] NoOp("SIP/2002-09b96188", "user-callerid: device 2002") in new stack -- Executing [...@macro-user-callerid:2] Set("SIP/2002-09b96188", "AMPUSER=2002") in new stack -- Executing [...@macro-user-callerid:3] GotoIf("SIP/2002-09b96188", "0?report") in new stack -- Executing [...@macro-user-callerid:4] ExecIf("SIP/2002-09b96188", "1|Set|REALCALLERIDNUM=2002") in new stack -- Executing [...@macro-user-callerid:5] NoOp("SIP/2002-09b96188", "REALCALLERIDNUM is 2002") in new stack -- Executing [...@macro-user-callerid:6] Set("SIP/2002-09b96188", "AMPUSER=2002") in new stack -- Executing [...@macro-user-callerid:7] Set("SIP/2002-09b96188", "AMPUSERCIDNAME=JOAO") in new stack -- Executing [...@macro-user-callerid:8] GotoIf("SIP/2002-09b96188", "0?report") in new stack -- Executing [...@macro-user-callerid:9] Set("SIP/2002-09b96188", "AMPUSERCID=2002") in new stack -- Executing [...@macro-user-callerid:10] Set("SIP/2002-09b96188", "CALLERID(all)="JOAO" <2002>") in new stack -- Executing [...@macro-user-callerid:11] Set("SIP/2002-09b96188", "REALCALLERIDNUM=2002") in new stack -- Executing [...@macro-user-callerid:12] ExecIf("SIP/2002-09b96188", "0|Set|CHANNEL(language)=") in new stack -- Executing [...@macro-user-callerid:13] NoOp("SIP/2002-09b96188", "TTL: ARG1: SKIPTTL") in new stack -- Executing [...@macro-user-callerid:14] GotoIf("SIP/2002-09b96188", "1?continue") in new stack -- Goto (macro-user-callerid,s,23) -- Executing [...@macro-user-callerid:23] NoOp("SIP/2002-09b96188", "Using CallerID "JOAO" <2002>") in new stack -- Executing [032362...@from-internal:2] Set("SIP/2002-09b96188", "_NODEST=") in new stack -- Executing [032362...@from-internal:3] Macro("SIP/2002-09b96188", "record-enable|2002|OUT|") in new stack -- Executing [...@macro-record-enable:1] GotoIf("SIP/2002-09b96188", "0?2:4") in new stack -- Goto (macro-record-enable,s,4) -- Executing [...@macro-record-enable:4] AGI("SIP/2002-09b96188", "recordingcheck|20090703-194857|1246664937.30") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck recordingcheck|20090703-194857|1246664937.30: Outbound recording not enabled -- AGI Script recordingcheck completed, returning 0 -- Executing [...@macro-record-enable:5] NoOp("SIP/2002-09b96188", "No recording needed") in new stack -- Executing [032362...@from-internal:4] Macro("SIP/2002-09b96188", "dialout-trunk|2|032362849||") in new stack -- Executing [...@macro-dialout-trunk:1] Set("SIP/2002-09b96188", "DIAL_TRUNK=2") in new stack -- Executing [...@macro-dialout-trunk:2] ExecIf("SIP/2002-09b96188", "0|Authenticate|") in new stack -- Executing [...@macro-dialout-trunk:3] GotoIf("SIP/2002-09b96188", "0?disabletrunk|1") in new stack -- Executing [...@macro-dialout-trunk:4] Set("SIP/2002-09b96188", "DIAL_NUMBER=032362849") in new stack -- Executing [...@macro-dialout-trunk:5] Set("SIP/2002-09b96188", "DIAL_TRUNK_OPTIONS=tr") in new stack -- Executing [...@macro-dialout-trunk:6] Set("SIP/2002-09b96188", "GROUP()=OUT_2") in new stack -- Executing [...@macro-dialout-trunk:7] GotoIf("SIP/2002-09b96188", "1?nomax") in new stack -- Goto (macro-dialout-trunk,s,9) -- Executing [...@macro-dialout-trunk:9] GotoIf("SIP/2002-09b96188", "0?skipoutcid") in new stack -- Executing [...@macro-dialout-trunk:10] Set("SIP/2002-09b96188", "DIAL_TRUNK_OPTIONS=") in new stack -- Executing [...@macro-dialout-trunk:11] Macro("SIP/2002-09b96188", "outbound-callerid|2") in new stack -- Executing [...@macro-outbound-callerid:1] GotoIf("SIP/2002-09b96188", "1?start") in new stack -- Goto (macro-outbound-callerid,s,3) -- Executing [...@macro-outbound-callerid:3] NoOp("SIP/2002-09b96188", "REALCALLERIDNUM is 2002") in new stack -- Executing [...@macro-outbound-callerid:4] GotoIf("SIP/2002-09b96188", "1?normcid") in new stack -- Goto (macro-outbound-callerid,s,9) -- Executing [...@macro-outbound-callerid:9] Set("SIP/2002-09b96188", "USEROUTCID="2002" JOAO") in new stack -- Executing [...@macro-outbound-callerid:10] Set("SIP/2002-09b96188", "EMERGENCYCID=") in new stack -- Executing [...@macro-outbound-callerid:11] Set("SIP/2002-09b96188", "TRUNKOUTCID=") in new stack -- Executing [...@macro-outbound-callerid:12] GotoIf("SIP/2002-09b96188", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,16) -- Executing [...@macro-outbound-callerid:16] GotoIf("SIP/2002-09b96188", "1?usercid") in new stack -- Goto (macro-outbound-callerid,s,18) -- Executing [...@macro-outbound-callerid:18] GotoIf("SIP/2002-09b96188", "0?report") in new stack -- Executing [...@macro-outbound-callerid:19] Set("SIP/2002-09b96188", "CALLERID(all)=2002 JOAO") in new stack -- Executing [...@macro-outbound-callerid:20] GotoIf("SIP/2002-09b96188", "1?report:hidecid") in new stack -- Goto (macro-outbound-callerid,s,22) -- Executing [...@macro-outbound-callerid:22] NoOp("SIP/2002-09b96188", "CallerID set to "2002 JOAO" <>") in new stack -- Executing [...@macro-dialout-trunk:12] AGI("SIP/2002-09b96188", "fixlocalprefix") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix -- AGI Script fixlocalprefix completed, returning 0 -- Executing [...@macro-dialout-trunk:13] Set("SIP/2002-09b96188", "OUTNUM=032362849") in new stack -- Executing [...@macro-dialout-trunk:14] Set("SIP/2002-09b96188", "custom=IAX2/InterConnect_A-B") in new stack -- Executing [...@macro-dialout-trunk:15] GotoIf("SIP/2002-09b96188", "1?gocall") in new stack -- Goto (macro-dialout-trunk,s,17) -- Executing [...@macro-dialout-trunk:17] Macro("SIP/2002-09b96188", "dialout-trunk-predial-hook|") in new stack -- Executing [...@macro-dialout-trunk:18] GotoIf("SIP/2002-09b96188", "0?bypass|1") in new stack -- Executing [...@macro-dialout-trunk:19] GotoIf("SIP/2002-09b96188", "0?customtrunk") in new stack -- Executing [...@macro-dialout-trunk:20] Dial("SIP/2002-09b96188", "IAX2/InterConnect_A-B/032362849|300|") in new stack -- Called InterConnect_A-B/032362849 -- Hungup 'IAX2/InterConnect_A-B-4465' == Everyone is busy/congested at this time (1:0/0/1) -- Executing [...@macro-dialout-trunk:21] Goto("SIP/2002-09b96188", "s-CHANUNAVAIL|1") in new stack -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1) -- Executing [s-chanunav...@macro-dialout-trunk:1] GotoIf("SIP/2002-09b96188", "1?noreport") in new stack -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3) -- Executing [s-chanunav...@macro-dialout-trunk:3] NoOp("SIP/2002-09b96188", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack -- Executing [032362...@from-internal:5] Macro("SIP/2002-09b96188", "outisbusy|") in new stack -- Executing [...@macro-outisbusy:1] Playback("SIP/2002-09b96188", "all-circuits-busy-now|noanswer") in new stack -- Executing [...@macro-outisbusy:2] Playback("SIP/2002-09b96188", "pls-try-call-later|noanswer") in new stack -- Executing [...@macro-outisbusy:3] Macro("SIP/2002-09b96188", "hangupcall") in new stack -- Executing [...@macro-hangupcall:1] ResetCDR("SIP/2002-09b96188", "w") in new stack -- Executing [...@macro-hangupcall:2] NoCDR("SIP/2002-09b96188", "") in new stack -- Executing [...@macro-hangupcall:3] GotoIf("SIP/2002-09b96188", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,6) -- Executing [...@macro-hangupcall:6] GotoIf("SIP/2002-09b96188", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [...@macro-hangupcall:9] GotoIf("SIP/2002-09b96188", "1?theend") in new stack -- Goto (macro-hangupcall,s,11) -- Executing [...@macro-hangupcall:11] Hangup("SIP/2002-09b96188", "") in new stack == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/2002-09b96188' in macro 'hangupcall' == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/2002-09b96188' in macro 'outisbusy' == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/2002-09b96188' 2009/7/3 ATTO - Rodrigo <rodrigo.l...@atto.com.br> > Yeap! Pode contar com isso, todos ajudam dentro do possível! > > > > Hugo Golembiewski escreveu: > > Obrigado Gustavo. > > > > Não vou desanimar! Abraço. > > > > 2009/7/3 Gustavo Cordeiro <gust...@advent.com.br > > <mailto:gust...@advent.com.br>> > > > > Olá Hugo, > > > > Não são todos que utilizam interfaces gráficas para configuração. Ao > > mesmo tempo que facilitam, elas também limitam um pouco a > > flexibilidade existente no Asterisk. > > > > Temos alguns usuários e também um representante de um grupo de > > usuários da distribuição que você utiliza aqui na lista. Se eles não > > puderem lhe auxiliar, talvez você consiga algo diretamente na > > comunidade desta distribuição. > > > > Mas não desanime e nem se limite. O Asterisk é uma poderosa > > ferramenta, mas não é tão complicado quanto pode parecer no primeiro > > contato. > > > > Além de mais possibilidades, você terá também mais suporte, pois > > muitos outros usuários poderão lhe ajudar. > > > > > > Sds, > > Gustavo Cordeiro > > Advent Tecnologia Ltda. > > Telefone: 48 3024-9350 > > Celular: 48 8809-0764 > > > > www.advent.com.br <http://www.advent.com.br/> > > > > > > 2009/7/2 Hugo Golembiewski <hugotel...@gmail.com > > <mailto:hugotel...@gmail.com>>: > > > Pessoal, uma dúvida! > > > > > > Vejo que o Asterisk, possui o Freepbx para facilitar a vida na > > questão das > > > configurações. Afinal, porque quase ninguém usa o modo gráfico!!? > > > > > > Percebo que tudo é via código, sempre é assim mesmo? > > > > > > Estou tentando finalizar meu trabalho em cima desse assunto, mas > meu > > > trabalho é tentar motivar os usuários (alunos) a usarem o > > sistema porque > > > possui uma interface gráfica amigável por onde podemos fazer as > > > configurações sem manjar muito de linux. > > > > > > O que estou tentando fazer? > > > > > > Tenho 02 Servidores Asterisk (usando Elastix)... > > > > > > PABX A e PABX B: Meu PABX A fica em um local remoto e meu PABX > > B possui > > > placa FXO (x100p) ligada no ramal do PABX Analógico. > > > Tenho um Trunk IAX 2 funcionando normalmente, ou seja, meus > > ramais (3XXX) do > > > PABX A falam normal com meus ramais (2XXX) do PABX B. > > > > > > Rotas: > > > > > > No PABX A: 3XXX, escolho TRunk IAX2/Interoffice e chego no PABX B > > > > > > > > > No PABX B: 2XXX, escolho TRunk IAX2/Interoffice e chego no PABX A > > > Para os ramais deste PABX B, os ramais pressionam 0 e pegam tom > > de discagem > > > através da FXO conectada no PABX A analógico. > > > > > > Isso não parece grande coisa para a maioria da lista, mas pra > > mim rendeu > > > bastante mesmo porque estou começando desde o ZERO, sem saber > > absolutamente > > > nada, apenas um pouco de Telecomunicações, pois sou formado na > área. > > > > > > A grande questão: > > > > > > Existe de forma GRÁFICA, como meus ramais conectados no PABX A, > > conseguirem > > > fazer ligações através do PABX B ? > > > Na rota do PABX A, já tentei colocar assim: > > > > > > 3XXX > > > "." (sem aspas) Assim entendo que qualquer número discado que > > não comece com > > > "3" vá passar os números para o outro lado do trunk IAX2, onde > > tenho o > > > zap/g0. > > > > > > Logo quando disco, a mensagem que tenho é que "Não foi possivel > > completar a > > > ligação"..... > > > > > > Alguém saberia me dizer como posso fazer essa discagem através > > de INTERFACE > > > GRÁFICA? > > > > > > Agradeço qualquer Ajuda!!! Desculpa se está básico para vocês > > pois pra mim > > > está sendo bem complicado, mas no final sempre vale a pena. > > > > > > Abraços > > > > > > Telecomunicações, a serviço da humanidade" > > > > > > Hugo Golembiewski > > > > > > _______________________________________________ > > > Openmoko Freerunner, primeiro telefone open source, disponível > > no Brasil > > > rodando o Android da Google. > > > http://www.neodroid.com <http://www.neodroid.com/> > > > > > > Compre uma camiseta da AsteriskBrasil.org! > > > http://www.voipmania.com.br <http://www.voipmania.com.br/> > > > > > > Acesse o canal IRC de discussão sobre Asterisk em Português > > Brasileiro na > > > rede Freenode.net: #asterisk-br > > > _______________________________________________ > > > Lista de discussões AsteriskBrasil.org > > > AsteriskBrasil@listas.asteriskbrasil.org > > <mailto:AsteriskBrasil@listas.asteriskbrasil.org> > > > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil > > > > > _______________________________________________ > > Openmoko Freerunner, primeiro telefone open source, disponível no > > Brasil rodando o Android da Google. > > http://www.neodroid.com <http://www.neodroid.com/> > > > > Compre uma camiseta da AsteriskBrasil.org! > > http://www.voipmania.com.br <http://www.voipmania.com.br/> > > > > Acesse o canal IRC de discussão sobre Asterisk em Português > > Brasileiro na rede Freenode.net: #asterisk-br > > _______________________________________________ > > Lista de discussões AsteriskBrasil.org > > AsteriskBrasil@listas.asteriskbrasil.org > > <mailto:AsteriskBrasil@listas.asteriskbrasil.org> > > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil > > > > > > > > > > -- > > "Telecomunicações, a serviço da humanidade" > > > > Hugo Golembiewski > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Openmoko Freerunner, primeiro telefone open source, disponível no Brasil > rodando o Android da Google. > > http://www.neodroid.com > > > > Compre uma camiseta da AsteriskBrasil.org! > > http://www.voipmania.com.br > > > > Acesse o canal IRC de discussão sobre Asterisk em Português Brasileiro na > rede Freenode.net: #asterisk-br > > _______________________________________________ > > Lista de discussões AsteriskBrasil.org > > AsteriskBrasil@listas.asteriskbrasil.org > > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil > > > -- > Rodrigo Lang > Dpto Técnico > ATTO TELEINFORMÁTICA > End.: Rua Castro Alves, 624 > 80.240-270 - Curitiba - PR > Fones: (41) 33128000 > Fax: (41) 33128001 > Email: rodrigo.l...@atto.com.br > > _______________________________________________ > Openmoko Freerunner, primeiro telefone open source, disponível no Brasil > rodando o Android da Google. > http://www.neodroid.com > > Compre uma camiseta da AsteriskBrasil.org! > http://www.voipmania.com.br > > Acesse o canal IRC de discussão sobre Asterisk em Português Brasileiro na > rede Freenode.net: #asterisk-br > _______________________________________________ > Lista de discussões AsteriskBrasil.org > AsteriskBrasil@listas.asteriskbrasil.org > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil > -- "Telecomunicações, a serviço da humanidade" Hugo Golembiewski
_______________________________________________ Openmoko Freerunner, primeiro telefone open source, disponível no Brasil rodando o Android da Google. http://www.neodroid.com Compre uma camiseta da AsteriskBrasil.org! http://www.voipmania.com.br Acesse o canal IRC de discussão sobre Asterisk em Português Brasileiro na rede Freenode.net: #asterisk-br _______________________________________________ Lista de discussões AsteriskBrasil.org AsteriskBrasil@listas.asteriskbrasil.org http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil