Re: [asterisk-users] asterisk app_fax, T.30, weird received faxes

2010-07-27 Thread Anthony Messina
On Monday, July 26, 2010 09:55:38 am Tzafrir Cohen wrote:
> > I suppose I should make a list of known good packages, and put it on 
> > that FAQ page.
> >
> > 
> >
> > GIMP is useless for FAX. Not only does it get the shape of the images 
> > wrong, it can only display the first page of a FAX. I am not familiar 
> > with gqview or feh.
> >
> > 
> >
> > The package I usually use to display FAXes on Linux/BSD machines is 
> > okular. That seems to behave very well, unless you have a really old 
> > version.
> 
> convert and the rest of imagemagick should handle multi-page tiff (e.g.
> convert it to PDF).

libTIFF's tiff2pdf works well also.

-- 
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E


signature.asc
Description: This is a digitally signed message part.
-- 
_
-- 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 app_fax, T.30, weird received faxes

2010-07-26 Thread Steve Underwood
  On 07/26/2010 10:55 PM, Tzafrir Cohen wrote:
> On Mon, Jul 26, 2010 at 09:54:24PM +0800, Steve Underwood wrote:
>>On 07/26/2010 11:57 AM, Alexander Aksarin wrote:
>>> On 20:59 Fri 23 Jul , Steve Underwood wrote:
 That's just how your images look for me, so I guess your problem is
 described here http://www.soft-switch.org/spandsp_faq/ar01s09.html

 Steve
>>> Big thanks for your help, Steve. I tried feh, gqview, gimp and "pages
>>> look an odd shape". Can you say what image viewer you use for tiff?
>> I suppose I should make a list of known good packages, and put it on
>> that FAQ page.
>>
>> GIMP is useless for FAX. Not only does it get the shape of the images
>> wrong, it can only display the first page of a FAX. I am not familiar
>> with gqview or feh.
>>
>> The package I usually use to display FAXes on Linux/BSD machines is
>> okular. That seems to behave very well, unless you have a really old
>> version.
> convert and the rest of imagemagick should handle multi-page tiff (e.g.
> convert it to PDF).
The main value in converting FAX TIFFs to PDFs (which basically just 
encapsulates the TIFF file in a PDF wrapper) is that PDF readers 
generally get the images right. If the average image viewer was not so 
broken, converting FAXes to PDFs would be less popular.

Steve


-- 
_
-- 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 app_fax, T.30, weird received faxes

2010-07-26 Thread Tzafrir Cohen
On Mon, Jul 26, 2010 at 09:54:24PM +0800, Steve Underwood wrote:
>   On 07/26/2010 11:57 AM, Alexander Aksarin wrote:
> > On 20:59 Fri 23 Jul , Steve Underwood wrote:
> >> That's just how your images look for me, so I guess your problem is
> >> described here http://www.soft-switch.org/spandsp_faq/ar01s09.html
> >>
> >> Steve
> > Big thanks for your help, Steve. I tried feh, gqview, gimp and "pages
> > look an odd shape". Can you say what image viewer you use for tiff?
> I suppose I should make a list of known good packages, and put it on 
> that FAQ page.
> 
> GIMP is useless for FAX. Not only does it get the shape of the images 
> wrong, it can only display the first page of a FAX. I am not familiar 
> with gqview or feh.
> 
> The package I usually use to display FAXes on Linux/BSD machines is 
> okular. That seems to behave very well, unless you have a really old 
> version.

convert and the rest of imagemagick should handle multi-page tiff (e.g.
convert it to PDF).

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

-- 
_
-- 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 app_fax, T.30, weird received faxes

2010-07-26 Thread Steve Underwood
  On 07/26/2010 11:57 AM, Alexander Aksarin wrote:
> On 20:59 Fri 23 Jul , Steve Underwood wrote:
>> That's just how your images look for me, so I guess your problem is
>> described here http://www.soft-switch.org/spandsp_faq/ar01s09.html
>>
>> Steve
> Big thanks for your help, Steve. I tried feh, gqview, gimp and "pages
> look an odd shape". Can you say what image viewer you use for tiff?
I suppose I should make a list of known good packages, and put it on 
that FAQ page.

GIMP is useless for FAX. Not only does it get the shape of the images 
wrong, it can only display the first page of a FAX. I am not familiar 
with gqview or feh.

The package I usually use to display FAXes on Linux/BSD machines is 
okular. That seems to behave very well, unless you have a really old 
version.

Steve


-- 
_
-- 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 app_fax, T.30, weird received faxes

2010-07-25 Thread Alexander Aksarin
On 20:59 Fri 23 Jul , Steve Underwood wrote:
> That's just how your images look for me, so I guess your problem is 
> described here http://www.soft-switch.org/spandsp_faq/ar01s09.html
> 
> Steve
Big thanks for your help, Steve. I tried feh, gqview, gimp and "pages
look an odd shape". Can you say what image viewer you use for tiff?

-- 
_
-- 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 app_fax, T.30, weird received faxes

2010-07-23 Thread Steve Underwood
On 07/23/2010 11:17 AM, Alexander Aksarin wrote:
> On 21:46 Thu 22 Jul , Steve Underwood wrote:
>
>> It might help if you explained what you expect those pages should look
>> like. I see three quite plausible pages.
>>  
> I expect to see this http://imagebin.ca/img/Eihpy0.jpg
>
>
That's just how your images look for me, so I guess your problem is 
described here http://www.soft-switch.org/spandsp_faq/ar01s09.html

Steve


-- 
_
-- 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 app_fax, T.30, weird received faxes

2010-07-22 Thread Alexander Aksarin
On 21:46 Thu 22 Jul , Steve Underwood wrote:
> It might help if you explained what you expect those pages should look 
> like. I see three quite plausible pages.
I expect to see this http://imagebin.ca/img/Eihpy0.jpg

-- 
_
-- 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 app_fax, T.30, weird received faxes

2010-07-22 Thread Steve Underwood
On 07/22/2010 12:15 PM, Alexander Aksarin wrote:
> On 09:06 Thu 22 Jul , Alexander Aksarin wrote:
>
>> Hello to all. I have succesfully received fax by app_fax, but tif files are 
>> weird.
>> There a faxes sended by several fax machines to asterisk.
>> http://filebin.ca/hnnumf/122.tif
>> http://filebin.ca/ospmn/151.tif
>> http://filebin.ca/fzuknc/151_.tif
>>
>> Any ideas how to fix this?
>>
>> debug log: http://filebin.ca/cashhg/full.today
>>
>> part with fax from extensions.conf:
>> exten =>  fax,1,Goto(543,1)
>>
>> exten =>  543,1,Answer()
>> exten =>  543,n,Set(FAXFILE=/var/spool/asterisk/fax/${CALLERID(num)}.tif)
>> exten =>
>> 543,n,Set(FAXFILENOEXT=/var/spool/asterisk/fax/${CALLERID(num)})
>> exten =>  543,n,Wait(3)
>> exten =>  543,n,ReceiveFAX(${FAXFILE})
>>  
> Some information about hardware:
> Digium Wildcard TE110P T1/E1
>
> fax machines:
> Panasonic KX-FP153 // 151.tif
> Panasonic KX-FT73 // 122.tif
>
> scheme: fax<->  avaya  asterisk
>
> Software:
> OS: ALT Linux 5.0.1 Ark Server
> asterisk 1.6.2.9
> libspandsp6 0.0.6
>
>
It might help if you explained what you expect those pages should look 
like. I see three quite plausible pages.

Steve


-- 
_
-- 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 app_fax, T.30, weird received faxes

2010-07-21 Thread Alexander Aksarin
On 09:06 Thu 22 Jul , Alexander Aksarin wrote:
> Hello to all. I have succesfully received fax by app_fax, but tif files are 
> weird.
> There a faxes sended by several fax machines to asterisk.
> http://filebin.ca/hnnumf/122.tif
> http://filebin.ca/ospmn/151.tif
> http://filebin.ca/fzuknc/151_.tif
> 
> Any ideas how to fix this?
> 
> debug log: http://filebin.ca/cashhg/full.today
> 
> part with fax from extensions.conf:
> exten => fax,1,Goto(543,1)
> 
> exten => 543,1,Answer()
> exten => 543,n,Set(FAXFILE=/var/spool/asterisk/fax/${CALLERID(num)}.tif)
> exten =>
> 543,n,Set(FAXFILENOEXT=/var/spool/asterisk/fax/${CALLERID(num)})
> exten => 543,n,Wait(3)
> exten => 543,n,ReceiveFAX(${FAXFILE})
Some information about hardware:
Digium Wildcard TE110P T1/E1

fax machines:
Panasonic KX-FP153 // 151.tif
Panasonic KX-FT73 // 122.tif

scheme: fax <-> avaya  asterisk

Software:
OS: ALT Linux 5.0.1 Ark Server
asterisk 1.6.2.9
libspandsp6 0.0.6

-- 
_
-- 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 app_fax, T.30, weird received faxes

2010-07-21 Thread Alexander Aksarin
Hello to all. I have succesfully received fax by app_fax, but tif files are 
weird.
There a faxes sended by several fax machines to asterisk.
http://filebin.ca/hnnumf/122.tif
http://filebin.ca/ospmn/151.tif
http://filebin.ca/fzuknc/151_.tif

Any ideas how to fix this?

debug log: http://filebin.ca/cashhg/full.today

part with fax from extensions.conf:
exten => fax,1,Goto(543,1)

exten => 543,1,Answer()
exten => 543,n,Set(FAXFILE=/var/spool/asterisk/fax/${CALLERID(num)}.tif)
exten =>
543,n,Set(FAXFILENOEXT=/var/spool/asterisk/fax/${CALLERID(num)})
exten => 543,n,Wait(3)
exten => 543,n,ReceiveFAX(${FAXFILE}

-- 
_
-- 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