Thiago Rodrigues escreveu: Olá rodrigo entao nao consigui fazer um teste ele ja me retorna uma msg de erro mais quando vou olhar a configuracao dos canais estao todos ativos .... oq fiz. atualizei o openr2 1.1 que estava no elastix para o 1.2 ai nao funcionou nda mesmo .. agora nao sei oq fazer estou perdido vou formatar e instalar tudo novamente e começar do zero .. mais mesmo assim obrigado.
> Rodrigo Vian escreveu: > >> Bom dia Thiago, >> >> Qual a versão do Elastix está usando??? >> A versão 1.5 já está com suporte nativo ao openr2... >> >> Como está configurado o seu chan_dahdi.conf, dadhi-channels.conf e >> /etc/dahdi/system.conf ? >> >> Outra dica para teste: >> - Pare o asterisk >> - execute r2test -c r2test.conf >> >> =============================== >> Arquivo r2test.conf >> -------------------------------------------------------- >> category=NATIONAL_SUBSCRIBER >> loglevel=all >> callfiles=yes >> variant=br >> maxani=20 >> maxdnis=4 >> getanifirst=no >> usedahdimf=no >> mfthreshold=0 >> mfbacktimeout=-1 >> meteringpulsetimeout=-1 >> collectcalls=no >> chargecalls=yes >> doubleanswer=no >> immediateaccept=no >> playaudio=no >> channel=1-15 >> channel=17-31 >> dnid=1234 >> cid=0151997165751 >> caller=yes >> channel=32-46 >> channel=48-62 >> =============================== >> >> Esse teste vai ocupar os canais com se estivesse realizando ligações... >> >> Inicio do log nos testes >> -------------------------------------- >> found category = NATIONAL_SUBSCRIBER >> found Log Level = all >> found option callfiles=yes >> found R2 variant = br >> found MAX ANI= 20 >> found MAX DNIS= 4 >> found option Get ANI First = no >> found option Use DAHDI MF = no >> found option MF threshold = 0 >> found option MF backward timeout = -1 >> found option meteringpulsetimeout=-1 >> found option collectcalls=no >> found option chargecalls=yes >> found option doubleanswer=no >> found option immediateaccept=no >> found channel range = 1-15 >> found channel range = 17-31 >> found DNID = 0097 >> found CID = 0151997165751 >> found channel range = 32-46 >> found channel range = 48-62 >> channel 1, variant = BR >> [42:10:149][CAS TRACE] Channel 1 -- CAS Tx >> [IDLE] 0x08 >> [42:10:149][CAS TRACE] Channel 1 -- CAS Raw Tx >> 0x09 >> [42:10:149][DEBUG] Channel 1 -- Bits changed from 0x00 to 0x0C >> [42:10:149][CAS TRACE] Channel 1 -- CAS Rx << [BLOCK] 0x0C >> USER: far end blocked on chan 1 >> channel 2, variant = BR >> [42:10:149][CAS TRACE] Channel 2 -- CAS Tx >> [IDLE] 0x08 >> [42:10:149][CAS TRACE] Channel 2 -- CAS Raw Tx >> 0x09 >> [42:10:149][DEBUG] Channel 2 -- Bits changed from 0x00 to 0x0C >> [42:10:149][CAS TRACE] Channel 2 -- CAS Rx << [BLOCK] 0x0C >> USER: far end blocked on chan 2 >> >> gerando ligação >> ------------------------ >> USER: new call detected on chan 1 >> [42:10:157][DEBUG] Channel 2 -- Bits changed from 0x08 to 0x00 >> [42:10:157][CAS TRACE] Channel 2 -- CAS Rx << [SEIZE] 0x00 >> [42:10:157][DEBUG] Channel 6 -- Call started at Mon Oct 5 10:42:10 >> 2009 on chan 6 >> [42:10:157][CAS TRACE] Channel 6 -- CAS Tx >> [SEIZE ACK] 0x0C >> [42:10:157][DEBUG] Channel 2 -- Call started at Mon Oct 5 10:42:10 >> 2009 on chan 2 >> [42:10:157][CAS TRACE] Channel 6 -- CAS Raw Tx >> 0x0D >> [42:10:187][MF TRACE] Channel 7 -- MF Rx << 0 [ON] >> [42:10:187][DEBUG] Channel 7 -- Getting DNIS digit 0 >> [42:10:187][DEBUG] Channel 7 -- DNIS so far: 0, expected length: 4 >> USER: New DNIS digit '0' received on chan 7 >> [42:10:187][DEBUG] Channel 7 -- Requesting next DNIS with signal 0x31. >> [42:10:187][MF TRACE] Channel 7 -- MF Tx >> 1 [ON] >> >> >> USER: call read data of length 160 on chan 7 >> ================================================================= >> >> >> >> >> >> Thiago Rodrigues escreveu: >> >>> Ricardo Carrer escreveu: >>> >>> >>>> Boa noite amigo... tente seguir esse artigo do Alexandre Alencar >>>> http://blog.alexandrealencar.net/2008/05/asterisk-com-mfcr2-openr2.html >>>> >>>> mas uma informacao importantissima que ninguem passa.... apos as >>>> alteracoes rode o dahdi_cfg para que as configuracoes entre em >>>> vigor... eu demorei 20 dias para configurar o link R2, simplesmente >>>> porque nao sabia do dahdi_cfg... bom vivendo e aprendendo... >>>> >>>> espero ter ajudado. >>>> Carrer >>>> >>>> 2009/10/6 Thiago Rodrigues <thiago.rodrig...@labsupport.com.br >>>> <mailto:thiago.rodrig...@labsupport.com.br>> >>>> >>>> Boa noite a todos estou com dificuldades na configuracao da >>>> Sinalizacao >>>> R2digital embratel 31 canais na na sangoma com elastix .. alguem >>>> tem uma >>>> receita de bolo onde eu consiga efetuar a configuracao? Ja procurei >>>> inumeros forums na internet e nao achei nada concreto... agradeco a >>>> ajuda obrigado. >>>> >>>> _______________________________________________ >>>> http://www.voipmania.com.br >>>> Telefone IP sem fio Gigaset A580IP por 6 x R$59,90. >>>> Promoção por tempo limitado! >>>> Acesse agora http://promo.voipmania.com.br >>>> >>>> _______________________________________________ >>>> Lista de discussões AsteriskBrasil.org >>>> AsteriskBrasil@listas.asteriskbrasil.org >>>> <mailto:AsteriskBrasil@listas.asteriskbrasil.org> >>>> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> http://www.voipmania.com.br >>>> Telefone IP sem fio Gigaset A580IP por 6 x R$59,90. >>>> Promoção por tempo limitado! >>>> Acesse agora http://promo.voipmania.com.br >>>> >>>> _______________________________________________ >>>> Lista de discussões AsteriskBrasil.org >>>> AsteriskBrasil@listas.asteriskbrasil.org >>>> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil >>>> >>>> >>> Bom dia Ricardo. Entao ate consigo fazer a placa subir com os seus >>> respectivos canais porem quando cadastro as rotas e tudo mais a placa >>> nao funciona nem pra fazer e receber ligacao e nao me da nenhum erro >>> quando uso as ferramentas de teste. ja procurei inumeras vezes oq pode >>> ser o pq do canal nao subir mais realmente estou de maos atadas .. >>> alguma ideia. >>> >>> _______________________________________________ >>> http://www.voipmania.com.br >>> Telefone IP sem fio Gigaset A580IP por 6 x R$59,90. >>> Promoção por tempo limitado! >>> Acesse agora http://promo.voipmania.com.br >>> >>> _______________________________________________ >>> Lista de discussões AsteriskBrasil.org >>> AsteriskBrasil@listas.asteriskbrasil.org >>> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil >>> >>> >> Rodrigo S. Vian >> Analista TI >> Porttal Tecnologia >> Soluções em TI & Telecom >> http://www.porttaltecnologia.com.br >> phone:55+19+3542-9667 >> >> |-- Antes de Imprimir, pense em sua responsabilidade com o Meio >> Ambiente --| >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> http://www.voipmania.com.br >> Telefone IP sem fio Gigaset A580IP por 6 x R$59,90. >> Promoção por tempo limitado! >> Acesse agora http://promo.voipmania.com.br >> >> _______________________________________________ >> Lista de discussões AsteriskBrasil.org >> AsteriskBrasil@listas.asteriskbrasil.org >> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil >> > Bom dia estou usando a 1.5 justamente por ter esse suporte nativo. o > chan_dahdi.conf esta assim: > > [trunkgroups] > > [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-pstn > group=0 > callgroup=0 > pickupgroup=0 > channel => 1-15 > channel => 17-31 > > E o system.conf esta assim > > loadzone = br > defaultzone = br > > span=1,1,0,cas,hdb3 > cas=1-15:1101 > cas=17-31:1101 > dchan=16 > > o dadhi-channels.conf eu nao mexi pq. Vou testar oq vc em passou ok. > > _______________________________________________ > http://www.voipmania.com.br > Telefone IP sem fio Gigaset A580IP por 6 x R$59,90. > Promoção por tempo limitado! > Acesse agora http://promo.voipmania.com.br > > _______________________________________________ > Lista de discussões AsteriskBrasil.org > AsteriskBrasil@listas.asteriskbrasil.org > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil > > _______________________________________________ http://www.voipmania.com.br Telefone IP sem fio Gigaset A580IP por 6 x R$59,90. Promoção por tempo limitado! Acesse agora http://promo.voipmania.com.br _______________________________________________ Lista de discussões AsteriskBrasil.org AsteriskBrasil@listas.asteriskbrasil.org http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil