[AsteriskBrasil] falta de um canal de audio E1Digivoicealeatorio

Fabio Rogerio rogerio em realmax.com.br
Segunda Outubro 1 11:51:52 BRT 2007


Ola pessoal, o problema de falta de audio persiste...

Segue um trecho de log que eu consegui capturar, esse aqui é de uma ligacao que deu problema, ta em vermelho o q eu to considerando suspeito.


[Oct  1 11:31:59] NOTICE[27840] chan_dgv.c: Asked to get a channel Dgv/G2/200 using format AST_FORMAT_ULAW:ffWaveULaw
[Oct  1 11:31:59] NOTICE[27840] chan_dgv.c: Group G2
[Oct  1 11:31:59] NOTICE[8065] chan_dgv.c: EV_DIALTONE port 60
[Oct  1 11:31:59] NOTICE[8065] chan_dgv.c: EV_E1CHANGESTATUS (60) data 102d
[Oct  1 11:32:00] NOTICE[7883] chan_dgv.c: EV_AFTERPICKUP port 60
[Oct  1 11:32:00] NOTICE[7884] chan_dgv.c: Port 60 Digit 1
[Oct  1 11:32:00] NOTICE[7884] chan_dgv.c: Port 60 Digit 1
[Oct  1 11:32:00] NOTICE[7884] chan_dgv.c: Port 60 Digit 5
[Oct  1 11:32:01] NOTICE[7884] chan_dgv.c: Port 60 Digit 5
[Oct  1 11:32:01] NOTICE[7884] chan_dgv.c: Port 60 Digit 5
[Oct  1 11:32:01] NOTICE[7884] chan_dgv.c: Port 60 Digit 5
[Oct  1 11:32:01] NOTICE[7884] chan_dgv.c: Port 60 Digit 5
[Oct  1 11:32:02] NOTICE[7884] chan_dgv.c: Port 60 Digit 5
[Oct  1 11:32:02] NOTICE[7884] chan_dgv.c: Port 60 Digit 3
[Oct  1 11:32:02] NOTICE[7884] chan_dgv.c: Port 60 Digit 1
[Oct  1 11:32:02] NOTICE[8065] chan_dgv.c: EV_GROUP_B port 60, group_b_received 1
[Oct  1 11:32:02] NOTICE[8065] chan_dgv.c: EV_AFTERDIAL 60
[Oct  1 11:32:03] NOTICE[7883] chan_dgv.c: EV_CALLING port 60 data: 0 - state=5
[Oct  1 11:32:04] NOTICE[8065] chan_dgv.c: EV_E1CHANGESTATUS (60) data 1012
[Oct  1 11:32:04] NOTICE[8065] chan_dgv.c: EV_ANSWERED 60
[Oct  1 11:32:04] NOTICE[8065] chan_dgv.c: EnableCallProgress CP_ENABLE_BUSY_OR_FAX port 60 - OK
[Oct  1 11:32:04] NOTICE[8065] chan_dgv.c: InputBuffer released for port 60 cod=0
[Oct  1 11:32:04] NOTICE[8065] chan_dgv.c: Port 60 Enabling(4) DSP Echo Cancelation - taps = ECHO_TAPS_64
[Oct  1 11:32:10] NOTICE[7887] chan_dgv.c: all_echotraining (60): Starting dg_SetEchoCancelationAdapt(4)
[Oct  1 11:32:14] NOTICE[8065] chan_dgv.c: EV_E1CHANGESTATUS (60) data 1014
[Oct  1 11:32:14] NOTICE[8065] chan_dgv.c: C_B_ENDCALL (60): state=6
[Oct  1 11:32:14] NOTICE[8065] chan_dgv.c: C_B_ENDCALL (60): End call
[Oct  1 11:32:14] NOTICE[27840] chan_dgv.c:   -- Port 60 Disabling Echo Cancelation
[Oct  1 11:32:14] NOTICE[27840] chan_dgv.c: Calling dg_HangUp on port 60
[Oct  1 11:32:14] NOTICE[8065] chan_dgv.c: EV_LINEOFF port 60 data: 0
[Oct  1 11:32:15] NOTICE[7884] chan_dgv.c: EV_R2 (60) - Changing reserved to 0 because receive 9
[Oct  1 11:32:15] NOTICE[8065] chan_dgv.c: EV_E1CHANGESTATUS (60) data 102a
[Oct  1 11:32:15] NOTICE[8065] chan_dgv.c: C_E1_IDLE (60): state=0



Ligacao perfeita.

[Oct  1 11:37:17] NOTICE[27889] chan_dgv.c: Asked to get a channel Dgv/G2/200 using format AST_FORMAT_ULAW:ffWaveULaw
[Oct  1 11:37:17] NOTICE[27889] chan_dgv.c: Group G2
[Oct  1 11:37:17] NOTICE[7883] chan_dgv.c: EV_AFTERPICKUP port 60
[Oct  1 11:37:17] NOTICE[8065] chan_dgv.c: EV_DIALTONE port 60
[Oct  1 11:37:17] NOTICE[8065] chan_dgv.c: EV_E1CHANGESTATUS (60) data 102d
[Oct  1 11:37:17] NOTICE[7884] chan_dgv.c: Port 60 Digit 1
[Oct  1 11:37:17] NOTICE[7884] chan_dgv.c: Port 60 Digit 1
[Oct  1 11:37:18] NOTICE[7884] chan_dgv.c: Port 60 Digit 5
[Oct  1 11:37:18] NOTICE[7884] chan_dgv.c: Port 60 Digit 5
[Oct  1 11:37:18] NOTICE[7884] chan_dgv.c: Port 60 Digit 5
[Oct  1 11:37:18] NOTICE[7884] chan_dgv.c: Port 60 Digit 5
[Oct  1 11:37:18] NOTICE[7884] chan_dgv.c: Port 60 Digit 5
[Oct  1 11:37:19] NOTICE[7884] chan_dgv.c: Port 60 Digit 5
[Oct  1 11:37:19] NOTICE[7884] chan_dgv.c: Port 60 Digit 3
[Oct  1 11:37:19] NOTICE[7884] chan_dgv.c: Port 60 Digit 1
[Oct  1 11:37:19] NOTICE[8065] chan_dgv.c: EV_GROUP_B port 60, group_b_received 1
[Oct  1 11:37:19] NOTICE[8065] chan_dgv.c: EV_AFTERDIAL 60
[Oct  1 11:37:20] NOTICE[7883] chan_dgv.c: EV_CALLING port 60 data: 0 - state=5
[Oct  1 11:37:23] NOTICE[8065] chan_dgv.c: EV_E1CHANGESTATUS (60) data 1012
[Oct  1 11:37:23] NOTICE[8065] chan_dgv.c: EV_ANSWERED 60
[Oct  1 11:37:23] NOTICE[8065] chan_dgv.c: EnableCallProgress CP_ENABLE_BUSY_OR_FAX port 60 - OK
[Oct  1 11:37:23] NOTICE[8065] chan_dgv.c: InputBuffer released for port 60 cod=0
[Oct  1 11:37:23] NOTICE[8065] chan_dgv.c: Port 60 Enabling(4) DSP Echo Cancelation - taps = ECHO_TAPS_64
[Oct  1 11:37:28] NOTICE[7887] chan_dgv.c: all_echotraining (60): Starting dg_SetEchoCancelationAdapt(4)
[Oct  1 11:37:38] NOTICE[27889] chan_dgv.c:   -- Port 60 Disabling Echo Cancelation
[Oct  1 11:37:38] NOTICE[27889] chan_dgv.c: Calling dg_HangUp on port 60
[Oct  1 11:37:38] NOTICE[8065] chan_dgv.c: EV_LINEOFF port 60 data: 0
[Oct  1 11:37:38] NOTICE[7884] chan_dgv.c: EV_R2 (60) - Changing reserved to 0 because receive 9
[Oct  1 11:37:38] NOTICE[8065] chan_dgv.c: EV_E1CHANGESTATUS (60) data 102a
[Oct  1 11:37:38] NOTICE[8065] chan_dgv.c: C_E1_IDLE (60): state=0

Fabio Rogerio
  ----- Original Message ----- 
  From: Fabio Rogerio 
  To: asteriskbrasil em listas.asteriskbrasil.org 
  Sent: Friday, September 28, 2007 8:38 PM
  Subject: Re: [AsteriskBrasil] falta de um canal de audio E1Digivoicealeatorio


  Codec de que ponta? pois a ligacao vem da rede publica e vai pro ramal do pabx usando somente a placa e1 da digivoice... e na maioria das ligacoes funciona, os problemas estao entre 10% a 30% das ligacoes de entrada.

  com ligacoes de saida nao ocorre o problema

  Fabio Rogerio
    ----- Original Message ----- 
    From: Renato dos Santos 
    To: asteriskbrasil em listas.asteriskbrasil.org 
    Sent: Friday, September 28, 2007 4:06 PM
    Subject: Re: [AsteriskBrasil] falta de um canal de audio E1 Digivoicealeatorio


    codec ?


    Em 28/09/07, Fabio Rogerio <rogerio em realmax.com.br> escreveu: 
      Ola pessoal

      uso uma VB6060 da digivoice com 2 E1, uma com a EBT e outra com o PABX (BP250) e tenho tambem alguns ramais SIP.

      Asterisk 1.4.9
      ultimos drivers da digivoice
      Ubuntu Server 7.qq coisa
      Sinalizacao R2 (tanto com a ebt como com o pabx)

      Esta tudo quase perfeito, o problema é que aleatoriamente, ligacoes que vem da rede publica ou dos ramais SIP com destino aos ramais do BP, um lado da conversa fica sem audio.

      ex. se ligo do ramal sip, eu ouco tudo, mais quem ta no ramal do pabx nao me ouve, se eu ligo da rede publica, eu ouco a telefonista, que ta no ramal do pabx, mais ela nao me ouve.

      isso é aleatorio, nao observei nenhuma diferenca nos logs do console do asterisk.

      isso ta quase inviabilizando o projeto ja, ou me empurrando pra procurar uma placa digium.

      Alguem tem alguma sugestao.. qualquer coisa, pq eu ja nao sei mais o q fazer.


      _________________________________________________
      Segue o digivoice.conf

      [general]
      allow_slinear=0
      allow_ulaw=1
      allow_alaw=1
      allow_gsm=0

      consolelanguage=br

      [allportsconfig]

      default_callprogress=cp_default.cfg
      detectiontype = 1
      dialtype = 1
      afterdialpause=1000

      ringbacktone1 = tone1
      ringbacktone2 = tone1
      ringbacktimes = 1000,4000,1000,4000

      busytone1 = tone1
      busytone2 = tone1
      busytimes = 250,250,250,250

      [groups]
      group = 1
      ports => 1-30

      group = 2
      ports => 31-60

      [port_config]

      ; --- configuracao tipica do E1 configurado na rede publica
      context=from-pstn
      signalling=r2mfc_ndis_fixed
      max_digits_rx=4
      customcascfg=avaya-definity-line-side.cfg
      b_subscriber_hangup=0
      port_id=1145678901
      cid_pos=2
      category=1
      group_b_value=1                         ;1-FREE_CALLING
      tx_gain = 0
      rx_gain = 0
      echocan=2
      echotraining=400
      accountcode=e1
      silence_threshold=-30
      gen_dtmf=1
      gen_ringback=1
      gen_busy=1
      dtmf_to_asterisk=2
      callprogress=cp_default.cfg
      language=pt_BR
      dialtone_timeout=3000
      wait_dialtone=1
      drop_tx_samples_factor=33
      relaxdtmf=1
      faxdetection=1
      ports => 1-30


      ; --- configuracao tipica de um E1 configurado no PBX E1 ----
      context=from-bp
      signalling=r2mfc_ndis_variable
      min_digits_rx=1
      max_digits_rx=20
      b_subscriber_hangup=1
      interdigit_timeout=2000
      port_id=
      cid_pos=0
      category=1
      group_b_value=1
      tx_gain = 0
      rx_gain = -2
      echocan=2
      echotraining=400
      accountcode=e1pbx
      silence_threshold=-24
      gen_dtmf=1
      dtmf_to_asterisk=2
      gen_ringback=1
      gen_busy=1
      callprogress=cp_default.cfg
      language=pt_BR
      wait_dialtone=1
      dialtone_timeout=3000
      relaxdtmf=1
      faxdetection=1
      ports => 31-60

      [e1_config]
      e1_sync=2
      use_crc4=0
      span=1,cas
      ;span=1,ccs,cpe,euroisdn,overlapdial,local,local ;somente para ISDN
      span=2,cas
      cards => 1


      _______________________________________________
      Compre uma camiseta da AsteriskBrasil.org!
                  http://www.voipmania.com.br
                     == VoIPMania.com.br ==

      _______________________________________________ 
      LIsta de discussões AsteriskBrasil.org
      AsteriskBrasil em listas.asteriskbrasil.org
      http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil




    -- 
    "Double your drive space. Delete Windows" ;-)
    user: #443184 


----------------------------------------------------------------------------


    _______________________________________________
    Compre uma camiseta da AsteriskBrasil.org!
                http://www.voipmania.com.br
                    == VoIPMania.com.br ==

    _______________________________________________
    LIsta de discussões AsteriskBrasil.org
    AsteriskBrasil em listas.asteriskbrasil.org
    http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil


------------------------------------------------------------------------------


  _______________________________________________
  Compre uma camiseta da AsteriskBrasil.org!
              http://www.voipmania.com.br
                  == VoIPMania.com.br ==

  _______________________________________________
  LIsta de discussões AsteriskBrasil.org
  AsteriskBrasil em listas.asteriskbrasil.org
  http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20071001/b7e93b93/attachment-0001.html


Mais detalhes sobre a lista de discussão AsteriskBrasil