[asterisk-users] asterisk+ fax-to-mail

Nadjia Boumédiène nboumediene at legos.fr
Tue Jul 29 08:45:04 CDT 2008


 

Hello,

 

I have asterisk 1.2.7 and I would like to install the fax-to-mail.

 

I already installed spandsp (2.25), app_rxfax, app_txfax and
app_makefile.patch , I rebuilt Asterisk but when I  send a fax, I don’t
receive it.

I have this:

 

-- Executing Set("SIP/0172292965-726e", "LANGUAGE()=fr") in new stack

    -- Executing SetVar("SIP/0172292965-726e", "FaxID=0172292965") in new
stack

    -- Executing Goto("SIP/0172292965-726e", "fax|0172292965|1") in new
stack

    -- Goto (fax,0172292965,1)

    -- Executing Macro("SIP/0172292965-726e", "faxreceive") in new stack

    -- Executing SetVar("SIP/0172292965-726e",
"FAXFILE=/var/spool/asterisk/fax/1217324795.1.tif") in new stack

    -- Executing DBget("SIP/0172292965-726e",
"EMAILADDR=extensionemail/0172292965") in new stack

    -- DBget: varname=EMAILADDR, family=extensionemail, key=0172292965

    -- DBget: Value not found in database.

    -- Executing SetVar("SIP/0172292965-726e",
"EMAILADDR=dflorella at legos.fr") in new stack

    -- Executing Goto("SIP/0172292965-726e", "3") in new stack

    -- Goto (macro-faxreceive,s,3)

    -- Executing RxFAX("SIP/0172292965-726e",
"/var/spool/asterisk/fax/1217324795.1.tif") in new stack

    -- Executing System("SIP/0172292965-726e", "/usr/sbin/mailfax
/var/spool/asterisk/fax/1217324795.1.tif dflorella at legos.fr 0146446439") in
new stack

  == Spawn extension (fax, h, 1) exited non-zero on 'SIP/0172292965-726e'

 

My file extensions.conf  is configured like this:

 

[macro-faxreceive]

exten => s,1,Answer()

exten => s,1,SetVar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif)

exten => s,2,DBGet(EMAILADDR=extensionemail/${MACRO_EXTEN})

exten => s,3,rxfax(${FAXFILE})

exten => s,103,SetVar(EMAILADDR=dflorella at legos.fr)

exten => s,104,Goto(3)

 

I hope somebody could help me !

 

Regards ,

 

Nadjia.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080729/84f930b7/attachment.htm 


More information about the asterisk-users mailing list