[Asterisk-Users] macro-faxreceive
Ronald Wiplinger
ronald at elmit.com
Mon Jan 23 05:38:54 MST 2006
Technical Support wrote:
> Check out www.generationd.com for their fax2mail and mail2fax scripts. It
> might make life simpler
>
There is no description how to set-up!
The scripts are working with asterisk, but how?
bye
Ronald Wiplinger
>
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ronald
> Wiplinger
> Sent: Sunday, January 22, 2006 9:56 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] macro-faxreceive
>
> How should be the macro rewritten?
>
>
> [macro-faxreceive]
> exten => s,1,Set(FAXFILE=/var/spool/asterisk-fax/${UNIQUEID}.tif)
> exten => s,2,DBGet(EMAILADDR=extensionemail/${MACRO_EXTEN})
> exten => s,3,rxfax(${FAXFILE})
> exten => s,103,Set(EMAILADDR=ronald at elmit.com)
> exten => s,104,Goto(3)
>
>
>
> ...
> [Jan 23 10:43:38] -- Executing Macro("Zap/3-1", "faxreceive") in new
> stack
> [Jan 23 10:43:38] -- Executing Set("Zap/3-1",
> "FAXFILE=/var/spool/asterisk-fax/1137984210.35.tif") in new stack [Jan 23
> 10:43:38] WARNING[25524]: pbx.c:1555 pbx_extension_helper: No application
> 'DBGet' for extension (macro-faxreceive, s, 2)
> [Jan 23 10:43:38] == Spawn extension (macro-faxreceive, s, 2) exited
> non-zero on 'Zap/3-1' in macro 'faxreceive'
> [Jan 23 10:43:38] == Spawn extension (fax, 2201, 1) exited non-zero on
> 'Zap/3-1'
> [Jan 23 10:43:38] -- Executing System("Zap/3-1",
> "/usr/local/sbin/mailfax /var/spool/asterisk-fax/1137984210.35.tif "
> "") in new stack
> [Jan 23 10:43:38] -- Hungup 'Zap/3-1'
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
More information about the asterisk-users
mailing list