[AsteriskBrasil] Visualização de sinalização.
Vinícius Fontes
vinicius em canall.com.br
Quinta Outubro 29 17:26:14 BRST 2009
Aqui tem um debug de uma chamada entrando por um canal MFC/R2 em um PABX que está em produção. Veja se é isso que você espera.
[08:51:35:090] [Thread: 3076909968] [Chan 2] - Call started at Tue Oct 27 08:51:35 2009 on chan 2
[08:51:35:090] [Thread: 3076909968] [Chan 2] - CAS Tx >> [SEIZE ACK] 0x0C
[08:51:35:090] [Thread: 3076909968] [Chan 2] - CAS Raw Tx >> 0x0D
[08:51:35:140] [Thread: 3076909968] [Chan 2] - MF Rx << 3 [ON]
[08:51:35:140] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 0
[08:51:35:140] [Thread: 3076909968] [Chan 2] - Cannot cancel timer 0
[08:51:35:140] [Thread: 3076909968] [Chan 2] - Getting DNIS digit 3
[08:51:35:140] [Thread: 3076909968] [Chan 2] - DNIS so far: 3, expected length: 4
[08:51:35:141] [Thread: 3076909968] [Chan 2] - Requesting next DNIS with signal 0x31.
[08:51:35:141] [Thread: 3076909968] [Chan 2] - MF Tx >> 1 [ON]
[08:51:35:200] [Thread: 3076909968] [Chan 2] - MF Rx << 3 [OFF]
[08:51:35:200] [Thread: 3076909968] [Chan 2] - MF Tx >> 1 [OFF]
[08:51:35:260] [Thread: 3076909968] [Chan 2] - MF Rx << 6 [ON]
[08:51:35:260] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 2
[08:51:35:260] [Thread: 3076909968] [Chan 2] - timer id 2 found, cancelling it now
[08:51:35:260] [Thread: 3076909968] [Chan 2] - Getting DNIS digit 6
[08:51:35:260] [Thread: 3076909968] [Chan 2] - DNIS so far: 36, expected length: 4
[08:51:35:261] [Thread: 3076909968] [Chan 2] - Requesting next DNIS with signal 0x31.
[08:51:35:261] [Thread: 3076909968] [Chan 2] - MF Tx >> 1 [ON]
[08:51:35:320] [Thread: 3076909968] [Chan 2] - MF Rx << 6 [OFF]
[08:51:35:320] [Thread: 3076909968] [Chan 2] - MF Tx >> 1 [OFF]
[08:51:35:380] [Thread: 3076909968] [Chan 2] - MF Rx << 4 [ON]
[08:51:35:380] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 3
[08:51:35:380] [Thread: 3076909968] [Chan 2] - timer id 3 found, cancelling it now
[08:51:35:380] [Thread: 3076909968] [Chan 2] - Getting DNIS digit 4
[08:51:35:380] [Thread: 3076909968] [Chan 2] - DNIS so far: 364, expected length: 4
[08:51:35:381] [Thread: 3076909968] [Chan 2] - Requesting next DNIS with signal 0x31.
[08:51:35:381] [Thread: 3076909968] [Chan 2] - MF Tx >> 1 [ON]
[08:51:35:440] [Thread: 3076909968] [Chan 2] - MF Rx << 4 [OFF]
[08:51:35:440] [Thread: 3076909968] [Chan 2] - MF Tx >> 1 [OFF]
[08:51:35:500] [Thread: 3076909968] [Chan 2] - MF Rx << 0 [ON]
[08:51:35:500] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 4
[08:51:35:500] [Thread: 3076909968] [Chan 2] - timer id 4 found, cancelling it now
[08:51:35:500] [Thread: 3076909968] [Chan 2] - Getting DNIS digit 0
[08:51:35:500] [Thread: 3076909968] [Chan 2] - DNIS so far: 3640, expected length: 4
[08:51:35:501] [Thread: 3076909968] [Chan 2] - User requested us to stop getting DNIS!
[08:51:35:501] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [ON]
[08:51:35:580] [Thread: 3076909968] [Chan 2] - MF Rx << 0 [OFF]
[08:51:35:580] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [OFF]
[08:51:35:640] [Thread: 3076909968] [Chan 2] - MF Rx << 1 [ON]
[08:51:35:640] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 5
[08:51:35:640] [Thread: 3076909968] [Chan 2] - timer id 5 found, cancelling it now
[08:51:35:640] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [ON]
[08:51:35:700] [Thread: 3076909968] [Chan 2] - MF Rx << 1 [OFF]
[08:51:35:700] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [OFF]
[08:51:35:760] [Thread: 3076909968] [Chan 2] - MF Rx << 5 [ON]
[08:51:35:760] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 6
[08:51:35:760] [Thread: 3076909968] [Chan 2] - timer id 6 found, cancelling it now
[08:51:35:760] [Thread: 3076909968] [Chan 2] - Getting ANI digit 5
[08:51:35:760] [Thread: 3076909968] [Chan 2] - ANI so far: 5, expected length: 20
[08:51:35:760] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [ON]
[08:51:35:820] [Thread: 3076909968] [Chan 2] - MF Rx << 5 [OFF]
[08:51:35:820] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [OFF]
[08:51:35:880] [Thread: 3076909968] [Chan 2] - MF Rx << 4 [ON]
[08:51:35:880] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 7
[08:51:35:880] [Thread: 3076909968] [Chan 2] - timer id 7 found, cancelling it now
[08:51:35:880] [Thread: 3076909968] [Chan 2] - Getting ANI digit 4
[08:51:35:880] [Thread: 3076909968] [Chan 2] - ANI so far: 54, expected length: 20
[08:51:35:880] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [ON]
[08:51:35:940] [Thread: 3076909968] [Chan 2] - MF Rx << 4 [OFF]
[08:51:35:940] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [OFF]
[08:51:35:000] [Thread: 3076909968] [Chan 2] - MF Rx << 3 [ON]
[08:51:35:000] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 8
[08:51:35:000] [Thread: 3076909968] [Chan 2] - timer id 8 found, cancelling it now
[08:51:35:000] [Thread: 3076909968] [Chan 2] - Getting ANI digit 3
[08:51:35:000] [Thread: 3076909968] [Chan 2] - ANI so far: 543, expected length: 20
[08:51:35:000] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [ON]
[08:51:36:060] [Thread: 3076909968] [Chan 2] - MF Rx << 3 [OFF]
[08:51:36:060] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [OFF]
[08:51:36:120] [Thread: 3076909968] [Chan 2] - MF Rx << 4 [ON]
[08:51:36:120] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 9
[08:51:36:120] [Thread: 3076909968] [Chan 2] - timer id 9 found, cancelling it now
[08:51:36:120] [Thread: 3076909968] [Chan 2] - Getting ANI digit 4
[08:51:36:120] [Thread: 3076909968] [Chan 2] - ANI so far: 5434, expected length: 20
[08:51:36:120] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [ON]
[08:51:36:180] [Thread: 3076909968] [Chan 2] - MF Rx << 4 [OFF]
[08:51:36:180] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [OFF]
[08:51:36:240] [Thread: 3076909968] [Chan 2] - MF Rx << 4 [ON]
[08:51:36:240] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 10
[08:51:36:240] [Thread: 3076909968] [Chan 2] - timer id 10 found, cancelling it now
[08:51:36:240] [Thread: 3076909968] [Chan 2] - Getting ANI digit 4
[08:51:36:240] [Thread: 3076909968] [Chan 2] - ANI so far: 54344, expected length: 20
[08:51:36:240] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [ON]
[08:51:36:280] [Thread: 3076909968] [Chan 2] - MF Rx << 4 [OFF]
[08:51:36:280] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [OFF]
[08:51:36:360] [Thread: 3076909968] [Chan 2] - MF Rx << 1 [ON]
[08:51:36:360] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 11
[08:51:36:360] [Thread: 3076909968] [Chan 2] - timer id 11 found, cancelling it now
[08:51:36:360] [Thread: 3076909968] [Chan 2] - Getting ANI digit 1
[08:51:36:360] [Thread: 3076909968] [Chan 2] - ANI so far: 543441, expected length: 20
[08:51:36:360] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [ON]
[08:51:36:400] [Thread: 3076909968] [Chan 2] - MF Rx << 1 [OFF]
[08:51:36:400] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [OFF]
[08:51:36:460] [Thread: 3076909968] [Chan 2] - MF Rx << 6 [ON]
[08:51:36:460] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 12
[08:51:36:460] [Thread: 3076909968] [Chan 2] - timer id 12 found, cancelling it now
[08:51:36:460] [Thread: 3076909968] [Chan 2] - Getting ANI digit 6
[08:51:36:460] [Thread: 3076909968] [Chan 2] - ANI so far: 5434416, expected length: 20
[08:51:36:460] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [ON]
[08:51:36:540] [Thread: 3076909968] [Chan 2] - MF Rx << 6 [OFF]
[08:51:36:540] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [OFF]
[08:51:36:600] [Thread: 3076909968] [Chan 2] - MF Rx << 6 [ON]
[08:51:36:600] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 13
[08:51:36:600] [Thread: 3076909968] [Chan 2] - timer id 13 found, cancelling it now
[08:51:36:600] [Thread: 3076909968] [Chan 2] - Getting ANI digit 6
[08:51:36:600] [Thread: 3076909968] [Chan 2] - ANI so far: 54344166, expected length: 20
[08:51:36:600] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [ON]
[08:51:36:660] [Thread: 3076909968] [Chan 2] - MF Rx << 6 [OFF]
[08:51:36:660] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [OFF]
[08:51:36:740] [Thread: 3076909968] [Chan 2] - MF Rx << 5 [ON]
[08:51:36:740] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 14
[08:51:36:740] [Thread: 3076909968] [Chan 2] - timer id 14 found, cancelling it now
[08:51:36:740] [Thread: 3076909968] [Chan 2] - Getting ANI digit 5
[08:51:36:740] [Thread: 3076909968] [Chan 2] - ANI so far: 543441665, expected length: 20
[08:51:36:740] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [ON]
[08:51:36:800] [Thread: 3076909968] [Chan 2] - MF Rx << 5 [OFF]
[08:51:36:800] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [OFF]
[08:51:36:860] [Thread: 3076909968] [Chan 2] - MF Rx << 8 [ON]
[08:51:36:860] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 15
[08:51:36:860] [Thread: 3076909968] [Chan 2] - timer id 15 found, cancelling it now
[08:51:36:860] [Thread: 3076909968] [Chan 2] - Getting ANI digit 8
[08:51:36:860] [Thread: 3076909968] [Chan 2] - ANI so far: 5434416658, expected length: 20
[08:51:36:860] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [ON]
[08:51:36:920] [Thread: 3076909968] [Chan 2] - MF Rx << 8 [OFF]
[08:51:36:920] [Thread: 3076909968] [Chan 2] - MF Tx >> 5 [OFF]
[08:51:36:980] [Thread: 3076909968] [Chan 2] - MF Rx << F [ON]
[08:51:36:980] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 16
[08:51:36:980] [Thread: 3076909968] [Chan 2] - timer id 16 found, cancelling it now
[08:51:36:980] [Thread: 3076909968] [Chan 2] - Got end of ANI
[08:51:36:980] [Thread: 3076909968] [Chan 2] - Requesting change to Group II with signal 0x33
[08:51:36:980] [Thread: 3076909968] [Chan 2] - MF Tx >> 3 [ON]
[08:51:37:040] [Thread: 3076909968] [Chan 2] - MF Rx << F [OFF]
[08:51:37:040] [Thread: 3076909968] [Chan 2] - MF Tx >> 3 [OFF]
[08:51:37:100] [Thread: 3076909968] [Chan 2] - MF Rx << 1 [ON]
[08:51:37:100] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 17
[08:51:37:100] [Thread: 3076909968] [Chan 2] - timer id 17 found, cancelling it now
[08:51:37:100] [Thread: 3076909968] [Chan 2] - MF Tx >> 1 [ON]
[08:51:37:160] [Thread: 3076909968] [Chan 2] - MF Rx << 1 [OFF]
[08:51:37:160] [Thread: 3076909968] [Chan 2] - MF Tx >> 1 [OFF]
[08:51:37:160] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 18
[08:51:37:160] [Thread: 3076909968] [Chan 2] - timer id 18 found, cancelling it now
[08:51:37:320] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 19
[08:51:37:320] [Thread: 3076909968] [Chan 2] - timer id 19 found, cancelling it now
[08:51:37:320] [Thread: 3076909968] [Chan 2] - calling timer callback
[08:51:47:127] [Thread: 3036638096] [Chan 2] - CAS Tx >> [ANSWER] 0x04
[08:51:47:127] [Thread: 3036638096] [Chan 2] - CAS Raw Tx >> 0x05
[08:51:47:544] [Thread: 3036638096] [Chan 2] - Attempting to cancel timer timer 20
[08:51:47:544] [Thread: 3036638096] [Chan 2] - timer id 20 found, cancelling it now
[08:51:47:544] [Thread: 3036638096] [Chan 2] - calling timer callback
[08:51:47:544] [Thread: 3036638096] [Chan 2] - Attempting to cancel timer timer 0
[08:51:47:544] [Thread: 3036638096] [Chan 2] - Cannot cancel timer 0
[08:51:47:544] [Thread: 3036638096] [Chan 2] - CAS Tx >> [CLEAR BACK] 0x0C
[08:51:47:544] [Thread: 3036638096] [Chan 2] - CAS Raw Tx >> 0x0D
[08:51:47:944] [Thread: 3036638096] [Chan 2] - Attempting to cancel timer timer 21
[08:51:47:944] [Thread: 3036638096] [Chan 2] - timer id 21 found, cancelling it now
[08:51:47:944] [Thread: 3036638096] [Chan 2] - calling timer callback
[08:51:47:944] [Thread: 3036638096] [Chan 2] - CAS Tx >> [ANSWER] 0x04
[08:51:47:944] [Thread: 3036638096] [Chan 2] - CAS Raw Tx >> 0x05
[08:54:07:711] [Thread: 3036638096] [Chan 2] - Attempting to cancel timer timer 0
[08:54:07:711] [Thread: 3036638096] [Chan 2] - Cannot cancel timer 0
[08:54:07:711] [Thread: 3036638096] [Chan 2] - CAS Tx >> [CLEAR BACK] 0x0C
[08:54:07:711] [Thread: 3036638096] [Chan 2] - CAS Raw Tx >> 0x0D
[08:54:07:746] [Thread: 3076909968] [Chan 2] - Bits changed from 0x00 to 0x08
[08:54:07:746] [Thread: 3076909968] [Chan 2] - CAS Rx << [CLEAR FORWARD] 0x08
[08:54:07:746] [Thread: 3076909968] [Chan 2] - Call ended
[08:54:07:746] [Thread: 3076909968] [Chan 2] - Attempting to cancel timer timer 0
[08:54:07:746] [Thread: 3076909968] [Chan 2] - Cannot cancel timer 0
Vinícius Fontes
www.asteriskforum.com.br - Informações e discussão sobre Asterisk e telefonia IP
----- "Rodrigo Vian" <listas em porttaltecnologia.com.br> escreveu:
> Com asterisk vc enxerga qualquer processo......
>
> Você quem discou e pra quem discou.... da pra ver sinalização (na sua
> integra TX/RX), criar uras, audioconferencias, bilhetar, e muito
> mais....
>
>
>
>
>
> Junior S. escreveu:
>
> Boa tarde Rodrigo,
>
> Você pode me informar se nos no mode verbose ou nos logs de arquivos,
> eu consigo visualizar as informações abaixo?
>
> Número do telefone chamado
> E a sinalização entre registradores(Tipo B1, B2, B5, B7...).
>
> Só para você entender ainda não coloquei um Asterisk em teste pois
> primeiro preciso saber se com ele eu consigo visualizar estas
> informações, para dai sim fazer um investimento em hardware e colocar
> um Asterisk para rodar.
>
> Mais uma vez grato por sua ajuda.
>
> Att.
>
>
>
> Date: Thu, 29 Oct 2009 12:24:26 -0200
> From: listas em porttaltecnologia.com.br
> To: asteriskbrasil em listas.asteriskbrasil.org
> Subject: Re: [AsteriskBrasil] Visualização de sinalização.
>
> Bom...
> Tenho muitos servidores com placas Digivoice....
>
> No cli do asterisk é possível ativar o mode de verbose da placa e
> acompanhar a sinalização... Não me recordo se com ISDN dá para fazer
> este acompanhamento, mas com R2 dá.. Ainda em R2 é possível ativar o
> log em arquivos...
>
> Agora não entendi muito bem essa questão de sinalização eu você quer,
> sem ter uma placa e um asterisk em produção/teste....
>
> Mas a sinalização de retorno é a mesma do seu tronco com a operadora
> (R2, ISDN, E&M, etc). Não dá pra saber a sinalização do destino, pois
> quem faz o estabelecimento de toda a conexão da origem até o destino é
> a operadora, através de seus GWs.. Sua sinalização pode ser R2 e o
> destino ISDN, por exemplo.. Pra vc, você só vai conseguir enxergar a
> troca de sinalização R2 com a operadora, pois a ISDN a operadora é
> quem faz a "tradução" para o R2...
>
> Espero ter ajudado!
>
> Abs
>
>
> Junior S. escreveu:
>
> Bom dia Rodrigo,
>
> Podemos ver desta forma também, eu somente preciso por exemplo ligar
> para um número e saber a sinalização que me retorna.
>
> Grato por sua colaboração.
>
> Att.
>
>
> Date: Thu, 29 Oct 2009 09:09:45 -0200
> From: rodrigoferreiralang em gmail.com
> To: asteriskbrasil em listas.asteriskbrasil.org
> Subject: Re: [AsteriskBrasil] Visualização de sinalização.
>
> Junior, no caso você queria fazer um trace, correto?
>
>
>
> 2009/10/29 Junior S. < jnssj em hotmail.com >
>
>
>
> Bom dia a todos,
>
> Estou procurando a mais de dois dia uma forma de visualizar as
> sinalizações que são enviadas da publica para o asterisk do tipo B1,
> B5, B7.
> Alguém saberia me informar se isto é possível e como?
>
> Desde já grato pela atenção.
>
> Att.
>
>
> Com o Novo Internet Explorer 8 suas abas se organizam por cor. Baixe
> agora, é grátis!
>
> _______________________________________________
> 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 em listas.asteriskbrasil.org
> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>
>
>
> --
> Rodrigo F. Lang
> Amd. de Redes em Telecom
>
>
> Novo Internet Explorer 8: faça tudo com menos cliques. Baixe agora, é
> gratis!
> _______________________________________________
> 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 em 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 --|
>
>
> Você sabia que pode utilizar o Messenger de qualquer tipo de celular?
> Saiba mais.
> _______________________________________________
> 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 em 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 em listas.asteriskbrasil.org
> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
Mais detalhes sobre a lista de discussão AsteriskBrasil