Cursos Asterisk en México

Problemas al llamar

Colapsar

Anuncio

Colapsar
No hay anuncio todavía.
X
 
  • Filtrar
  • Tiempo
  • Mostrar
Limpiar Todo
nuevos mensajes

  • Problemas al llamar

    Buenas tardes.

    mi problema es que cuando llamo a algun telefono mi softphone hace un ruido cuando se empiesa a llamar al numero y cuando cuelgo el telefono mi softphone marca ocupado el ejemplo lo pongo a continuacion.

    debug Asterisk -r -----------------------------------------------------------------------------------------------------

    -- Called DAHDI/g1/0444771218703
    MFC/R2 call has been accepted on forward channel 1
    -----------------------------------------------------------------------------------------------------------------
    -- DAHDI/1-1 is ringing
    -- DAHDI/1-1 is making progress passing it to SIP/011-00000000

    //Cuando se pone en estado ring en el softphone hace un ruido raro y no detecta el answer y cuando cuelgo el softphone da el tono de ocupado y en el debug se ve que no detecta.//
    -----------------------------------------------------------------------------------------------------------------
    -- Hungup 'DAHDI/1-1'

    despues de esto checo mi debug y me da esto:

    [Nov 20 12:22:02] DEBUG[15641] chan_dahdi.c: Chan 1 - Requested to make call (ANI=(restricted), DNIS=0444771218703, category=National Priority Subscriber)
    [Nov 20 12:22:02] DEBUG[15641] chan_dahdi.c: Chan 1 - Call started at Tue Nov 20 12:22:02 2012 on chan 1 [openr2 version 1.3.1, revision (release)]
    [Nov 20 12:22:02] DEBUG[15641] chan_dahdi.c: Chan 1 - Outgoing call proceeding: ANI=(restricted), DNIS=0444771218703, Category=National Priority Subscriber
    [Nov 20 12:22:02] DEBUG[15641] chan_dahdi.c: Chan 1 - CAS Tx >> [SEIZE] 0x00
    [Nov 20 12:22:02] DEBUG[15641] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x01
    [Nov 20 12:22:02] DEBUG[15641] chan_dahdi.c: bits changed in chan 1
    [Nov 20 12:22:02] DEBUG[15641] chan_dahdi.c: Chan 1 - Bits changed from 0x08 to 0x0C
    [Nov 20 12:22:02] DEBUG[15641] chan_dahdi.c: Chan 1 - CAS Rx << [SEIZE ACK] 0x0C
    [Nov 20 12:22:02] DEBUG[15641] chan_dahdi.c: Chan 1 - MFC/R2 call acknowledge!
    [Nov 20 12:22:02] DEBUG[15641] chan_dahdi.c: Chan 1 - Sending DNIS digit 0
    [Nov 20 12:22:02] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 0 [ON]
    [Nov 20 12:22:02] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
    [Nov 20 12:22:02] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 0 [OFF]
    [Nov 20 12:22:02] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
    [Nov 20 12:22:02] DEBUG[15641] chan_dahdi.c: Chan 1 - Sending DNIS digit 4
    [Nov 20 12:22:02] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 4 [ON]
    [Nov 20 12:22:02] DEBUG[15641] chan_dahdi.c: Chan 1 - Group A DNIS request handled
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 4 [OFF]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - Sending DNIS digit 4
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 4 [ON]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - Group A DNIS request handled
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 4 [OFF]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - Sending DNIS digit 4
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 4 [ON]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - Group A DNIS request handled
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 4 [OFF]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - Sending DNIS digit 7
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 7 [ON]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - Group A DNIS request handled
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 7 [OFF]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - Sending DNIS digit 7
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 7 [ON]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - Group A DNIS request handled
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 7 [OFF]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - Sending DNIS digit 1
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 1 [ON]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - Group A DNIS request handled
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 1 [OFF]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - Sending DNIS digit 2
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 2 [ON]
    [Nov 20 12:22:03] DEBUG[15641] chan_dahdi.c: Chan 1 - Group A DNIS request handled
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 2 [OFF]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - Sending DNIS digit 1
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 1 [ON]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - Group A DNIS request handled
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 1 [OFF]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - Sending DNIS digit 8
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 8 [ON]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - Group A DNIS request handled
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 8 [OFF]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - Sending DNIS digit 7
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 7 [ON]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - Group A DNIS request handled
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 7 [OFF]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - Sending DNIS digit 0
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 0 [ON]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - Group A DNIS request handled
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 0 [OFF]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - Sending DNIS digit 3
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 3 [ON]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - Group A DNIS request handled
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 3 [ON]
    [Nov 20 12:22:04] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 3 [OFF]
    [Nov 20 12:22:05] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 3 [OFF]
    [Nov 20 12:22:05] DEBUG[15641] chan_dahdi.c: Chan 1 - Sending category National Priority Subscriber
    [Nov 20 12:22:05] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 2 [ON]
    [Nov 20 12:22:07] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
    [Nov 20 12:22:07] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Tx >> 2 [OFF]
    [Nov 20 12:22:11] DEBUG[15641] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
    [Nov 20 12:22:11] DEBUG[15641] chan_dahdi.c: Enqueuing progress frame after R2 accept in chan 1
    [Nov 20 12:22:54] DEBUG[15641] chan_dahdi.c: disconnecting MFC/R2 call on chan 1
    [Nov 20 12:22:54] DEBUG[15641] chan_dahdi.c: ast cause 0 resulted in openr2 cause 6/Normal Clearing
    [Nov 20 12:22:54] DEBUG[15641] chan_dahdi.c: Chan 1 - CAS Tx >> [CLEAR FORWARD] 0x08
    [Nov 20 12:22:54] DEBUG[15641] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x09
    [Nov 20 12:22:54] DEBUG[15591] chan_dahdi.c: Chan 1 - Bits changed from 0x0C to 0x08
    [Nov 20 12:22:54] DEBUG[15591] chan_dahdi.c: Chan 1 - CAS Rx << [IDLE] 0x08
    [Nov 20 12:22:54] DEBUG[15591] chan_dahdi.c: Chan 1 - Call ended
    [Nov 20 12:22:54] DEBUG[15591] chan_dahdi.c: Chan 1 - CAS Tx >> [IDLE] 0x08
    [Nov 20 12:22:54] DEBUG[15591] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x09

    En este debug veo que no a detectado en answer. no se si nesecito otra configuracion.

    Saludos.

  • #2
    que tienes en tu chan_dahdi.conf al respecto de este canal?
    dCAP Christian Cabrera R.
    Para aprender a usar Asterisk, asiste a uno de mis cursos Asterisk
    Si deseas asesoría pagada, por favor contáctame

    Comentario


    • #3
      Hola Christian
      En mi chan_dahdi tengo esto:

      [trunkgroups]

      [channels]

      context=default
      usecallerid=yes
      hidecallerid=no
      callwaiting=yes
      usecallingpres=yes
      callwaitingcallerid=yes
      threewaycalling=yes
      transfer=yes
      canpark=yes
      cancallforward=yes
      callreturn=yes
      echocancel=yes
      echocancelwhenbridged=yes
      relaxdtmf=yes
      rxgain=0.0
      txgain=0.0
      group=1
      callgroup=1
      pickupgroup=1
      immediate=no

      ;Sangoma A101 port 1 [slot:4 bus:2 span:1] <wanpipe1>
      ;switchtype=euroisdn
      context=from-pstn
      group=1
      ;echocancel=yes
      signalling=mfcr2
      mfcr2_variant=mx
      mfcr2_get_ani_first=no
      mfcr2_max_ani=10
      mfcr2_max_dnis=4
      mfcr2_category=national_subscriber
      mfcr2_call_files=yes
      mfcr2_mfback_timeout=-1
      mfcr2_metering_pulse_timeout=-1
      ; this is for debugging purposes
      mfcr2_logdir=span1
      mfcr2_logging=all
      ; end debugging configuration
      restrictcid=yes
      hidecallerid=yes
      channel => 1-15
      channel => 17-21

      Comentario


      • #4
        Eso no se ve mal, qué hay en tu wanpipe1.conf?
        IT Specialist

        Comentario


        • #5
          Hola Marco en mi wanpipe1 tengo esto

          [devices]
          wanpipe1 = WAN_AFT_TE1, Comment

          [interfaces]
          w1g1 = wanpipe1, , TDM_VOICE, Comment

          [wanpipe1]
          CARD_TYPE = AFT
          S514CPU = A
          CommPort = PRI
          AUTO_PCISLOT = NO
          PCISLOT = 4
          PCIBUS = 2
          FE_MEDIA = E1
          FE_LCODE = HDB3
          FE_FRAME = NCRC4
          FE_LINE = 1
          TE_CLOCK = NORMAL
          TE_REF_CLOCK = 0
          TE_SIG_MODE = CAS
          TE_HIGHIMPEDANCE = NO
          TE_RX_SLEVEL = 430
          HW_RJ45_PORT_MAP = DEFAULT
          LBO = 120OH
          FE_TXTRISTATE = NO
          MTU = 1500
          UDPPORT = 9000
          TTL = 255
          IGNORE_FRONT_END = NO
          TDMV_SPAN = 1
          TDMV_DCHAN = 16
          TE_AIS_MAINTENANCE = NO #NO: defualt YES: Start port in AIS Blue Alarm and keep line down
          #wanpipemon -i w1g1 -c Ttx_ais_off to disable AIS maintenance mode
          #wanpipemon -i w1g1 -c Ttx_ais_on to enable AIS maintenance mode
          TDMV_HW_DTMF = NO # YES: receive dtmf events from hardware
          TDMV_HW_FAX_DETECT = NO # YES: receive fax 1100hz events from hardware
          HWEC_OPERATION_MODE = OCT_NORMAL # OCT_NORMAL: echo cancelation enabled with nlp (default)
          # OCT_SPEECH: improves software tone detection by disabling NLP (echo possible)
          # OCT_NO_ECHO:disables echo cancelation but allows VQE/tone functions.
          HWEC_DTMF_REMOVAL = NO # NO: default YES: remove dtmf out of incoming media (must have hwdtmf enabled)
          HWEC_NOISE_REDUCTION = NO # NO: default YES: reduces noise on the line - could break fax
          HWEC_ACUSTIC_ECHO = NO # NO: default YES: enables acustic echo cancelation
          HWEC_NLP_DISABLE = NO # NO: default YES: guarantees software tone detection (possible echo)
          HWEC_TX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default)
          HWEC_RX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default)
          HWEC_TX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal
          HWEC_RX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal

          [w1g1]
          ACTIVE_CH = ALL
          TDMV_HWEC = NO
          MTU = 8


          de aqui he hecho cambio en TE_RX_SLEVEL por 120 pero sigue el problema.
          Saludos.

          Comentario


          • #6
            Si, justo quería revisar el nivel de TE_RX_SLEVEL, cómo está el system.conf de dahdi?
            IT Specialist

            Comentario


            • #7
              Yo probaría cambiar el RX_SLEVEL a 120 y recargando wanrouter
              dCAP Christian Cabrera R.
              Para aprender a usar Asterisk, asiste a uno de mis cursos Asterisk
              Si deseas asesoría pagada, por favor contáctame

              Comentario


              • #8
                Hola Christian.
                Ya cambie el valor del RX_SLEVEL y reinicie el wanrouter y el asterisk pero sigue igual me hace lo mismo cuando llamo.


                Hola Marco.

                Mira mi archivo system.conf es este:

                loadzone=mx

                defaultzone=mx


                #Sangoma A101 port 1 [slot:4 bus:2 span:1] <wanpipe1>

                span=1,1,0,cas,hdb3

                cas=1-15:1101

                hardhdlc=16

                cas=17-21:1101

                echocanceller=mg2,1-15,17-21


                Saludos.

                Comentario

                Principales Usuarios Activos

                Colapsar

                No hay usuarios activos superiores.
                Trabajando...
                X