tomsyr
Guru
- Joined
- Oct 26, 2007
- Messages
- 266
- Reaction score
- 1
I set up faxing is PiaF as per Ward's instructions. I needed to change the system fax number to a different #, but other then that, everything seems to be working except for the pdf file that gets set is 0 kb, and can't be opened - not that 0 kb would have anything anyway
.
The system keeps trying to resend the fax - here's the output from the Asterisk CLI:
== Parsing '/etc/asterisk/asterisk.conf': Found
Connected to Asterisk 1.4.21.2 currently running on syrPBX (pid = 3044)
Verbosity was 3 and is now 6
-- Accepting AUTHENTICATED call from 10.70.20.7:
> requested format = ulaw,
> requested prefs = (ulaw),
> actual format = ulaw,
> host prefs = (alaw|gsm|ulaw),
> priority = mine
-- Executing [279@from-internal:1] Answer("IAX2/syrpbx-3127", "") in new stack
-- Executing [279@from-internal:2] Wait("IAX2/syrpbx-3127", "1") in new stack
-- Executing [279@from-internal:3] PlayTones("IAX2/syrpbx-3127", "ring") in new stack
-- Executing [279@from-internal:4] NVFaxDetect("IAX2/syrpbx-3127", "5") in new stack
-- Executing [fax@from-internal:1] Goto("IAX2/syrpbx-3127", "ext-fax|in_fax|1") in new stack
-- Goto (ext-fax,in_fax,1)
-- Executing [in_fax@ext-fax:1] StopPlayTones("IAX2/syrpbx-3127", "") in new stack
-- Executing [in_fax@ext-fax:2] GotoIf("IAX2/syrpbx-3127", "1?3:analog_fax|1") in new stack
-- Goto (ext-fax,in_fax,3)
-- Executing [in_fax@ext-fax:3] Macro("IAX2/syrpbx-3127", "faxreceive") in new stack
-- Executing [s@macro-faxreceive:1] Set("IAX2/syrpbx-3127", "FAXFILE=/var/spool/asterisk/fax/1230040467.0.tif") in new stack
-- Executing [s@macro-faxreceive:2] Set("IAX2/syrpbx-3127", "[email protected]") in new stack
-- Executing [s@macro-faxreceive:3] RxFAX("IAX2/syrpbx-3127", "/var/spool/asterisk/fax/1230040467.0.tif") in new stack
-- Executing [h@ext-fax:1] System("IAX2/syrpbx-3127", "/var/lib/asterisk/bin/fax-process.pl --to [email protected] --from [email protected] --subject "Fax from 13156870014 " --attachment fax_13156870014.pdf --type application/pdf --file /var/spool/asterisk/fax/1230040467.0.tif") in new stack
-- Executing [h@ext-fax:2] System("IAX2/syrpbx-3127", "rm /var/spool/asterisk/fax/1230040467.0.tif") in new stack
-- Executing [h@ext-fax:3] Hangup("IAX2/syrpbx-3127", "") in new stack
== Spawn extension (ext-fax, h, 3) exited non-zero on 'IAX2/syrpbx-3127'
-- Hungup 'IAX2/syrpbx-3127'
syrPBX*CLI> Asterisk 1.4.21.2, Copyright (C) 1999 - 2008 Digium, Inc. and others.
No such command 'Asterisk 1.4.21.2, Copyright (C) 1999 - 2008 Digium, Inc. and others.' (type 'help Asterisk 1.4.21.2,' for other possible commands)
syrPBX*CLI> Created by Mark Spencer <[email protected]>
syrPBX*CLI> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
syrPBX*CLI> This is free software, with components licensed under the GNU General Public
syrPBX*CLI> License version 2 and other licenses; you are welcome to redistribute it under
Connected to Asterisk 1.4.21.2 currently running on syrPBX (pid = 3044)
syrPBX*CLI> certain conditions. Type 'core show license' for details.
syrPBX*CLI>
syrPBX*CLI> == Parsing '/etc/asterisk/asterisk.conf': Found
syrPBX*CLI> Connected to Asterisk 1.4.21.2 currently running on syrPBX (pid = 3044)
syrPBX*CLI> Verbosity was 3 and is now 6
syrPBX*CLI> -- Accepting AUTHENTICATED call from 10.70.20.7:
syrPBX*CLI> > requested format = ulaw,
No such command ' -- Accepting AUTHENTICATED call from 10.70.20.7:' (type 'help -- Accepting' for other possible commands)
No such command ' > requested format = ulaw,' (type 'help > requested' for other possible commands)
syrPBX*CLI> > requested prefs = (ulaw),
No such command ' > requested prefs = (ulaw),' (type 'help > requested' for other possible commands)
syrPBX*CLI> > actual format = ulaw,
No such command ' > actual format = ulaw,' (type 'help > actual' for other possible commands)
syrPBX*CLI> > host prefs = (alaw|gsm|ulaw),
No such command ' > host prefs = (alaw|gsm|ulaw),' (type 'help > host' for other possible commands)
syrPBX*CLI> > priority = mine
syrPBX*CLI> -- Executing [279@from-internal:1] Answer("IAX2/syrpbx-3127", "") in new stack
-- Executing [279@from-internal:2] Wait("IAX2/syrpbx-3127", "1") in new stack
syrPBX*CLI> -- Executing [279@from-internal:2] Wait("IAX2/syrpbx-3127", "1") in new stack
syrPBX*CLI> -- Executing [279@from-internal:3] PlayTones("IAX2/syrpbx-3127", "ring") in new stack
syrPBX*CLI> -- Executing [279@from-internal:4] NVFaxDetect("IAX2/syrpbx-3127", "5") in new stack
syrPBX*CLI> -- Executing [fax@from-internal:1] Goto("IAX2/syrpbx-3127", "ext-fax|in_fax|1") in new stack
syrPBX*CLI> -- Goto (ext-fax,in_fax,1)
syrPBX*CLI> -- Executing [in_fax@ext-fax:1] StopPlayTones("IAX2/syrpbx-3127", "") in new stack
syrPBX*CLI> -- Executing [in_fax@ext-fax:2] GotoIf("IAX2/syrpbx-3127", "13:analog_fax|1") in new stack
-- Executing [in_fax@ext-fax:3] Macro("IAX2/syrpbx-3127", "faxreceive") in new stack
syrPBX*CLI> -- Goto (ext-fax,in_fax,3)
syrPBX*CLI> -- Executing [in_fax@ext-fax:3] Macro("IAX2/syrpbx-3127", "faxreceive") in new stack
syrPBX*CLI> -- Executing [s@macro-faxreceive:1] Set("IAX2/syrpbx-3127", "FAXFILE=/var/spool/asterisk/fax/1230040467.0.tif") in new stack
syrPBX*CLI> -- Executing [s@macro-faxreceive:2] Set("IAX2/syrpbx-3127", "[email protected]") in new stack
syrPBX*CLI> -- Executing [s@macro-faxreceive:3] RxFAX("IAX2/syrpbx-3127", "/var/spool/asterisk/fax/1230040467.0.tif") in new stack
syrPBX*CLI> -- Executing [h@ext-fax:1] System("IAX2/syrpbx-3127", "/var/lib/asterisk/bin/fax-process.pl --to [email protected] --from [email protected] --subject "Fax from 13156870014 " --attachment fax_13156870014.pdf --type application/pdf --file /var/spool/asterisk/fax/1230040467.0.tif") in new stack
syrPBX*CLI> -- Executing [h@ext-fax:2] System("IAX2/syrpbx-3127", "rm /var/spool/asterisk/fax/1230040467.0.tif") in new stack
syrPBX*CLI> -- Executing [h@ext-fax:3] Hangup("IAX2/syrpbx-3127", "") in new stack
syrPBX*CLI> == Spawn extension (ext-fax, h, 3) exited non-zero on 'IAX2/syrpbx-3127'
syrPBX*CLI> -- Hungup 'IAX2/syrpbx-3127'
syrPBX*CLI> syrPBX*CLI>
Usage: _command nummatches "<line>" text
This function is used internally to help with command completion and should.
never be called by the user directly.
No such command ' -- Executing [in_fax@ext-fax:2] GotoIf("IAX2/syrpbx-3127", "13:analog_fax|1") in new stack' (type 'help -- Executing' for other possible commands)
No such command ' -- Goto (ext-fax,in_fax,3)' (type 'help -- Goto' for other possible commands)
No such command ' -- Executing [in_fax@ext-fax:3] Macro("IAX2/syrpbx-3127", "faxreceive") in new stack' (type 'help -- Executing' for other possible commands)
No such command ' -- Executing [s@macro-faxreceive:1] Set("IAX2/syrpbx-3127", "FAXFILE=/var/spool/asterisk/fax/1230040467.0.tif") in new stack' (type 'help -- Executing' for other possible commands)
No such command ' -- Executing [s@macro-faxreceive:2] Set("IAX2/syrpbx-3127", "[email protected]") in new stack' (type 'help -- Executing' for other possible commands)
No such command ' -- Executing [s@macro-faxreceive:3] RxFAX("IAX2/syrpbx-3127", "/var/spool/asterisk/fax/1230040467.0.tif") in new stack' (type 'help -- Executing' for other possible commands)
No such command ' -- Executing [h@ext-fax:1] System("IAX2/syrpbx-3127", "/var/lib/asterisk/bin/fax-
Due to not being able to post the entire CLI - I clipped off some of the above.
It keeps sending the same bad fax every 2 minutes.
I have this fax coming via a IAX channel from another Asterisk box. Please see this thread:
http://pbxinaflash.com/community/threads/multiple-fax-to-email-setups.2866/
I wanted to start a new thread for this problem.
Any help would be appreciated.
Thanks,
TomSyr.
.The system keeps trying to resend the fax - here's the output from the Asterisk CLI:
== Parsing '/etc/asterisk/asterisk.conf': Found
Connected to Asterisk 1.4.21.2 currently running on syrPBX (pid = 3044)
Verbosity was 3 and is now 6
-- Accepting AUTHENTICATED call from 10.70.20.7:
> requested format = ulaw,
> requested prefs = (ulaw),
> actual format = ulaw,
> host prefs = (alaw|gsm|ulaw),
> priority = mine
-- Executing [279@from-internal:1] Answer("IAX2/syrpbx-3127", "") in new stack
-- Executing [279@from-internal:2] Wait("IAX2/syrpbx-3127", "1") in new stack
-- Executing [279@from-internal:3] PlayTones("IAX2/syrpbx-3127", "ring") in new stack
-- Executing [279@from-internal:4] NVFaxDetect("IAX2/syrpbx-3127", "5") in new stack
-- Executing [fax@from-internal:1] Goto("IAX2/syrpbx-3127", "ext-fax|in_fax|1") in new stack
-- Goto (ext-fax,in_fax,1)
-- Executing [in_fax@ext-fax:1] StopPlayTones("IAX2/syrpbx-3127", "") in new stack
-- Executing [in_fax@ext-fax:2] GotoIf("IAX2/syrpbx-3127", "1?3:analog_fax|1") in new stack
-- Goto (ext-fax,in_fax,3)
-- Executing [in_fax@ext-fax:3] Macro("IAX2/syrpbx-3127", "faxreceive") in new stack
-- Executing [s@macro-faxreceive:1] Set("IAX2/syrpbx-3127", "FAXFILE=/var/spool/asterisk/fax/1230040467.0.tif") in new stack
-- Executing [s@macro-faxreceive:2] Set("IAX2/syrpbx-3127", "[email protected]") in new stack
-- Executing [s@macro-faxreceive:3] RxFAX("IAX2/syrpbx-3127", "/var/spool/asterisk/fax/1230040467.0.tif") in new stack
-- Executing [h@ext-fax:1] System("IAX2/syrpbx-3127", "/var/lib/asterisk/bin/fax-process.pl --to [email protected] --from [email protected] --subject "Fax from 13156870014 " --attachment fax_13156870014.pdf --type application/pdf --file /var/spool/asterisk/fax/1230040467.0.tif") in new stack
-- Executing [h@ext-fax:2] System("IAX2/syrpbx-3127", "rm /var/spool/asterisk/fax/1230040467.0.tif") in new stack
-- Executing [h@ext-fax:3] Hangup("IAX2/syrpbx-3127", "") in new stack
== Spawn extension (ext-fax, h, 3) exited non-zero on 'IAX2/syrpbx-3127'
-- Hungup 'IAX2/syrpbx-3127'
syrPBX*CLI> Asterisk 1.4.21.2, Copyright (C) 1999 - 2008 Digium, Inc. and others.
No such command 'Asterisk 1.4.21.2, Copyright (C) 1999 - 2008 Digium, Inc. and others.' (type 'help Asterisk 1.4.21.2,' for other possible commands)
syrPBX*CLI> Created by Mark Spencer <[email protected]>
syrPBX*CLI> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
syrPBX*CLI> This is free software, with components licensed under the GNU General Public
syrPBX*CLI> License version 2 and other licenses; you are welcome to redistribute it under
Connected to Asterisk 1.4.21.2 currently running on syrPBX (pid = 3044)
syrPBX*CLI> certain conditions. Type 'core show license' for details.
syrPBX*CLI>
syrPBX*CLI> == Parsing '/etc/asterisk/asterisk.conf': Found
syrPBX*CLI> Connected to Asterisk 1.4.21.2 currently running on syrPBX (pid = 3044)
syrPBX*CLI> Verbosity was 3 and is now 6
syrPBX*CLI> -- Accepting AUTHENTICATED call from 10.70.20.7:
syrPBX*CLI> > requested format = ulaw,
No such command ' -- Accepting AUTHENTICATED call from 10.70.20.7:' (type 'help -- Accepting' for other possible commands)
No such command ' > requested format = ulaw,' (type 'help > requested' for other possible commands)
syrPBX*CLI> > requested prefs = (ulaw),
No such command ' > requested prefs = (ulaw),' (type 'help > requested' for other possible commands)
syrPBX*CLI> > actual format = ulaw,
No such command ' > actual format = ulaw,' (type 'help > actual' for other possible commands)
syrPBX*CLI> > host prefs = (alaw|gsm|ulaw),
No such command ' > host prefs = (alaw|gsm|ulaw),' (type 'help > host' for other possible commands)
syrPBX*CLI> > priority = mine
syrPBX*CLI> -- Executing [279@from-internal:1] Answer("IAX2/syrpbx-3127", "") in new stack
-- Executing [279@from-internal:2] Wait("IAX2/syrpbx-3127", "1") in new stack
syrPBX*CLI> -- Executing [279@from-internal:2] Wait("IAX2/syrpbx-3127", "1") in new stack
syrPBX*CLI> -- Executing [279@from-internal:3] PlayTones("IAX2/syrpbx-3127", "ring") in new stack
syrPBX*CLI> -- Executing [279@from-internal:4] NVFaxDetect("IAX2/syrpbx-3127", "5") in new stack
syrPBX*CLI> -- Executing [fax@from-internal:1] Goto("IAX2/syrpbx-3127", "ext-fax|in_fax|1") in new stack
syrPBX*CLI> -- Goto (ext-fax,in_fax,1)
syrPBX*CLI> -- Executing [in_fax@ext-fax:1] StopPlayTones("IAX2/syrpbx-3127", "") in new stack
syrPBX*CLI> -- Executing [in_fax@ext-fax:2] GotoIf("IAX2/syrpbx-3127", "13:analog_fax|1") in new stack
-- Executing [in_fax@ext-fax:3] Macro("IAX2/syrpbx-3127", "faxreceive") in new stack
syrPBX*CLI> -- Goto (ext-fax,in_fax,3)
syrPBX*CLI> -- Executing [in_fax@ext-fax:3] Macro("IAX2/syrpbx-3127", "faxreceive") in new stack
syrPBX*CLI> -- Executing [s@macro-faxreceive:1] Set("IAX2/syrpbx-3127", "FAXFILE=/var/spool/asterisk/fax/1230040467.0.tif") in new stack
syrPBX*CLI> -- Executing [s@macro-faxreceive:2] Set("IAX2/syrpbx-3127", "[email protected]") in new stack
syrPBX*CLI> -- Executing [s@macro-faxreceive:3] RxFAX("IAX2/syrpbx-3127", "/var/spool/asterisk/fax/1230040467.0.tif") in new stack
syrPBX*CLI> -- Executing [h@ext-fax:1] System("IAX2/syrpbx-3127", "/var/lib/asterisk/bin/fax-process.pl --to [email protected] --from [email protected] --subject "Fax from 13156870014 " --attachment fax_13156870014.pdf --type application/pdf --file /var/spool/asterisk/fax/1230040467.0.tif") in new stack
syrPBX*CLI> -- Executing [h@ext-fax:2] System("IAX2/syrpbx-3127", "rm /var/spool/asterisk/fax/1230040467.0.tif") in new stack
syrPBX*CLI> -- Executing [h@ext-fax:3] Hangup("IAX2/syrpbx-3127", "") in new stack
syrPBX*CLI> == Spawn extension (ext-fax, h, 3) exited non-zero on 'IAX2/syrpbx-3127'
syrPBX*CLI> -- Hungup 'IAX2/syrpbx-3127'
syrPBX*CLI> syrPBX*CLI>
Usage: _command nummatches "<line>" text
This function is used internally to help with command completion and should.
never be called by the user directly.
No such command ' -- Executing [in_fax@ext-fax:2] GotoIf("IAX2/syrpbx-3127", "13:analog_fax|1") in new stack' (type 'help -- Executing' for other possible commands)
No such command ' -- Goto (ext-fax,in_fax,3)' (type 'help -- Goto' for other possible commands)
No such command ' -- Executing [in_fax@ext-fax:3] Macro("IAX2/syrpbx-3127", "faxreceive") in new stack' (type 'help -- Executing' for other possible commands)
No such command ' -- Executing [s@macro-faxreceive:1] Set("IAX2/syrpbx-3127", "FAXFILE=/var/spool/asterisk/fax/1230040467.0.tif") in new stack' (type 'help -- Executing' for other possible commands)
No such command ' -- Executing [s@macro-faxreceive:2] Set("IAX2/syrpbx-3127", "[email protected]") in new stack' (type 'help -- Executing' for other possible commands)
No such command ' -- Executing [s@macro-faxreceive:3] RxFAX("IAX2/syrpbx-3127", "/var/spool/asterisk/fax/1230040467.0.tif") in new stack' (type 'help -- Executing' for other possible commands)
No such command ' -- Executing [h@ext-fax:1] System("IAX2/syrpbx-3127", "/var/lib/asterisk/bin/fax-
Due to not being able to post the entire CLI - I clipped off some of the above.
It keeps sending the same bad fax every 2 minutes.
I have this fax coming via a IAX channel from another Asterisk box. Please see this thread:
http://pbxinaflash.com/community/threads/multiple-fax-to-email-setups.2866/
I wanted to start a new thread for this problem.
Any help would be appreciated.
Thanks,
TomSyr.
Last edited by a moderator:
