[asterisk-users] AMI status events with res_fax_spandsp.so

Steven Wheeler SWheeler at usinternet.com
Mon May 21 09:34:41 CDT 2018


>> Is anyone else using the AMI with res_fax_spandsp.so for real-time status?
> 
> As far as I can tell there is no way to get worthwhile status/progress information from AMI when using spandsp.
> 
>> I am working on migrating a FAX application from res_fax_digium.so to res_fax_spandsp.so. I have noticed that the spandsp module generates far fewer AMI status events than the Digium module and the generated events contain less information. For example when sending a fax there is no longer an event for every page. There are just a few FaxStatus events at the beginning and a couple at the end but they don’t contain many details. I can pull the required information from the Asterisk console by running  fax show session <ID> but that output isn’t suitable for parsing.
> 
> The only way I have found to follow fax progress is to configure the logs to include fax debug and "tail" the logs. ECM fax will produce log messages like "res_fax.c: FLOW T.30 Starting page 2 of transfer". 
> Non-ECM fax does not produce any page information as far as I can see.
> 
> Neil Youngman

Thanks, I figured that was the case but wanted to be sure I hadn’t missed a configuration option or something else.

Steven Wheeler


More information about the asterisk-users mailing list