[Asterisk-Users] macro-faxreceive
Technical Support
support at ocg.ca
Sun Jan 22 20:17:33 MST 2006
Check out www.generationd.com for their fax2mail and mail2fax scripts. It
might make life simpler
-----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
More information about the asterisk-users
mailing list