Cursos Asterisk en México

Actualizar modulos de FreePBX por consola

Colapsar

Anuncio

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

  • Actualizar modulos de FreePBX por consola

    Hola,

    He realizado la sincronizacion entre dos Centrales con FreePBX 13 (Una Master y la otra Slave), al realizar la sincronizacion entre la base de datos y a nivel web (GUI) todo marcha bien, el inconveniente que tengo es que al realizar las llamadas desde la PBX Slave todas las extensiones se escuchan ocupada.

    Para solucionar esto me he dado cuento que tengo que hacer algún cambio en FreePBX por la interfaz web para que funcionen las extensiones.

    La pregunta que tengo es si alguien sabe como ejecutar el boton de "Submit" y el boton "Apply Config" que aparece en al hacer cambio en FreePBX por consola ?



    Saludos.

  • #2
    Son 2 comandos:

    Para regenerar la configuración:
    /var/lib/asterisk/bin/retrieve_conf

    Para decirle a Asterisk que recargue todo:
    /usr/sbin/asterisk -rx "module reload"

    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,

      Gracias por la informacion, al aplicar los comando que me indicas solo puedo llamar desde una extensión hacia otra (8008 --> 8009) pero viceversa no. Favor de verificar que estoy haciendo mal.

      Este es el verb que me arroja
      == Using SIP RTP TOS bits 184
      == Using SIP RTP CoS mark 5
      > 0x1a52fe0 -- Strict RTP learning after remote address set to: 192.168.88.249:5004
      -- Executing [8009@from-internal:1] GotoIf("SIP/8008-00000010", "1?ext-local,8009,1:followme-check,8009,1") in new stack
      -- Goto (ext-local,8009,1)
      -- Executing [8009@ext-local:1] Set("SIP/8008-00000010", "__RINGTIMER=15") in new stack
      -- Executing [8009@ext-local:2] Macro("SIP/8008-00000010", "exten-vm,novm,8009,0,0,0") in new stack
      -- Executing [s@macro-exten-vm:1] Macro("SIP/8008-00000010", "user-callerid,") in new stack
      -- Executing [s@macro-user-callerid:1] Set("SIP/8008-00000010", "TOUCH_MONITOR=1517343630.16") in new stack
      -- Executing [s@macro-user-callerid:2] Set("SIP/8008-00000010", "AMPUSER=8008") in new stack
      -- Executing [s@macro-user-callerid:3] GotoIf("SIP/8008-00000010", "0?report") in new stack
      -- Executing [s@macro-user-callerid:4] ExecIf("SIP/8008-00000010", "1?Set(REALCALLERIDNUM=8008)") in new stack
      -- Executing [s@macro-user-callerid:5] Set("SIP/8008-00000010", "AMPUSER=8008") in new stack
      -- Executing [s@macro-user-callerid:6] GotoIf("SIP/8008-00000010", "0?limit") in new stack
      -- Executing [s@macro-user-callerid:7] Set("SIP/8008-00000010", "AMPUSERCIDNAME=8008") in new stack
      -- Executing [s@macro-user-callerid:8] GotoIf("SIP/8008-00000010", "0?report") in new stack
      -- Executing [s@macro-user-callerid:9] Set("SIP/8008-00000010", "AMPUSERCID=8008") in new stack
      -- Executing [s@macro-user-callerid:10] Set("SIP/8008-00000010", "__DIAL_OPTIONS=Ttr") in new stack
      -- Executing [s@macro-user-callerid:11] Set("SIP/8008-00000010", "CALLERID(all)="8008" <8008>") in new stack
      -- Executing [s@macro-user-callerid:12] GotoIf("SIP/8008-00000010", "0?limit") in new stack
      -- Executing [s@macro-user-callerid:13] ExecIf("SIP/8008-00000010", "0?Set(GROUP(concurrency_limit)=8008)") in new stack
      -- Executing [s@macro-user-callerid:14] NoOp("SIP/8008-00000010", "Macro Depth is 2") in new stack
      -- Executing [s@macro-user-callerid:15] GotoIf("SIP/8008-00000010", "1?report2:macroerror") in new stack
      -- Goto (macro-user-callerid,s,16)
      -- Executing [s@macro-user-callerid:16] GotoIf("SIP/8008-00000010", "0?continue") in new stack
      -- Executing [s@macro-user-callerid:17] Set("SIP/8008-00000010", "__TTL=64") in new stack
      -- Executing [s@macro-user-callerid:18] GotoIf("SIP/8008-00000010", "1?continue") in new stack
      -- Goto (macro-user-callerid,s,34)
      -- Executing [s@macro-user-callerid:34] Set("SIP/8008-00000010", "CALLERID(number)=8008") in new stack
      -- Executing [s@macro-user-callerid:35] Set("SIP/8008-00000010", "CALLERID(name)=8008") in new stack
      -- Executing [s@macro-user-callerid:36] GotoIf("SIP/8008-00000010", "0?cnum") in new stack
      -- Executing [s@macro-user-callerid:37] Set("SIP/8008-00000010", "CDR(cnam)=8008") in new stack
      -- Executing [s@macro-user-callerid:38] Set("SIP/8008-00000010", "CDR(cnum)=8008") in new stack
      -- Executing [s@macro-user-callerid:39] Set("SIP/8008-00000010", "CHANNEL(language)=en") in new stack
      -- Executing [s@macro-exten-vm:2] Set("SIP/8008-00000010", "RingGroupMethod=none") in new stack
      -- Executing [s@macro-exten-vm:3] Set("SIP/8008-00000010", "__EXTTOCALL=8009") in new stack
      -- Executing [s@macro-exten-vm:4] Set("SIP/8008-00000010", "__PICKUPMARK=8009") in new stack
      -- Executing [s@macro-exten-vm:5] Set("SIP/8008-00000010", "RT=") in new stack
      -- Executing [s@macro-exten-vm:6] Gosub("SIP/8008-00000010", "sub-record-check,s,1(exten,8009,dontcare)") in new stack
      -- Executing [s@sub-record-check:1] GotoIf("SIP/8008-00000010", "0?initialized") in new stack
      -- Executing [s@sub-record-check:2] Set("SIP/8008-00000010", "__REC_STATUS=INITIALIZED") in new stack
      -- Executing [s@sub-record-check:3] Set("SIP/8008-00000010", "NOW=1517343630") in new stack
      -- Executing [s@sub-record-check:4] Set("SIP/8008-00000010", "__DAY=30") in new stack
      -- Executing [s@sub-record-check:5] Set("SIP/8008-00000010", "__MONTH=01") in new stack
      -- Executing [s@sub-record-check:6] Set("SIP/8008-00000010", "__YEAR=2018") in new stack
      -- Executing [s@sub-record-check:7] Set("SIP/8008-00000010", "__TIMESTR=20180130-162030") in new stack
      -- Executing [s@sub-record-check:8] Set("SIP/8008-00000010", "__FROMEXTEN=8008") in new stack
      -- Executing [s@sub-record-check:9] Set("SIP/8008-00000010", "__MON_FMT=wav") in new stack
      -- Executing [s@sub-record-check:10] NoOp("SIP/8008-00000010", "Recordings initialized") in new stack
      -- Executing [s@sub-record-check:11] ExecIf("SIP/8008-00000010", "0?Set(ARG3=dontcare)") in new stack
      -- Executing [s@sub-record-check:12] Set("SIP/8008-00000010", "REC_POLICY_MODE_SAVE=") in new stack
      -- Executing [s@sub-record-check:13] ExecIf("SIP/8008-00000010", "0?Set(REC_STATUS=NO)") in new stack
      -- Executing [s@sub-record-check:14] GotoIf("SIP/8008-00000010", "5?checkaction") in new stack
      -- Goto (sub-record-check,s,17)
      -- Executing [s@sub-record-check:17] GotoIf("SIP/8008-00000010", "1?sub-record-check,exten,1") in new stack
      -- Goto (sub-record-check,exten,1)
      -- Executing [exten@sub-record-check:1] NoOp("SIP/8008-00000010", "Exten Recording Check between 8008 and 8009") in new stack
      -- Executing [exten@sub-record-check:2] Set("SIP/8008-00000010", "CALLTYPE=internal") in new stack
      -- Executing [exten@sub-record-check:3] ExecIf("SIP/8008-00000010", "0?Set(CALLTYPE=)") in new stack
      -- Executing [exten@sub-record-check:4] Set("SIP/8008-00000010", "CALLEE=") in new stack
      -- Executing [exten@sub-record-check:5] ExecIf("SIP/8008-00000010", "1?Set(CALLEE=dontcare)") in new stack
      -- Executing [exten@sub-record-check:6] GotoIf("SIP/8008-00000010", "0?callee") in new stack
      -- Executing [exten@sub-record-check:7] GotoIf("SIP/8008-00000010", "1?caller") in new stack
      -- Goto (sub-record-check,exten,13)
      -- Executing [exten@sub-record-check:13] Set("SIP/8008-00000010", "RECMODE=dontcare") in new stack
      -- Executing [exten@sub-record-check:14] ExecIf("SIP/8008-00000010", "0?Set(RECMODE=dontcare)") in new stack
      -- Executing [exten@sub-record-check:15] ExecIf("SIP/8008-00000010", "1?Set(RECMODE=dontcare)") in new stack
      -- Executing [exten@sub-record-check:16] Gosub("SIP/8008-00000010", "recordcheck,1(dontcare,internal,8009)") in new stack
      -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/8008-00000010", "Starting recording check against dontcare") in new stack
      -- Executing [recordcheck@sub-record-check:2] Goto("SIP/8008-00000010", "dontcare") in new stack
      -- Goto (sub-record-check,recordcheck,3)
      -- Executing [recordcheck@sub-record-check:3] Return("SIP/8008-00000010", "") in new stack
      -- Executing [exten@sub-record-check:17] Return("SIP/8008-00000010", "") in new stack
      -- Executing [s@macro-exten-vm:7] GotoIf("SIP/8008-00000010", "1?macrodial") in new stack
      -- Goto (macro-exten-vm,s,13)
      -- Executing [s@macro-exten-vm:13] GosubIf("SIP/8008-00000010", "0?clrheader,1()") in new stack
      -- Executing [s@macro-exten-vm:14] Macro("SIP/8008-00000010", "dial-one,,Ttr,8009") in new stack
      -- Executing [s@macro-dial-one:1] Set("SIP/8008-00000010", "DEXTEN=8009") in new stack
      -- Executing [s@macro-dial-one:2] ExecIf("SIP/8008-00000010", "0?Set(EXTTOCALL=8009)") in new stack
      -- Executing [s@macro-dial-one:3] Set("SIP/8008-00000010", "DIALSTATUS_CW=") in new stack
      -- Executing [s@macro-dial-one:4] GosubIf("SIP/8008-00000010", "0?screen,1()") in new stack
      -- Executing [s@macro-dial-one:5] GosubIf("SIP/8008-00000010", "0?cf,1()") in new stack
      -- Executing [s@macro-dial-one:6] GotoIf("SIP/8008-00000010", "1?skip1") in new stack
      -- Goto (macro-dial-one,s,9)
      -- Executing [s@macro-dial-one:9] GotoIf("SIP/8008-00000010", "0?nodial") in new stack
      -- Executing [s@macro-dial-one:10] GotoIf("SIP/8008-00000010", "0?continue") in new stack
      -- Executing [s@macro-dial-one:11] Set("SIP/8008-00000010", "EXTHASCW=") in new stack
      -- Executing [s@macro-dial-one:12] GotoIf("SIP/8008-00000010", "1?next1:cwinusebusy") in new stack
      -- Goto (macro-dial-one,s,13)
      -- Executing [s@macro-dial-one:13] GotoIf("SIP/8008-00000010", "0?docfu:skip3") in new stack
      -- Goto (macro-dial-one,s,17)

      Comentario


      • #4
        Christian, se me olvidaba paserte el archivo con el verbo completo aqui esta.

        Gracias.
        Archivos Adjuntos

        Comentario


        • #5
          Al parecer no quedó bien subido el archivo. Súbelo a pastebin.org y pasa la liga para poder observarlo. Recuerda separar entre los intentos de llamada que funcionan y los que no para tener una mejor apreciación.
          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


          • #6

            Comentario


            • #7
              Christian, le envio el link por dropbox

              Comentario


              • #8
                En el archivo que compartiste no se ve siquiera el intento de la 8009 --> 8008, que es la que no te funciona.
                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

                Principales Usuarios Activos

                Colapsar

                No hay usuarios activos superiores.
                Trabajando...
                X