Hello Robert,
1.
I wrote a complete code to integrate native ISDN fax to Opal. You can find sorces in the private e-mails.
This code allows to do the following:
1) To send a fax from SFF file to CAPI 2.0 connection (both B3 Protocol=4 T.30 for Group 3 fax and B3 Protocol=5 T.30 for Group 3 fax extended are supported).
2) To receive a fax from CAPI 2.0 to SFF file.
3) To get full fax statistics (similar to spandsp statistics). The statistics is based on CAPI fax messages and detailed analysis of SFF file.
4) To use this code with FaxOpal application if
#define OPAL_OPT_CAPI_USE_ISDN_FAX "Use-ISDN-Fax" ///< String option for using ISDN native fax
string option is used.
5) This code does not break Opal CAPI 2.0 voice compatibilities (include audio fax based on SpanDSP that can be used via CAPI Voice connection)
6) I have seccesfully tested this code. Logs attached (in private e-mails).
Can you please add it to Opal?
2.
I steel need some help with fully correct using of ISDN fax with Opal
1) EndPoint to be used
2) Connection to be used
Can you please help with it or at least tell me how to?
1) To disable Spandsp plugin auto-starting if fax: endpoint with "Use-ISDN-Fax" is used.
2) To disable voice streams (I have disabled any write/read only in CAPI code) when fax: endpoint is used
The parallel running of spandsp does not crash nothing but definitely not needed if SFF/B3=5(B3=4)-model is used.
Moreover I want to get statistics similar way (like to do with Spandsp), so I am absolutely not interested in Spandsp running with my code.
See also logs attached (in private e-mails).
Thanks in advance.
Best Regards,
Dmitry.
|