Cursos Asterisk en México

[RESUELTO] Elastix 2.3 con E1 de Telmex

Colapsar

Anuncio

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

  • [RESUELTO] Elastix 2.3 con E1 de Telmex

    hola, les pido su ayuda para la instalacion, estoy instalando una tarjeta sangoma A101 con un E1 fraccionado de TELMEX con 10 canales unicamente y una tarjeta a a201 con 4 puertos para 4 troncales analogicas
    ya logre que el hardware detector me detecte la tarjeta a101 y me ponga los canales en verde ... configure FREEPBX de Elastix .
    pero aun asi NO logro hacer ni recibir llamadas
    existe alguna guia? ya que no hay ninguna para elastix 2.3 que tiene varios cambios por el asterisk 1.8 y no encuenro nignuna info relacionada..
    mil gracias de antemano

  • #2
    Si estás usando Telmex lo más probable es que estés usando R2, y todos los autodetectores lo más que hacen es detectarte la tarjeta con ISDN.

    Si estoy en lo correcto, sigue los pasos de este tutorial http://www.lastdragon.net/?p=361 para configurarla con R2.

    Saludos,
    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
      Gracias Christian por tu orientacion,
      pero esto es lo que me enfrento, la configuracion de todas las guias esta realizada para poner los parches para astrisk 1.4, pero por lo que se el 1.8 en elastix ya lo trae! y ahi es donde me estoy perdiendo!
      Editado por última vez por Duquelin; https://asteriskmx.org/foros/member/1632-duquelin en 12-09-2012, 07:19 PM.

      Comentario


      • #4
        Entonces ya no es necesario que instales los parches, solo configura dahdi (/etc/dahdi/system.conf y /asterisk/chan_dahdi.conf o /asterisk/dahdi-channels.conf) con los parámetros de R2 y no olvides configurar Wanpipe.
        IT Specialist

        Comentario


        • #5
          no Jala !
          ya hize todo y a marcar sigo teniendo tonos de ocupado!

          Comentario


          • #6
            al reiniciar el wanrouter me da el siguiente error
            wanconfig: WAN device wanpipe2 did not shutdown
            : ioctl(wanpipe2,ROUTER_DOWN) failed:
            : 16 - Device or resource busy

            Comentario


            • #7
              No puedes reiniciar wanrouter mientras tengas Asterisk corriendo. Deten Asterisk y luego reinicia wanrouter.

              Péganos aquí tu configuración del system.conf, del chan_dahdi.conf y un ejemplo de lo que se ve en tu consola al momento en que avientas una llamada al exterior
              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
                system.CONF
                #autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
                #autogenrated on 2009-11-12
                #Dahdi Channels Configurations
                #For detailed Dahdi options, view /etc/dahdi/system.conf
                loadzone=mx
                defaultzone=mx
                #Sangoma A101 port 1 [slot:4 bus:4 span:1] <wanpipe1>
                #;span=1,0,0,ccs,hdb3
                #;bchan=1-15,17-31
                #;echocanceller=mg2,1-15,17-31
                #;hardhdlc=16
                span=1,1,0,cas,hdb3
                cas=1-15:1101
                dchan=16
                cas=17-31:1101
                echocanceller=mg2,1-15,17-31

                chan_dahdi.conf
                ; Auto-generated by /usr/sbin/hardware_detector
                [trunkgroups]

                [channels]
                context=from-pstn
                signalling=fxs_ks
                rxwink=300 ; Atlas seems to use long (250ms) winks
                usecallerid=yes
                hidecallerid=no
                callwaiting=yes
                usecallingpres=yes
                callwaitingcallerid=yes
                threewaycalling=yes
                transfer=yes
                canpark=yes
                cancallforward=yes
                callreturn=yes
                echocancel=yes
                echocancelwhenbridged=no
                faxdetect=incoming
                echotraining=800
                rxgain=0.0
                txgain=0.0
                callgroup=1
                pickupgroup=1
                relaxdtmf=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_logdir=span1
                mfcr2_logging=all
                mfcr2_mfback_timeout=-1
                mfcr2_metering_pulse_timeout=-1
                channel => 1-15,17-31


                ;Uncomment these lines if you have problems with the disconection of your analog lines
                ;busydetect=yes
                ;busycount=3


                immediate=no

                #include dahdi-channels.conf
                #include chan_dahdi_additional.conf

                Comentario


                • #9
                  Cambia dchan=16 por hardhdlc=16.

                  Reinicia todos los servicios y péganos la salida del CLI de Asterisk cuando intentas hacer una llamada.
                  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


                  • #10
                    hay les va en dos partes
                    Connected to Asterisk 1.8.11.0 currently running on conmutador (pid = 3432)
                    Verbosity is at least 3
                    == Using SIP RTP TOS bits 184
                    == Using SIP RTP CoS mark 5
                    -- Executing [93989020@from-internal:1] Macro("SIP/115-00000000", "user-call erid,SKIPTTL,") in new stack
                    -- Executing [s@macro-user-callerid:1] Set("SIP/115-00000000", "AMPUSER=115" ) in new stack
                    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/115-00000000", "0?report" ) in new stack
                    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/115-00000000", "1?Set(REA LCALLERIDNUM=115)") in new stack
                    -- Executing [s@macro-user-callerid:4] Set("SIP/115-00000000", "AMPUSER=115" ) in new stack
                    -- Executing [s@macro-user-callerid:5] Set("SIP/115-00000000", "AMPUSERCIDNA ME=ING. ALAN DUQUE") in new stack
                    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/115-00000000", "0?report" ) in new stack
                    -- Executing [s@macro-user-callerid:7] Set("SIP/115-00000000", "AMPUSERCID=1 15") in new stack
                    -- Executing [s@macro-user-callerid:8] Set("SIP/115-00000000", "CALLERID(all )="ING. ALAN DUQUE" <115>") in new stack
                    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/115-00000000", "0?Set(CHA NNEL(language)=)") in new stack
                    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/115-00000000", "1?contin ue") in new stack
                    -- Goto (macro-user-callerid,s,19)
                    -- Executing [s@macro-user-callerid:19] Set("SIP/115-00000000", "CALLERID(nu mber)=115") in new stack
                    -- Executing [s@macro-user-callerid:20] Set("SIP/115-00000000", "CALLERID(na me)=ING. ALAN DUQUE") in new stack
                    -- Executing [s@macro-user-callerid:21] NoOp("SIP/115-00000000", "Using Call erID "ING. ALAN DUQUE" <115>") in new stack
                    -- Executing [93989020@from-internal:2] NoOp("SIP/115-00000000", "Calling Ou t Route: 9_outside") in new stack
                    -- Executing [93989020@from-internal:3] Set("SIP/115-00000000", "_NODEST=") in new stack
                    -- Executing [93989020@from-internal:4] Macro("SIP/115-00000000", "record-en able,115,OUT,") in new stack
                    -- Executing [s@macro-record-enable:1] GotoIf("SIP/115-00000000", "1?check") in new stack
                    -- Goto (macro-record-enable,s,4)

                    Comentario


                    • #11
                      -- Executing [s@macro-record-enable:4] ExecIf("SIP/115-00000000", "0?MacroEx it()") in new stack
                      -- Executing [s@macro-record-enable:5] GotoIf("SIP/115-00000000", "0?Group:O UT") in new stack
                      -- Goto (macro-record-enable,s,15)
                      -- Executing [s@macro-record-enable:15] GotoIf("SIP/115-00000000", "0?IN") i n new stack
                      -- Executing [s@macro-record-enable:16] ExecIf("SIP/115-00000000", "1?MacroE xit()") in new stack
                      -- Executing [93989020@from-internal:5] Macro("SIP/115-00000000", "dialout-t runk,1,3989020,") in new stack
                      -- Executing [s@macro-dialout-trunk:1] Set("SIP/115-00000000", "DIAL_TRUNK=1 ") in new stack
                      -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/115-00000000", "0?sub-pi ncheck,s,1") in new stack
                      -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/115-00000000", "0?disable trunk,1") in new stack
                      -- Executing [s@macro-dialout-trunk:4] Set("SIP/115-00000000", "DIAL_NUMBER= 3989020") in new stack
                      -- Executing [s@macro-dialout-trunk:5] Set("SIP/115-00000000", "DIAL_TRUNK_O PTIONS=tr") in new stack
                      -- Executing [s@macro-dialout-trunk:6] Set("SIP/115-00000000", "OUTBOUND_GRO UP=OUT_1") in new stack
                      -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/115-00000000", "1?nomax") in new stack
                      -- Goto (macro-dialout-trunk,s,9)
                      -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/115-00000000", "0?skipout cid") in new stack
                      -- Executing [s@macro-dialout-trunk:10] Set("SIP/115-00000000", "DIAL_TRUNK_ OPTIONS=") in new stack
                      -- Executing [s@macro-dialout-trunk:11] Macro("SIP/115-00000000", "outbound- callerid,1") in new stack

                      Comentario


                      • #12
                        -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/115-00000000", "0?Set (CALLERPRES()=)") in new stack
                        -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/115-00000000", "0?Set (REALCALLERIDNUM=115)") in new stack
                        -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/115-00000000", "1?nor mcid") in new stack
                        -- Goto (macro-outbound-callerid,s,6)
                        -- Executing [s@macro-outbound-callerid:6] Set("SIP/115-00000000", "USEROUTC ID=") in new stack
                        -- Executing [s@macro-outbound-callerid:7] Set("SIP/115-00000000", "EMERGENC YCID=") in new stack
                        -- Executing [s@macro-outbound-callerid:8] Set("SIP/115-00000000", "TRUNKOUT CID=") in new stack
                        -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/115-00000000", "1?tru nkcid") in new stack
                        -- Goto (macro-outbound-callerid,s,12)
                        -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/115-00000000", "0?Se t(CALLERID(all)=)") in new stack
                        -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/115-00000000", "0?Se t(CALLERID(all)=)") in new stack
                        -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/115-00000000", "0?Se t(CALLERID(all)=)") in new stack
                        -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/115-00000000", "0?Se t(CALLERPRES()=prohib_passed_screen)") in new stack
                        -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/115-00000000", "0?sub-f lp-1,s,1") in new stack
                        -- Executing [s@macro-dialout-trunk:13] Set("SIP/115-00000000", "OUTNUM=3989 020") in new stack
                        -- Executing [s@macro-dialout-trunk:14] Set("SIP/115-00000000", "custom=DAHD I/g0") in new stack

                        Comentario


                        • #13
                          -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/115-00000000", "0?Set(DI AL_TRUNK_OPTIONS=M(setmusic^))") in new stack
                          -- Executing [s@macro-dialout-trunk:16] Macro("SIP/115-00000000", "dialout-t runk-predial-hook,") in new stack
                          -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/115-00000 000", "") in new stack
                          -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/115-00000000", "0?bypass ,1") in new stack
                          -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/115-00000000", "0?custom trunk") in new stack
                          -- Executing [s@macro-dialout-trunk:19] Dial("SIP/115-00000000", "DAHDI/g0/3 989020,300,") in new stack
                          [Dec 11 10:47:23] WARNING[3876]: app_dial.c:2218 dial_exec_full: Unable to creat e channel of type 'DAHDI' (cause 34 - Circuit/channel congestion)
                          == Everyone is busy/congested at this time (1:0/1/0)
                          -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/115-00000000", "Dial faile d for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new sta ck
                          -- Executing [s@macro-dialout-trunk:21] Goto("SIP/115-00000000", "s-CONGESTI ON,1") in new stack
                          -- Goto (macro-dialout-trunk,s-CONGESTION,1)
                          -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/115-00000000", "R C=34") in new stack
                          -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/115-00000000", " 34,1") in new stack
                          -- Goto (macro-dialout-trunk,34,1)
                          -- Executing [34@macro-dialout-trunk:1] Goto("SIP/115-00000000", "continue,1 ") in new stack
                          -- Goto (macro-dialout-trunk,continue,1)
                          -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/115-00000000", "1? noreport") in new stack

                          Comentario


                          • #14
                            -- Goto (macro-dialout-trunk,continue,3)
                            -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/115-00000000", "TRUN K Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunk s") in new stack
                            -- Executing [continue@macro-dialout-trunk:4] Set("SIP/115-00000000", "CALLE RID(number)=115") in new stack
                            -- Executing [93989020@from-internal:6] Macro("SIP/115-00000000", "outisbusy ,") in new stack
                            -- Executing [s@macro-outisbusy:1] Progress("SIP/115-00000000", "") in new s tack
                            -- Executing [s@macro-outisbusy:2] GotoIf("SIP/115-00000000", "0?emergency,1 ") in new stack
                            -- Executing [s@macro-outisbusy:3] GotoIf("SIP/115-00000000", "0?intracompan y,1") in new stack
                            -- Executing [s@macro-outisbusy:4] Playback("SIP/115-00000000", "all-circuit s-busy-now&pls-try-call-later, noanswer") in new stack
                            -- <SIP/115-00000000> Playing 'all-circuits-busy-now.gsm' (language 'en')
                            -- <SIP/115-00000000> Playing 'pls-try-call-later.gsm' (language 'en')
                            -- Executing [s@macro-outisbusy:5] Congestion("SIP/115-00000000", "20") in n ew stack
                            [Dec 11 10:47:27] WARNING[3876]: channel.c:4650 ast_prod: Prodding channel 'SIP/ 115-00000000' failed
                            == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/115-0000000 0' in macro 'outisbusy'
                            == Spawn extension (from-internal, 93989020, 6) exited non-zero on 'SIP/115-00 000000'
                            -- Executing [h@from-internal:1] Macro("SIP/115-00000000", "hangupcall") in new stack
                            -- Executing [s@macro-hangupcall:1] GotoIf("SIP/115-00000000", "1?endmixmonc heck") in new stack
                            -- Goto (macro-hangupcall,s,9)
                            -- Executing [s@macro-hangupcall:9] NoOp("SIP/115-00000000", "End of MIXMON check") in new stack
                            -- Executing [s@macro-hangupcall:10] GotoIf("SIP/115-00000000", "1?nomeetmem on") in new stack
                            -- Goto (macro-hangupcall,s,15)
                            -- Executing [s@macro-hangupcall:15] NoOp("SIP/115-00000000", "MEETME_RECORD INGFILE=") in new stack
                            -- Executing [s@macro-hangupcall:16] GotoIf("SIP/115-00000000", "1?noautomon ") in new stack
                            -- Goto (macro-hangupcall,s,18)
                            -- Executing [s@macro-hangupcall:18] NoOp("SIP/115-00000000", "TOUCH_MONITOR _OUTPUT=") in new stack
                            -- Executing [s@macro-hangupcall:19] GotoIf("SIP/115-00000000", "1?noautomon 2") in new stack
                            -- Goto (macro-hangupcall,s,25)
                            -- Executing [s@macro-hangupcall:25] NoOp("SIP/115-00000000", "MONITOR_FILEN AME=") in new stack
                            -- Executing [s@macro-hangupcall:26] GotoIf("SIP/115-00000000", "1?skiprg") in new stack
                            -- Goto (macro-hangupcall,s,29)
                            -- Executing [s@macro-hangupcall:29] GotoIf("SIP/115-00000000", "1?skipblkvm ") in new stack
                            -- Goto (macro-hangupcall,s,32)
                            -- Executing [s@macro-hangupcall:32] GotoIf("SIP/115-00000000", "1?theend") in new stack
                            -- Goto (macro-hangupcall,s,34)
                            -- Executing [s@macro-hangupcall:34] Hangup("SIP/115-00000000", "") in new s tack
                            == Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/115-00000 000' in macro 'hangupcall'
                            == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/115-00000000'
                            [Dec 11 10:48:26] NOTICE[3608]: chan_sip.c:20788 handle_response_peerpoke: Peer '115' is now Lagged. (2015ms / 2000ms)
                            [Dec 11 10:48:37] NOTICE[3608]: chan_sip.c:20788 handle_response_peerpoke: Peer '115' is now Reachable. (882ms / 2000ms)

                            Comentario


                            • #15
                              Ok, según el error, dice que no tienes canales disponibles.

                              ¿Qué te arroja el "mfcr2 show channels" dentro del Asterisk CLI?

                              ¿Qué te arroja el "wanpipemon -i w1g1 -c Ta" dentro del Linux CLI?
                              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

                              Nube de Etiquetas

                              Colapsar

                              Principales Usuarios Activos

                              Colapsar

                              No hay usuarios activos superiores.
                              Trabajando...
                              X