(Page 13 of 13 in this chapter)
2.12 Managing Fax Licenses
- A fax license is an allocation of fax resources. A fax license is only required for an active fax session. An active fax session begins when nfxSendFax or nfxReceiveFax is called and ends when the NFXEVN_SESSION_DONE event is received.
- There are two ways to manage fax licenses, explicit allocation and automatic allocation.
- With explicit allocation, the application explicitly allocates and releases license units using nfxAllocLicense and nfxReleaseLicense. This allows the application to avoid a situation in which a call is placed, and the attempt to start a fax session fails because there are no available fax resources. If an fax license is explicitly allocated it must be freed at the end of the fax session.
- Automatic allocation of fax licenses provides ease of use for the application. If an application does not explicitly allocate fax licenses, the NaturalFax functions will automatically allocate fax licenses as required.
- nfxGetLicenseStatus reports the number of licensed fax units in use, and the number of units authorized for the system.
- See the NaturalFax Installation Manual for details on creating fax licenses.
(Page 13 of 13 in this chapter)
tech_support@nmss.com
Copyright © 1997, Natural MicroSystems, Inc. All rights
reserved.