Cursos Asterisk en México

Problema con Recepcion de Faxes al System Fax

Colapsar

Anuncio

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

  • Problema con Recepcion de Faxes al System Fax

    Buenos dias anteriormente habia estado recibiendo Faxes de clientes con el sistema que trae Asterisk pero ahora que actualice a la version 2.10 de Freepbx (lo instale desde el iso) no he podido hacer que me lleguen los faxes al correo, ya puse el correo a donde quiero que se envien y el system fax esta habilitado, me puse a revisar el CLI y vi dos cosas que me llamaron la atencion un de las lineas me indica esto:

    WARNING[13887]: res_fax_spandsp.c:369 spandsp_log: WARNING T.30 Non-ECM carrier not found

    y unas lineas despues:
    Executing [s@ext-fax:5] ExecIf("SIP/128-00005ec5", "0?Set(FAXSTATUS="FAILED: error: statusstr: OK")") in new stack


    Este es el log completo:

    == Extension Changed 128[ext-local] new state InUse for Notify User 106
    -- Executing [666@from-internal:1] Set("SIP/128-00005ec5", "FAX_RX_EMAIL=soporte@pad.com.mx") in new stack
    -- Executing [666@from-internal:2] Goto("SIP/128-00005ec5", "ext-fax,s,1") in new stack
    -- Goto (ext-fax,s,1)
    -- Executing [s@ext-fax:1] Macro("SIP/128-00005ec5", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/128-00005ec5", "AMPUSER=128") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/128-00005ec5", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/128-00005ec5", "1?Set(REALCALLERIDNUM=128)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/128-00005ec5", "AMPUSER=128") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/128-00005ec5", "AMPUSERCIDNAME=RECIBOS/Carlos Alarcon") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/128-00005ec5", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/128-00005ec5", "AMPUSERCID=128") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/128-00005ec5", "CALLERID(all)="RECIBOS/Carlos Alarcon" <128>") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("SIP/128-00005ec5", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:10] ExecIf("SIP/128-00005ec5", "0?Set(GROUP(concurrency_limit)=128)") in new stack
    -- Executing [s@macro-user-callerid:11] GosubIf("SIP/128-00005ec5", "7?sub-ccss,s,1(ext-fax,666)") in new stack
    -- Executing [s@sub-ccss:1] ExecIf("SIP/128-00005ec5", "0?Return()") in new stack
    -- Executing [s@sub-ccss:2] Set("SIP/128-00005ec5", "CCSS_SETUP=TRUE") in new stack
    -- Executing [s@sub-ccss:3] GosubIf("SIP/128-00005ec5", "0?monitor_config,1(ext-fax,666):monitor_default,1(ext-fax,666)") in new stack
    -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/128-00005ec5", "0?is_exten") in new stack
    -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/128-00005ec5", "") in new stack
    -- Executing [monitor_default@sub-ccss:3] Return("SIP/128-00005ec5", "FALSE") in new stack
    -- Executing [s@macro-user-callerid:12] ExecIf("SIP/128-00005ec5", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:13] GotoIf("SIP/128-00005ec5", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:14] Set("SIP/128-00005ec5", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/128-00005ec5", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,26)
    -- Executing [s@macro-user-callerid:26] Set("SIP/128-00005ec5", "CALLERID(number)=128") in new stack
    -- Executing [s@macro-user-callerid:27] Set("SIP/128-00005ec5", "CALLERID(name)=RECIBOS/Carlos Alarcon") in new stack
    -- Executing [s@macro-user-callerid:28] Set("SIP/128-00005ec5", "CHANNEL(language)=es") in new stack
    -- Executing [s@ext-fax:2] NoOp("SIP/128-00005ec5", "Receiving Fax for: soporte@pad.com.mx , From: "RECIBOS/Carlos Alarcon" <128>") in new stack
    -- Executing [s@ext-fax:3] StopPlayTones("SIP/128-00005ec5", "") in new stack
    -- Executing [s@ext-fax:4] ReceiveFAX("SIP/128-00005ec5", "/var/spool/asterisk/fax/1378922874.31196.tif,f") in new stack
    -- Channel 'SIP/128-00005ec5' receiving FAX '/var/spool/asterisk/fax/1378922874.31196.tif'
    [2013-09-11 12:08:06] WARNING[13887]: res_fax_spandsp.c:369 spandsp_log: WARNING T.30 Non-ECM carrier not found
    -- Executing [s@ext-fax:5] ExecIf("SIP/128-00005ec5", "0?Set(FAXSTATUS="FAILED: error: statusstr: OK")") in new stack
    -- Executing [s@ext-fax:6] Hangup("SIP/128-00005ec5", "") in new stack
    == Spawn extension (ext-fax, s, 6) exited non-zero on 'SIP/128-00005ec5'
    -- Executing [h@ext-fax:1] GotoIf("SIP/128-00005ec5", "0?failed") in new stack
    -- Executing [h@ext-fax:2] GotoIf("SIP/128-00005ec5", "0?noemail") in new stack
    -- Executing [h@ext-fax:3] Set("SIP/128-00005ec5", "DELETE_AFTER_SEND=true") in new stack
    -- Executing [h@ext-fax:4] System("SIP/128-00005ec5", "/var/lib/asterisk/bin/fax2mail.php --to "soporte@pad.com.mx" --dest "" --callerid '"RECIBOS/Carlos Alarcon" <128>' --file /var/spool/asterisk/fax/1378922874.31196.tif --exten "" --delete "true"") in new stack
    -- Executing [h@ext-fax:5] Macro("SIP/128-00005ec5", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/128-00005ec5", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("SIP/128-00005ec5", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("SIP/128-00005ec5", "") in new stack
    == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/128-00005ec5' in macro 'hangupcall'
    == Spawn extension (ext-fax, h, 5) exited non-zero on 'SIP/128-00005ec5'
    == Extension Changed 128[ext-local] new state Idle for Notify User 106


    Alguien sabe si hay algun error conocido o soy solo yo que tengo algo mal configurado en esta version, en las versiones anteriores no tuve problemas para recibir los faxes desde las lineas analogicas, Gracias de antemano.

  • #2
    Probablemente aqui encuentres algo de ayuda...



    prueba tambien con agregar en sip.conf:
    rtpkeepalive=5
    Hector Alvarez
    dCAP Certified #2199
    http://mx.linkedin.com/in/alvarezhector/

    Comentario


    • #3
      Bueno a final de cuentas no fue que no se estuviera recibiendo el fax sino que yo no tenia configurado correctamente el envío de correos en postfix, escribo aquí una configuración de ejemplo que es la que use para resolver el problema, esto es en un Freepbx 2.10, Saludos.

      nano /etc/postfix/sasl_passwd
      Add line: smtp.gmail.com:25 (username)@gmail.compassword)

      nano /etc/postfix/main.cf
      Add lines: relayhost=smtp.gmail.com:587
      smtp_use_tls = yes
      smtp_sasl_auth_enable = yes
      smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
      smtp_sasl_security_options = noanonymous

      then
      Run: postmap /etc/postfix/sasl_passwd
      Run: /etc/init.d/postfix restart

      Comentario


      • #4
        Por cierto alguien sabe porque este post no sale junto con los demas en el foro? tuve que buscarlos desde mi cuenta y lo puse ayer, saludos.

        Comentario

        Principales Usuarios Activos

        Colapsar

        No hay usuarios activos superiores.
        Trabajando...
        X