Hola gente...
he incorporado la funcionalidad de recepcion de Fax, por medio de spandsp.
Me baje spandsp 0.0.2-pre4, fue la unica que me compilo sin problemas.
y recompile Asterisk para que tome las aplicaciones de rxfax y txfax.
Por el momento, llamo a una exten, donde esta la apps del fax, y luego con un par de scripts me llega el fax por mail.
Pero el problema es que me llega cortado, osea no me llega toda la hoja que paso por el fax, solo me llegan un par de lineas de la hoja.... Que puede ser.
aqui les muestro como recibo el fax.
Gracias.
-- Executing Answer("Zap/1-1", "") in new stack
-- Executing Wait("Zap/1-1", "1") in new stack
-- Executing BackGround("Zap/1-1", "hola") in new stack
-- Playing 'hola' (language 'en')
-- Executing DigitTimeout("Zap/1-1", "4") in new stack
-- Set Digit Timeout to 4
-- Executing ResponseTimeout("Zap/1-1", "4") in new stack
-- Set Response Timeout to 4
-- Invalid extension '11' in context 'incoming' on Zap/1-1
== CDR updated on Zap/1-1
-- Executing Playback("Zap/1-1", "invalid") in new stack
-- Playing 'invalid' (language 'en')
== CDR updated on Zap/1-1
-- Executing Macro("Zap/1-1", "faxreceive") in new stack
-- Executing SetVar("Zap/1-1", "FAXFILE=/var/spool/asterisk/fax/1102955676.0") in new stack
-- Executing DBget("Zap/1-1", "EXTEMAIL=123/xEmail") in new stack
-- DBget: varname=EXTEMAIL, family=123, key=xEmail
-- DBget: Value not found in database.
-- Executing SetVar("Zap/1-1", "EXTMAIL=info@techgold.com.ar") in new stack
-- Executing Goto("Zap/1-1", "7") in new stack
-- Goto (macro-faxreceive,s,7)
-- Executing RxFAX("Zap/1-1", "/var/spool/asterisk/fax/1102955676.0.tif") in new stack
DCS with final frame tag
In state 9
Coarse carrier frequency 1716.68 (48)
Coarse carrier frequency 1699.97 (66)
Training error 0.624837
Training succeeded (constellation mismatch 0.655063)
Start rx document
Start rx page - compression 2
Coarse carrier frequency 1699.82 (66)
Training error 0.623033
Training succeeded (constellation mismatch 0.831510)
EOP with final frame tag
In state 5
DCN with final frame tag
In state 8
-- Executing System("Zap/1-1", "/var/lib/asterisk/scripts/mailfax "" "" "" "" "/var/spool/asterisk/fax/1102955676.0" """) in new stack
Dec 13 13:35:55 sonic sendEmail: Email was sent successfully! From: conmutador@virtualfon.com.ar To: maxi@virtualfon.com.ar Subject: [Nuevo Fax Recibido] Attachment(s): [1102955676.0.tif] Server: [localhost:25]
-- Hungup 'Zap/1-1'