[asterisk-users] Asterisk core dumping on SendFax with FFA

2010-07-15 Thread Ilmars Knipšis


Hello!

This has already been fixed in recent releases of FFA; there was a bug
previously where the module would cause Asterisk to crash if a document
to be sent could not be queued (for one of many reasons).

OK, happy to hear, but when or where the recent release of FFA will be 
available?

Does commercial Fax For Asterix is free of that problem?

Thanks
Ilmars.


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk core dumping on SendFax with FFA

2010-07-15 Thread Kevin P. Fleming
On 07/15/2010 07:15 AM, Ilmars Knipšis wrote:
 
 
 Hello!
 
 This has already been fixed in recent releases of FFA; there was a bug
 previously where the module would cause Asterisk to crash if a document
 to be sent could not be queued (for one of many reasons).
 
 OK, happy to hear, but when or where the recent release of FFA will be 
 available?

This problem was fixed in 1.2.0 as far as I know; if you are
experiencing that problem with the release available on
downloads.digium.com, you need to report it to Digium Support.

 Does commercial Fax For Asterix is free of that problem?

You are already using 'commercial' Fax for Asterisk (not Asterix).

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kflem...@digium.com
Check us out at www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Asterisk core dumping on SendFax with FFA

2010-07-14 Thread Ilmars Knipšis

 Hi !

I have the same problem with the latest asterisk and FFA.
Does anybody know how to eliminate the situations when this problem occurs?

I looked in the Digium download section and found just old 
res_fax_digium version 1.2.0.

Is there any chance to get driver update?


Thanks!
--

*Ilmars*

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Asterisk core dumping on SendFax with FFA

2010-07-14 Thread Ilmars Knipšis
   Hello again!

Just info what we discovered if anybody gets the same problem.
The reason is fax file (.tiff) resolution.
If you try to improve fax quality by raising resolution then * crashes 
with core dump.

Best,
-- 

*Ilmars*

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk core dumping on SendFax with FFA

2010-07-14 Thread Kevin P. Fleming
On 07/14/2010 01:16 PM, Ilmars Knipšis wrote:
Hello again!
 
 Just info what we discovered if anybody gets the same problem.
 The reason is fax file (.tiff) resolution.
 If you try to improve fax quality by raising resolution then * crashes 
 with core dump.

This has already been fixed in recent releases of FFA; there was a bug
previously where the module would cause Asterisk to crash if a document
to be sent could not be queued (for one of many reasons).

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kflem...@digium.com
Check us out at www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Asterisk core dumping on SendFax with FFA

2010-05-12 Thread Ben Dinnerville
Hi All,

I seem to have stumbled on a bit of a problem. When trying to send a fax 
with Fax For Asterisk on 1.6.2.x (have tried 1.6.2.5, 1.6.2.7 and the 
current svn version, with FFA 1.2 I get a core dump each time.

Here is an extract form the console:

[May 12 22:47:09] DEBUG[22584]: app_queue.c:1084 handle_statechange: 
Device 'SIP/vltb-sbc01' changed to state '1' (Not in use) but we don't 
care because they're not a member of any queue.
[May 12 22:47:09] DEBUG[22725]: pbx.c:3692 pbx_extension_helper: 
Launching 'Set'
 -- Executing [...@tbsendfax:1] Set(SIP/vltb-sbc01-, 
timestarted=20100512224709) in new stack
[May 12 22:47:09] DEBUG[22725]: pbx.c:3692 pbx_extension_helper: 
Launching 'Answer'
 -- Executing [...@tbsendfax:2] Answer(SIP/vltb-sbc01-, ) 
in new stack
[May 12 22:47:09] DEBUG[22725]: pbx.c:3692 pbx_extension_helper: 
Launching 'Set'
 -- Executing [...@tbsendfax:3] Set(SIP/vltb-sbc01-, 
ANSWERED=1) in new stack
[May 12 22:47:09] DEBUG[22725]: pbx.c:3692 pbx_extension_helper: 
Launching 'Set'
 -- Executing [...@tbsendfax:4] Set(SIP/vltb-sbc01-, 
CALLSTATUS=0) in new stack
[May 12 22:47:09] DEBUG[22725]: pbx.c:3692 pbx_extension_helper: 
Launching 'Set'
 -- Executing [...@tbsendfax:5] Set(SIP/vltb-sbc01-, 
FAXOPT(localstationid)=vltbfax) in new stack
[May 12 22:47:09] DEBUG[22725]: res_fax.c:2120 acf_faxopt_write: channel 
'SIP/vltb-sbc01-' setting FAXOPT(localstationid) to 'vltbfax'
[May 12 22:47:09] DEBUG[22725]: pbx.c:3692 pbx_extension_helper: 
Launching 'Set'
 -- Executing [...@tbsendfax:6] Set(SIP/vltb-sbc01-, 
FAXOPT(ecm)=no) in new stack
[May 12 22:47:09] DEBUG[22725]: res_fax.c:2120 acf_faxopt_write: channel 
'SIP/vltb-sbc01-' setting FAXOPT(ecm) to 'no'
[May 12 22:47:09] DEBUG[22725]: pbx.c:3692 pbx_extension_helper: 
Launching 'SendFAX'
 -- Executing [...@tbsendfax:7] SendFAX(SIP/vltb-sbc01-, 
/var/spool/asterisk/fax/campaign_70.tif) in new stack
 -- Channel 'SIP/vltb-sbc01-' sending FAX 
'/var/spool/asterisk/fax/campaign_70.tif'
[May 12 22:47:09] DEBUG[22725]: channel.c:2434 ast_settimeout: 
Scheduling timer at (50 requested / 50 actual) timer ticks per second
[May 12 22:47:09] DEBUG[22725]: channel.c:2548 
ast_read_generator_actions: Generator got voice, switching to phase 
locked mode
[May 12 22:47:09] DEBUG[22725]: channel.c:2434 ast_settimeout: 
Scheduling timer at (0 requested / 0 actual) timer ticks per second
[May 12 22:47:09] DEBUG[22725]: rtp.c:3878 ast_rtp_write: Ooh, format 
changed from unknown to alaw
[May 12 22:47:09] DEBUG[22725]: rtp.c:3904 ast_rtp_write: Created 
smoother: format: 8 ms: 20 len: 160
[May 12 22:47:13] DEBUG[22725]: rtp.c:1240 ast_rtcp_read: Got RTCP 
report of 88 bytes
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:8223 process_sdp: Processing 
session-level SDP v=0... UNSUPPORTED.
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:8223 process_sdp: Processing 
session-level SDP o=- 840372135 840372136 IN IP4 125.213.160.145... 
UNSUPPORTED.
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:8223 process_sdp: Processing 
session-level SDP s=ENSResip... UNSUPPORTED.
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:8223 process_sdp: Processing 
session-level SDP c=IN IP4 125.213.162.37... OK.
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:8223 process_sdp: Processing 
session-level SDP t=0 0... UNSUPPORTED.
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:8982 process_sdp_a_image: 
FaxVersion: 0
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:8387 process_sdp: Processing 
media-level (image) SDP a=T38FaxVersion:0... OK.
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:8959 process_sdp_a_image: 
T38MaxBitRate: 9600
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:8387 process_sdp: Processing 
media-level (image) SDP a=T38MaxBitRate:9600... OK.
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:8956 process_sdp_a_image: 
MaxBufferSize:200
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:8387 process_sdp: Processing 
media-level (image) SDP a=T38FaxMaxBuffer:200... OK.
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:8991 process_sdp_a_image: 
FaxMaxDatagram: 72
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:8387 process_sdp: Processing 
media-level (image) SDP a=T38FaxMaxDatagram:72... OK.
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:9028 process_sdp_a_image: 
RateManagement: transferredTCF
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:8387 process_sdp: Processing 
media-level (image) SDP a=T38FaxRateManagement:transferredTCF... OK.
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:9035 process_sdp_a_image: UDP 
EC: t38UDPRedundancy
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:8387 process_sdp: Processing 
media-level (image) SDP a=T38FaxUdpEC:t38UDPRedundancy... OK.
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:8996 process_sdp_a_image: 
FillBitRemoval: 0
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:8387 process_sdp: Processing 
media-level (image) SDP a=T38FaxFillBitRemoval:0... OK.
[May 12 22:47:15] DEBUG[22587]: chan_sip.c:9007 

Re: [asterisk-users] Asterisk core dumping on SendFax with FFA

2010-05-12 Thread Kevin P. Fleming
On 05/12/2010 08:12 AM, Ben Dinnerville wrote:

 [May 12 22:47:15] ERROR[22725]: res_fax_digium.c:2114 dgm_fax_start: FAX 
 handle 0: failed to queue document '/var/spool/asterisk/fax/campaign_70.tif'
 [May 12 22:47:15] ERROR[22725]: res_fax.c:834 generic_fax_exec: channel 
 'SIP/vltb-sbc01-' FAX session '0' failure, reason: 'failed to 
 start FAX session'

This is a known bug, that is fixed in the FFA 1.2.1 release which is in
testing right now; if you contact Digium Support, they should be able to
get you a copy of it.

 The issue seems to be with the error - failed to queue document 
 '/var/spool/asterisk/fax/campaign_70.tif' However I can confirm that a) 
 the file exists, b) it is worl readable and c) is created from a pdf 
 with ghostscipt in the recommended fashion - gs -q -dNOPAUSE -dBATCH 
 -sDEVICE=tiffg4 -sPAPERSIZE=a4 -sColorMode=mono 
 -sOutputFile=campaign_70.tif combo2010.pdf

It would be helpful if you could provide that file to the support
technician so it can be investigated.

 Anyone else having core dump issues or fax failure issues with 1.2.0? 
 This one has kept me up for 2 days now - if I had any hair i would be 
 pulling it out now.

Like I said, it's a known problem, and the fix should be out within a
day or two. It was reported to us about a week ago, so if you had
contacted the support department, it's likely they would have been able
to shortcut your hair-pulling experience :-)

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kflem...@digium.com
Check us out at www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk core dumping on SendFax with FFA

2010-05-12 Thread Ben Dinnerville
Kevin P. Fleming wrote:

 Like I said, it's a known problem, and the fix should be out within a
 day or two. It was reported to us about a week ago, so if you had
 contacted the support department, it's likely they would have been able
 to shortcut your hair-pulling experience :-)
 

Hi Kevin,

Thanks for the update. Unfortunately I contacted the support team early 
on in the process (about 35 hours ago) and to date the only response has 
been Please run the debug process and send us the logs - so there has 
been much hair pulling in the meanwhile. I have ticket WAJ-201081 logged 
and am awaiting a response - however it would be appreciated if I could 
get my hands on the 1.2.1 version and would be more than happy to test 
it and see if the issue is fixed.

Cheers,

Ben


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk core dumping on SendFax with FFA

2010-05-12 Thread Ben Dinnerville
Well, I have managed to get my hands on a copy of 1.2.1 rc1 FFA which 
seems to have fixed the core dumping issue but does not appear to have 
fixed the issue that was causing the core dump.

We are still getting an issue with a particular file which I have tried 
multiple different ways to create to no avail. The tiff file is created 
with ghostscript from a pdf as per the guidlines but every time we try 
and fax it we get the following:

[May 13 11:28:09] DEBUG[26959] res_fax_digium.c: FAX handle 0: created 
document queue
[May 13 11:28:09] ERROR[26959] res_fax_digium.c: FAX handle 0: failed to 
queue document '/var/spool/asterisk/fax/campaign_70.tif'
[May 13 11:28:09] DEBUG[26959] res_fax_digium.c: FAX handle 0: freeing 
document queue.
[May 13 11:28:09] DEBUG[26959] res_fax_digium.c: FAX handle 0: closing
[May 13 11:28:09] ERROR[26959] res_fax.c: channel 
'SIP/teleblast-sbc01-0001' FAX session '1' failure, reason: 'failed 
to start F
AX session'

and the call terminates.

tiffinfo for the file shows:

TIFF Directory at offset 0x2aae0 (174816)
   Subfile Type: multi-page document (2 = 0x2)
   Image Width: 1767 Image Length: 2369
   Resolution: 204, 196 pixels/inch
   Bits/Sample: 1
   Compression Scheme: CCITT Group 4
   Photometric Interpretation: min-is-white
   FillOrder: msb-to-lsb
   Orientation: row 0 top, col 0 lhs
   Samples/Pixel: 1
   Rows/Strip: 2369
   Planar Configuration: single image plane
   Page Number: 0-0
   Software: GPL Ghostscript 8.70
   DateTime: 2010:05:12 23:20:00
   Group 4 Options: (0 = 0x0)
TIFF Directory at offset 0x57172 (356722)
   Subfile Type: multi-page document (2 = 0x2)
   Image Width: 1767 Image Length: 2369
   Resolution: 204, 196 pixels/inch
   Bits/Sample: 1
   Compression Scheme: CCITT Group 4
   Photometric Interpretation: min-is-white
   FillOrder: msb-to-lsb
   Orientation: row 0 top, col 0 lhs
   Samples/Pixel: 1
   Rows/Strip: 2369
   Planar Configuration: single image plane
   Page Number: 1-0
   Software: GPL Ghostscript 8.70
   DateTime: 2010:05:12 23:20:11
   Group 4 Options: (0 = 0x0)


And the file is 357026 bytes in size. Can anyone see anything wrong with 
the tiff info or does anyone know of any issues with multiple pages or 
file size with fax for asterisk? Unfortunately I cannot seem to find any 
more information as to why the document couldn't be queued.

Cheers,

Ben


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk core dumping on SendFax with FFA

2010-05-12 Thread David Backeberg
On Wed, May 12, 2010 at 9:53 PM, Ben Dinnerville b...@voicelogic.com.au wrote:
 We are still getting an issue with a particular file which I have tried
 multiple different ways to create to no avail. The tiff file is created
 with ghostscript from a pdf as per the guidlines but every time we try
 and fax it we get the following:

Try using ReceiveFax(),
and use a pdf=to-fax service or your own fax machine to fax it to your
asterisk machine.

That will give you an asterisk-created tiff of your pdf.

I used ReceiveFax() to generate the tiffs I use for SendFax() testing.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users