On Wed, Feb 27, 2013 at 1:17 AM, Steve Underwood <steveu@coppice.org> wrote:
Hi Tihomir,

On 02/26/2013 11:42 PM, Tihomir Culjaga wrote:
> hello,
>  i know its stupid, but please, is there a way to somehow print the
> number of pages on a document in a <pages>/<total_pages> format
> instead of p.<pages>  ?
>
> i cannot find this in mod_spandsp so i assume its somewhere in spandsp
> library... any idea where ?
>
>
> regards,
> Tihomir.
>
Spandsp just follows the practice in most FAX machines, and puts
p.<number> in the page headers. Spandsp doesn't actually know the total
number of pages when it sends the first page, as it allows additional
TIFF files to be added to the transmission while a call is in progress.
<page>/<total> could be set up for the simple case of one call == one
TIFF file, but that's not in the code right now.

Hi Steve, thanks for the prompt answer.

yeah, i was afraid so... just for curiosity, where is the code that puts p.<number> in the page header ?

also, how do you send multiple tiff files during one call session ... something like txfax('file1','file2','file3'....) ?

Regards,
Tihomir.

 
Steve

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org