According to 3.1.2 in "Fax For Asterisk Administrator Manual" (http://www.digium.com/sites/digium/file ... manual.pdf) there should be possible to send multiple fax files:
<filename> : Full path to the TIFF image to transmit. If sending multiple fax files, append each additional full path using the ampersand (&).
This is what a get in Asterisk CLI:
- Code: Select all
Connected to Asterisk 184.108.40.206 currently running on enera-voip-appliance (pid = 782)
Verbosity is at least 3I>
== Using SIP RTP CoS mark 5
-- Executing [s@outgoing:1] Set("SIP/f_digium-00000002", "GROUP()=voipchannels") in new stack
-- Executing [s@outgoing:2] Set("SIP/f_digium-00000002", "LOCAL_SSRC=1032223629") in new stack
-- Executing [s@outgoing:3] BackGround("SIP/f_digium-00000002", "silence/25ms") in new stack
-- <SIP/f_digium-00000002> Playing 'silence/25ms.slin' (language 'en')
-- Executing [s@outgoing:4] GotoIf("SIP/f_digium-00000002", "1?beginagi") in new stack
-- Goto (outgoing,s,6)
-- Executing [s@outgoing:6] AGI("SIP/f_digium-00000002", "agi:async") in new stack
-- AGI Script Executing Application: (SendFax) Options: (/var/asterisk/linehandler/faxcache/d/enera/rapidreach/rrs/subscribers/836/1161/messages/bre/faxpage4.tif&/var/asterisk/linehandler/faxcache/d/enera/rapidreach/rrs/subscribers/836/1161/messages/bre/faxpage5.tif)
[Aug 20 11:18:02] ERROR: res_fax.c:1290 sendfax_exec: access failure. Verify '/var/asterisk/linehandler/faxcache/d/enera/rapidreach/rrs/subscribers/836/1161/messages/bre/faxpage4.tif&/var/asterisk/linehandler/faxcache/d/enera/rapidreach/rrs/subscribers/836/1161/messages/bre/faxpage5.tif' exists and check permissions.
== Spawn extension (outgoing, s, 6) exited non-zero on 'SIP/f_digium-00000002'
The problem seems to be that the filename is interpreted as one filename instead of multiple filname with & as the delimiter.