
Contents
Media Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Signal Generation and Tone Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Voice Record and Play . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Fax Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
File Format Manipulation Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
The Infopkt Stream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Fax Infopkt Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Chapter 3 – Developing Applications Using the Bfv API . . . . . . . . 56
This chapter describes how to develop applications with Brooktrout Fax |
|
Software. |
|
Developing a Voice Application | 57 |
Recording and Playing Voice | 57 |
Recording Voice | 58 |
Playing Back the Voice Message | 59 |
Using Prompt Files | 59 |
Using the mkprompt Utility | 60 |
Creating a New Prompt File | 60 |
Updating an Existing Prompt File | 61 |
Developing a Fax Application | 61 |
Sending and Receiving a Fax | 61 |
Sending a Fax from One Channel to Another | 62 |
Sending a Fax to a Channel from an External Fax Machine | 63 |
Using Bfv API Fax Functions | 64 |
Using High- and | 64 |
Sending a Fax Using Function Calls for | 70 |
Receiving a Fax Using Function Calls for | 73 |
Sending a Fax Using Calls for | 75 |
Receiving a Fax Using Calls for | 76 |
Receiving and Storing a Fax in MMR or MR Format | 78 |
Accessing an Infopkt Stream from an Application | 83 |
Sending a | 84 |
Combining Data on a Single Page Using | 84 |
Accessing a | 87 |
November 2009 | 7 |