Dialogic 6.2 Manuale Utente

Navigare online o scaricare Manuale Utente per Fax Dialogic 6.2. Dialogic 6.2 User Manual Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa

Sommario

Pagina 1 - Release 6.2

www.dialogic.comDialogic® Brooktrout® Fax Products SDKDeveloper Guide Release 6.2November 2009 931-132-06

Pagina 2 - Copyright and Legal Notice

November 2009 10Contentstones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 3 - Hardware Limited Warranty

Utility Programs for DebuggingNovember 2009 100Utility Programs for DebuggingThe following sample applications/utilities are available to help you in

Pagina 4

BSMI DebuggingNovember 2009 101BSMI DebuggingThe debug output is controlled using the regular mechanisms provided with the Bfv API. Included in the de

Pagina 5

BSMI DebuggingNovember 2009 102The trace information is embedded within the Bfv API debug output, see Figure 5 for a sample output. See Table 2 for re

Pagina 6

BSMI DebuggingNovember 2009 103Table 2. Trace Report ValuesValue MeaningCh# Lapdid number. This is an even number where 0=Port A 2=Port BTime Hexade

Pagina 7 - November 2009 7

BSMI DebuggingNovember 2009 104Understanding Trace Hexadecimal StringsThe hexadecimal string displayed in the trace consists of the following componen

Pagina 8 - November 2009 8

BSMI DebuggingNovember 2009 105 Figure 6. I Frame FormatsInterpreting the Message HeaderThe Message header starts at byte offset 5 of the hexadecima

Pagina 9 - November 2009 9

BSMI DebuggingNovember 2009 106 The Message type value 0x05 identifies the D-channel message as a SETUP; refer to Table 3 on page 106 for possible Q.

Pagina 10 - Contents

BSMI DebuggingNovember 2009 107Interpreting Information ElementsFor Q.931 call control messages, the first Information Element (IE) starts at byte off

Pagina 11 - November 2009 11

BSMI DebuggingNovember 2009 108Figure 8. IE FormatspByte8765 432108765 43210000 01000000 00101000 10001001 0000123-04IE IdentifierLength of IE (in b

Pagina 12 - November 2009 12

BSMI DebuggingNovember 2009 109For additional information on Layer 2 and ISDN message headers and processing, refer to the following documents: CCITT

Pagina 13 - November 2009 13

November 2009 11ContentsTransferring Calls Using Release Link Trunk Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . 202Using Bfv Ap

Pagina 14 - November 2009

BSMI DebuggingNovember 2009 110VTTY Tracing FeatureThe VTTY tracing provides access to control processor internals and diagnostic tracing information.

Pagina 15 - November 2009 15

BSMI DebuggingNovember 2009 111VTTY Console CommandsSpecifically, you can use the VTTY commands to show argument information, tracing information, acc

Pagina 16 - About this Publication

BSMI DebuggingNovember 2009 112VTTY Tracer GUIThe VTTY Tracer graphical user interface provides access to control processor internals and diagnostic t

Pagina 17 - Manual Conventions

BSMI DebuggingNovember 2009 1131. Click Settings|Options. The Tracing Options dialog is displayed.Set where the trace output is saved, either screen o

Pagina 18

BSMI DebuggingNovember 2009 1143. Click OK. The connection confirmation is displayed in the VTTY Tracer screen:Using the Trace MenuWhen you choose opt

Pagina 19 - Terminology

BSMI DebuggingNovember 2009 115In this example the Command 12 turns on Layer 2 tracing. This feature allows support of new tracing options without add

Pagina 20

BSMI DebuggingNovember 2009 116Using the Show MenuThe Show menu causes a set of predefined variables to be displayed:Each menu choice produces a dialo

Pagina 21 - Getting Technical Support

BSMI DebuggingNovember 2009 117VTTY Trace Results Figure 9 shows the results of a VTTY trace.Figure 9. VTTY Trace ExampleEach trace message (for bot

Pagina 22 - Dialogic® Brooktrout®

Call TracerNovember 2009 118Call TracerDialogic provides a Call Tracer command line utility that collects call trace information in an active system.

Pagina 23 -  Bfv API

Call TracerNovember 2009 119Command Syntaxbrktcctrace [-o <path_string>] [-i <path_string>] [-t <duration/sec>] [-x <max_file_siz

Pagina 24 - November 2009 24

November 2009 12ContentsIntroduction to the SIP Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244Over

Pagina 25 - November 2009 25

Call TracerNovember 2009 120Configuration File FormatThis section describes the filter configuration file format. Because the configuration file is op

Pagina 26 - The Bfv API Functions

Call TracerNovember 2009 121########################################################Filter Settings Configuration File################################

Pagina 27 - November 2009 27

Call TracerNovember 2009 122#-------------------------------------------------------# ECC Legal Values# NONE# ERROR# WARNING# BASIC# VERBOSE#---------

Pagina 28 - The BTLINE Structure

Call TracerNovember 2009 123#-------------------------------------------------------# VTTY Legal Values# ON# OFF# # The listed filters below use Modul

Pagina 29 - November 2009 29

Call TracerNovember 2009 124## So to trace SMI for module 2 add:# VTTY_MODULE.MODULE02.VTTY_MAIN.SMI = ON## To trace CAS L3L4 for module 2 on span1, c

Pagina 30 - Channel Numbering

Call TracerNovember 2009 125VTTY_MODULE.MODULE02.VTTY_LE58.CONFIG = OFFVTTY_MODULE.MODULE02.VTTY_LE58.CURRENT_TIME = OFFVTTY_MODULE.MODULE02

Pagina 32 - Configuration Files

November 2009 1274 - Sample Applications and Utilities This chapter describes the sample applications and utilities that come as part of the Dialogic®

Pagina 33 - Functions

boardmonNovember 2009 128the state of the signaling bits and alarms. It also counts the errors (e.g., framing errors, CRC errors, clock slips, BPVs) o

Pagina 34 - Structures and Return Values

btverNovember 2009 129Sample boardmon OutputBoard Temperature: 105.8F 41.0CEthernet link 0: UPMod 0x03 Span 1 No Alarms FRM 000000 CRC 000000 BPV

Pagina 35 - November 2009 35

November 2009 13ContentsOutgoing Call Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292Call Teard

Pagina 36 - Call Control

connlistNovember 2009 130Command Syntaxbtver [-m <mod>] [-v]The firmware must be downloaded on a module to obtain its control processor and DSP

Pagina 37 - November 2009 37

csendNovember 2009 131csendThis application uses low-level, noninfopkt, raw-data, fax-sending routines to send facsimiles. It allows sending a single

Pagina 38 - Media Processing

deactNovember 2009 132deactThe deact program deactivates a hardware module, marking it as dead. Bfv API debug mode is turned on. The btcall.cfg file i

Pagina 39 - Voice Record and Play

deactNovember 2009 133Command Syntaxdeact [-a] [-s] <mod>Arguments-a Deactivate all modules on the board containing <mod>.-s The value of

Pagina 40 - Fax Functions

debug_controlNovember 2009 134debug_controlThe debug_control utility allows a user to selectively turn on logging remotely in an application. The appl

Pagina 41 - November 2009 41

decodeNovember 2009 135decode The decode program reads a specified infopkt stream file and lists the individual infopkts that comprise the stream. The

Pagina 42 - Infopkts

dfaxNovember 2009 136dfaxThe dfax program uses the low-level Intel DCX fax transmitting and receiving routines to send and receive facsimiles. Turn on

Pagina 43 - November 2009 43

dlfaxNovember 2009 1373. If the incoming call is accepted, the divert program uses the speed_infopkt_file recording and playing routines to record and

Pagina 44 - November 2009 44

dstripNovember 2009 138Bfv API debug mode is turned on. The btcall.cfg file is the user configuration file. The dlfax program is found in the app.src

Pagina 45 - November 2009 45

eccllvoiceNovember 2009 139eccllvoiceThe eccllvoice program is used to record and play speech for ISDN calls. It uses the speech-infopkt-file recordin

Pagina 46 - INFOPKT_ANNOTATION

November 200914ContentsCPE Signaling Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 47 - The Infopkt Stream

faxNovember 2009 140Command Syntaxeccllvoice [options] infopktfileRequires one -p or -r argument.faxThe fax program uses the highest level infopkt fil

Pagina 48 - November 2009 48

faxhlNovember 2009 141Command Syntaxfax [options] <infopktfile>Requires one -s or -r argument.faxhlThe faxhl program uses the highest level info

Pagina 49 - November 2009 49

faxllNovember 2009 142faxllThe faxll program uses the low-level non-infopkt raw data fax sending and receiving routines to send or receive facsimiles.

Pagina 50 - November 2009 50

faxllNovember 2009 143Command Syntaxfaxll [-u <unitno>] [-v] [-h] [-H] -s <phoneno> [-F] [-E #] [-g] [-a] [-p] <file> [-b] ...

Pagina 51 - Speech Infopkt Parameters

faxmlNovember 2009 144When sending, the application can mix G3 and ASCII files. Example-g f1 f2 -a f3 -b -g f4When receiving, each filename in the lis

Pagina 52 - Fax Infopkt Parameters

faxpNovember 2009 145faxpThe faxp program uses the highest level infopkt file fax polling routines to send and/or receive facsimiles. You must specify

Pagina 53 - INFOPKT_G3_STRIP_PARAMETERS

featureNovember 2009 146Command Syntaxfaxpml [options]Requires one -s or one -r argument or one of each, and one -c or one -a argument.featureThe feat

Pagina 54 - INFOPKT_DOCUMENT_PARAMETERS

featureNovember 2009 147feature downloads ASCII license (feature) files by default, and can also accept binary data if you use the -b option.

Pagina 55 - November 2009 55

firmNovember 2009 148firmThe firm program is used to download firmware. The firmware consists of several types, by number, which must be downloaded in

Pagina 56 - Applications Using the Bfv

firmloadNovember 2009 149firmloadThe firmload program is used to download a complete set of standard firmware files to all hardware modules on all boa

Pagina 57 - Recording and Playing Voice

November 2009 15ContentsRemoving the Plug and Play Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405Fo

Pagina 58 - Recording Voice

fontNovember 2009 150The firmload program ensures that the required firmware files exist in the specified directory before beginning a download. There

Pagina 59 - Using Prompt Files

ipstripNovember 2009 151ipstripThe ipstrip program removes the infopkt header from the G3 or speech data in a specified infopkt stream file and writes

Pagina 60 - Creating a New Prompt File

ivrNovember 2009 152ivrThe ivr program is a small, interactive, voice-response system that permits users to receive a fax, send a fax, record a messag

Pagina 61 - Developing a Fax Application

mkinfopkNovember 2009 153mkinfopkThe mkinfopk program builds an infopkt stream file. The mkinfopk program is found in the app.src directory.Command Sy

Pagina 62 - November 2009 62

mkinfopkNovember 2009 154At least one space must be inserted between each command line argument. If you enter mkinfopk at the command line without spe

Pagina 63 - November 2009 63

mkpromptNovember 2009 155mkpromptThe mkprompt program creates or updates a prompt file from infopkt files that contain individual phrases. When updati

Pagina 64 - Using Bfv API Fax Functions

modinfoNovember 2009 156If a raw G3 file has a 128-byte Brooktrout header (it is a btG3 file), mktiff uses the resolution, width, and number of scan l

Pagina 65 - November 2009 65

playpNovember 2009 157For example, a module with 48 work channels is listed as having 49 channels, and a module with no work channels (no firmware dow

Pagina 66 - November 2009 66

shoparamNovember 2009 158Arguments-a All Channels-u <unitno> Channel number.-v Turn on Bfv API debug mode.sh

Pagina 67 - November 2009 67

telsaveNovember 2009 159Command Syntaxtelreset [-m <mod>]telsaveThe telsave program writes telephony parameters to a module’s Non-Volatile RAM

Pagina 68 - November 2009 68

November 2009 16About this PublicationIntroductionThe Dialogic® Brooktrout® Fax Products SDK Developer Guide describes the Bfv API used to create appl

Pagina 69 - November 2009 69

tfaxNovember 2009 160tfaxThe tfax program uses the low-level TIFF-F file fax sending and receiving routines to send and receive facsimiles.Turn on the

Pagina 70 - Noninfopkt-Formatted Raw G3

tonesNovember 2009 161tonesThe tones program uses DTMF detection routines to detect and display incoming touchtones and DTMF generation and single fre

Pagina 71 - November 2009 71

transferNovember 2009 162Command Syntaxtransfer [options] phonenumArgumentsphonenum Caller C’s telephone number.options-u unit_num The unit number to

Pagina 72 - November 2009 72

transferllNovember 2009 163Examples¾Assume that 110 is phone number of caller C.1. Transfer using 1 B-channel and complete transfer at the state BST_D

Pagina 73

transferllNovember 2009 164The following list shows the call control functions used by transfer and transferll.Command Syntaxtransfer [options] phonen

Pagina 74 - November 2009 74

tromboneNovember 2009 165tromboneThe trombone program sets up a two channel (trombone) call transfer. After the two channels have been connected toget

Pagina 75 - November 2009 75

tstripNovember 2009 166welcome prompt, the program dials an outbound call on the secondary channel. When the outbound call on the secondary channel is

Pagina 76 - November 2009 76

voiceNovember 2009 167The tstrip program is found in the app.src directory. Bfv API debug mode is turned on.Command Syntaxtstrip [-h] [-o <output_b

Pagina 77 - November 2009 77

voiceNovember 2009 168Pressing the following keys on the telephone keypad affect the speed and volume at which the application plays back speech:1 = i

Pagina 78 - November 2009 78

voicerawNovember 2009 169voicerawThe voiceraw program uses the raw speech data file recording and playing routines to record and play speech. Recordin

Pagina 79 - November 2009 79

November 2009 17 R2 signaling Chapter 11 describes how to package software supporting Brooktrout software or SR140 Fax in your product. Appendix A

Pagina 80 - November 2009 80

waveNovember 2009 170Command Syntaxvoiceraw [options] <speechfile>Not all coding formats and rate combinations are available on all products.Req

Pagina 81 - November 2009 81

waveNovember 2009 171Pressing the following keys on the telephone keypad affect the speed and volume at which the application plays back speech:1 = in

Pagina 82 - November 2009 82

Compiling Sample Applications Using Microsoft® Developer Studio Project FilesNovember 2009 172Compiling Sample Applications Using Microsoft® Developer

Pagina 83 - November 2009 83

Compiling Sample Applications Using Microsoft® Developer Studio Project FilesNovember 2009 173Using Brooktrout Files Dialogic has created a Microsoft

Pagina 84 - Fax Files

Compiling Sample Applications Using MakefilesNovember 2009 174Compiling Sample Applications Using Makefiles The sample applications are distributed in

Pagina 85 - November 2009 85

Compiling Sample Applications Using MakefilesNovember 2009 175Combining the Sample ApplicationsThe sample applications provided with the Brooktrout SD

Pagina 86 - November 2009 86

November 2009 1765 - Transferring Calls This chapter describes transferring calls using the Bfv API-level and BSMI-level call control functionality.No

Pagina 87 - November 2009 87

Making Call Transfers Using BfvNovember 2009 177Making Call Transfers Using BfvThe diagram in Figure 10 illustrates a transfer using the BfvLineTransf

Pagina 88 - November 2009 88

Making Call Transfers Using BfvNovember 2009 178Figure 10. High-level Call Transfer using BfvBfvLineTransferBfvLineTransfer-CapabilityQueryLINE_XFER

Pagina 89 -  Transfer Mode

Making Call Transfers Using BfvNovember 2009 179Figure 11. Low-level Call Transfer using BfvBfvLineTransferCompleteBfvLineTransfer CancelBfvCallTran

Pagina 90 - November 2009 90

November 2009 18 Italics denote the names of variables in the prototype of a function and file names, directory names, and program names within the g

Pagina 91 - 3 - Debugging

Making Hookflash TransfersNovember 2009 180Making Hookflash TransfersYou can make hookflash call transfers using either the Bfv- level API or BSMI-lev

Pagina 92 - BfvDataFSK

Making Hookflash TransfersNovember 2009 181To configure using configuration files: Set the port configuration for T1 RBS using the callctrl.cfg confi

Pagina 93 - Dump History

Making Two B-Channel TransfersNovember 2009 182Making Two B-Channel TransfersWhen making a two B-channel transfer, the central office connects two out

Pagina 94 - Invoking Dump History

Making Two B-Channel TransfersNovember 2009 183For more information on the BfvCallHold function, refer to Volume 2, Bfv API Reference Manual. For more

Pagina 95 - November 2009 95

Making Call Transfers Using QSIGNovember 2009 184Making Call Transfers Using QSIGISDN QSIGQSIG is an ISO standard that defines the ISDN signaling and

Pagina 96 - Interpreting the Output

Making Call Transfers Using QSIGNovember 2009 185Call Diversion Call Diversion (Unconditional, Busy and Not Responding) contains three scenarios: Ori

Pagina 97 - Event Logging Line Format

Making Call Transfers Using QSIGNovember 2009 186Name Identification This feature allows the Bfv API to see the text name of the user similar to Calle

Pagina 98 - Parsed Command Information

Making Call Transfers Using Active Redirection (Japan)November 2009 187Making Call Transfers Using Active Redirection (Japan)To transfer calls in Japa

Pagina 99 - November 2009 99

Making Explicit Call Transfers (ECT) With E1 ISDN and BRINovember 2009 188Making Explicit Call Transfers (ECT) With E1 ISDN and BRIExplicit call trans

Pagina 100 - November 2009 100

Making Explicit Call Transfers (ECT) With E1 ISDN and BRINovember 2009 189 Set the transfer_variant using the callctrl.cfg configuration file:transfe

Pagina 101 - BSMI Debugging

November 2009 19TerminologyUpdated TerminologyThe current version of this document includes terminology that differs from previous versions. Please no

Pagina 102 - November 2009 102

Making Two-Channel Call Transfers (Tromboning)November 2009 190Making Two-Channel Call Transfers (Tromboning)This section provides information about c

Pagina 103 - 1 ms intervals

Making Two-Channel Call Transfers (Tromboning)November 2009 191Setting up the Two-Channel Call TransferIn the typical two way call transfer applicatio

Pagina 104 - November 2009 104

Making Two-Channel Call Transfers (Tromboning)November 2009 192Figure 12. Connections for Standard (non-transfer) OperationIn Figure 12 the output s

Pagina 105 - November 2009 105

Making Two-Channel Call Transfers (Tromboning)November 2009 193variable where it is easily accessed and restored when disconnecting the two-channel ca

Pagina 106 - November 2009 106

Making Two-Channel Call Transfers (Tromboning)November 2009 194The application created a new connection from the output of network timeslot 0 to the i

Pagina 107 - November 2009 107

Making Two-Channel Call Transfers (Tromboning)November 2009 195When the application creates a two-channel call transfer, the two callers become source

Pagina 108 - Figure 8. IE Formats

Making Two-Channel Call Transfers (Tromboning)November 2009 196Figure 14 on page 196 shows the connections required to configure the echo canceller on

Pagina 109 -  CCITT Recommendation I.441

Making Two-Channel Call Transfers (Tromboning)November 2009 197Playing Back Voice RecordingsVoice playback during a two-channel call transfer can take

Pagina 110 - VTTY Tracing Feature

Making Two-Channel Call Transfers (Tromboning)November 2009 198channel provides silence generation on its output). After playback is completed, the ap

Pagina 111 - VTTY Console Commands

Making Two-Channel Call Transfers (Tromboning)November 2009 199In Figure 18, the application places the caller on TSlot 1 on hold and generates silenc

Pagina 112 - VTTY Tracer GUI

page 2Copyright and Legal NoticeCopyright © 1998-2009 Dialogic Corporation. All Rights Reserved. You may not reproduce this document in whole or in p

Pagina 113 - Connecting to a Module

November 2009 20Dialogic® Brooktrout® TR1034 Fax Board TerminologyThe Dialogic® Brooktrout® TR1034 Fax Board is also referred to herein by one or more

Pagina 114 - Using the Trace Menu

Making Two-Channel Call Transfers (Tromboning)November 2009 200Disconnecting ResourcesWhen disconnecting resources, invert the source and destination

Pagina 115 - Using the Memory Menu

Making Two-Channel Call Transfers (Tromboning)November 2009 201If the application configured the echo canceller in the channel to get an input referen

Pagina 116 - Using the Show Menu

Transferring Calls Using Release Link Trunk TransferNovember 2009 202Transferring Calls Using Release Link Trunk TransferRelease Link Trunk is an expl

Pagina 117 - VTTY Trace Results

Transferring Calls Using Release Link Trunk TransferNovember 2009 203 Set the switch type using the callctrl.cfg configuration file:switch_type=nti_d

Pagina 118 - Call Tracer

Transferring Calls Using Release Link Trunk TransferNovember 2009 204For more information on L4L3mENABLE_PROTOCOL and L3L4mALERTING, please refer to V

Pagina 119 - Command Syntax

Transferring Calls Using Release Link Trunk TransferNovember 2009 205The call is transferred by the board, but it must maintain active call setup on b

Pagina 120 - Configuration File Format

Transferring Calls Using Release Link Trunk TransferNovember 2009 206Once the network establishes a direct connection between the originator of the fi

Pagina 121 - November 2009 121

Transferring Calls Using Release Link Trunk TransferNovember 2009 207Sample ApplicationThe following code fragments show the relevant BSMI control mes

Pagina 122 - November 2009 122

Transferring Calls Using Release Link Trunk TransferNovember 2009 208/***********************************************************************//*******

Pagina 123 - November 2009 123

Transferring Calls Using Release Link Trunk TransferNovember 2009 209/***********************************************************************//*******

Pagina 124 - November 2009 124

November 2009 21Getting Technical SupportDialogic provides technical services and support for customers who have purchased hardware or software produc

Pagina 125 - November 2009 125

Placing Calls on Hold Using BSMINovember 2009 210Placing Calls on Hold Using BSMIWhen you invoke hold functions in BSMI, the host sends an L4L3mUNIVER

Pagina 126

Placing Calls on Hold Using BSMINovember 2009 211Example 1memset(&l43msg,0,sizeof(L4_to_L3_struct));l43msg->msgtype = L4L3mUNIVERSAL;l43msg->

Pagina 127 - November 2009 127

Placing Calls on Hold Using BSMINovember 2009 212

Pagina 129 - Sample boardmon Output

November 2009 2146 - Managing Fax and Voice over IP SessionsThis chapter describes how to develop applications that use the internet for fax and voice

Pagina 130

Managing Calls Using IP TelephonyNovember 2009 215Managing Calls Using IP TelephonyThe Bfv API supports fax functionality over IP networks using the S

Pagina 131

Managing Calls Using IP TelephonyNovember 2009 216Figure 19. SIP Configuration ModelWith dual-purpose modules in place, end-users can choose between

Pagina 132 - November 2009 132

Managing Calls Using IP TelephonyNovember 2009 217Outgoing IP CallsYour application manages outgoing calls if it performs the following: Uses the fun

Pagina 133

Managing Calls Using IP TelephonyNovember 2009 218Incoming IP CallsYour application can receive incoming IP calls if it uses function calls from the t

Pagina 134

Managing Calls Using IP TelephonyNovember 2009 219Understanding SIP FunctionalityThe following section provides information about SIP functionality an

Pagina 135

November 2009 221 - Introduction to the Dialogic® Brooktrout® Bfv APIThis chapter describes the Dialogic® Brooktrout® Bfv API and its capabilities.The

Pagina 136

Managing Calls Using IP TelephonyNovember 2009 220SIP/T38://+01-781-555-1212ISDN://+01-781-449-9009When the current FAX.C sample program is compiled,

Pagina 137

Managing Calls Using IP TelephonyNovember 2009 221The following are valid dial string examples for a SIP channel. Comments are shown in italics.sip:Jo

Pagina 138

Managing Calls Using IP TelephonyNovember 2009 222Sample INVITE Request The following sample uses the Bfv API to send the INVITE request.CALL CONTROL

Pagina 139 - In Place Of: Functions Used:

Managing Calls Using IP TelephonyNovember 2009 223[host_module.1/t38parameters]t38_max_bit_rate=14400t38_fax_fill_bit_removal=falset38_fax_transcoding

Pagina 140

Managing Calls Using IP TelephonyNovember 2009 2244 Defined by the current domain of the UAC.5 Generated internally.6 Defined by the IP of the primary

Pagina 141

Managing Calls Using IP TelephonyNovember 2009 225Call Progress ValuesBrooktrout Bfv API has mapped all possible IP call INVITE responses to Bfv call

Pagina 142 - November 2009 142

Managing Calls Using IP TelephonyNovember 2009 226Understanding H.323 FunctionalityThis Brooktrout SDK supports the H.323 protocol (version 4 and Anne

Pagina 143

Managing Calls Using IP TelephonyNovember 2009 227Using H.323 Address FormsTo allow applications to work for both SIP and H.323, the dialstring field

Pagina 144

Managing Calls Using IP TelephonyNovember 2009 228E.164 Alias (Phone Number)This Called Party Address can start with the optional identifier “TEL:”,

Pagina 145

Managing Calls Using IP TelephonyNovember 2009 229TA:198.133.219.25,7814494100

Pagina 146

Bfv API and Associated LibrariesNovember 2009 23Bfv API and Associated LibrariesThe Bfv Application Programming Interface (API) provides a set of func

Pagina 147 - November 2009 147

Failover Based on Telephony Cause CodesNovember 2009 230Failover Based on Telephony Cause CodesOverviewIdentifying call failures within an IP telephon

Pagina 148

Failover Based on Telephony Cause CodesNovember 2009 231 Gateway failure during an active call by disconnecting the PSTN cable.Applications needing s

Pagina 149

Failover Based on Telephony Cause CodesNovember 2009 232Failover ScenariosRefer to Table 10 to determine failover scenarios. The table shows cause cod

Pagina 150

Failover Based on Telephony Cause CodesNovember 2009 233Known Failures From Various GatewaysH.323 and SIPIn Table 11, the entries are divided between

Pagina 151

Failover Based on Telephony Cause CodesNovember 2009 234Gateway with responding SIP/H323 and PSTN down (no PSTN cable connected)H.323 1000 27 34 - 100

Pagina 152

Failover Based on Telephony Cause CodesNovember 2009 235Gateway with responding SIP/H.323 and PSTN down (no PSTN cable connected)SIP - 41 - 41 1 1 1 1

Pagina 153

Failover Based on Telephony Cause CodesNovember 2009 236SIP to Q.931 ConversionTable 12 shows the translation performed to create Q.931 codes from SIP

Pagina 154 - November 2009 154

Failover Based on Telephony Cause CodesNovember 2009 237482 Loop detected 25484 Address incomplete 28485 Ambiguous 1486 Busy here 17487 Request Cancel

Pagina 155

Processing Media Using the T.38 ProtocolNovember 2009 238Processing Media Using the T.38 ProtocolThe Brooktrout SDK supports real-time sending and rec

Pagina 156

Processing Media Using the T.38 ProtocolNovember 2009 239While the method of transport is different, IP environments support the functionality of thes

Pagina 157

Bfv API and Associated LibrariesNovember 2009 24By using the Bfv API libraries, the application running on the host processor can communicate through

Pagina 158 - Arguments

Processing Media Using the T.38 ProtocolNovember 2009 240In endpoint facsimile devices, such as a network fax server, the T.38 protocol provides the e

Pagina 159

Processing Media Using the T.38 ProtocolNovember 2009 241This diagram shows how the protocols work together during the call:In all cases the applicati

Pagina 160

Configuring T.38, RTP and IP Call Control ActivitiesNovember 2009 242Configuring T.38, RTP and IP Call Control ActivitiesIf your application runs on W

Pagina 161

TroubleshootingNovember 2009 243TroubleshootingYou can use any existing Bfv problem solving tools to troubleshoot your T.38 application. Use the log f

Pagina 162

Understanding the SIP ProtocolNovember 2009 244Understanding the SIP ProtocolYou can use the Session Initiation Protocol (SIP), an application-layer c

Pagina 163 - Examples

Understanding the SIP ProtocolNovember 2009 245Numerous protocols carry various forms of real-time multimedia session data such as voice, video, or te

Pagina 164

Understanding the SIP ProtocolNovember 2009 246SIP is not a vertically integrated communications system. SIP is rather a component that is used with o

Pagina 165 - November 2009 165

Understanding the SIP ProtocolNovember 2009 247Overview of OperationThis section introduces the basic operations of SIP using simple examples. This se

Pagina 166

Understanding the SIP ProtocolNovember 2009 248contains a number of header fields. Header fields are named attributes that provide additional informat

Pagina 167

Understanding the SIP ProtocolNovember 2009 249INVITE sip:[email protected] SIP/2.0Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bK776asdhdsMax-Forwards: 7

Pagina 168

Bfv API and Associated LibrariesNovember 2009 25Tool. You can also configure H.323 support using the configuration file. See the installation and conf

Pagina 169 - November 2009 169

Understanding the SIP ProtocolNovember 2009 250Contact Contains a SIP or SIPS URI that represents a direct route to contact Caller A, usually compose

Pagina 170

Understanding the SIP ProtocolNovember 2009 251of the biloxi.com proxy server and forwards, or proxies, the INVITE request there. Before forwarding th

Pagina 171

Understanding the SIP ProtocolNovember 2009 252In this example, Caller B decides to answer the call. When he picks up the handset, the SIP phone sends

Pagina 172 -  Visual Studio® 2008

Understanding the SIP ProtocolNovember 2009 253could proxy the INVITE to Caller B's voicemail server. A proxy server can also send an INVITE to a

Pagina 173 - Using Brooktrout Files

Understanding the SIP ProtocolNovember 2009 254forking. For this reason, request handling in SIP is often classified as either INVITE or non- INVITE,

Pagina 174 - November 2009 174

Understanding the SIP ProtocolNovember 2009 255Registrations are one way to create this information, but not the only way. Arbitrary mapping functions

Pagina 175 - Compatibility for Compiling

Using Third Party IP StacksNovember 2009 256Using Third Party IP StacksThe Bfv Fax can be integrated with systems that have their own IP call control

Pagina 176 - 5 - Transferring Calls

Using Third Party IP StacksNovember 2009 257Integrating Bfv IP FaxFigure 21 shows the individual components that an application interacts with via the

Pagina 177 - November 2009 177

Using Third Party IP StacksNovember 2009 258ComponentsThe following figure shows the components included in this configuration. Note that you must dis

Pagina 178 - November 2009 178

Using Third Party IP StacksNovember 2009 259ConfigurationYou can configure the Bfv with the ConfigTool on Windows® or by creating the callctrl.cfg fil

Pagina 179 - November 2009 179

The Bfv API FunctionsNovember 2009 26The Bfv API FunctionsThe Bfv API functions in all the Bfv API libraries are separated into categories according t

Pagina 180 - Making Hookflash Transfers

Using Third Party IP StacksNovember 2009 260#[module.41] vb_firm=/usr/sys/brooktrout/boston/fw/bostvb.so# This parameter should be set to the number

Pagina 181 - Using BSMI Applications

Using Third Party IP StacksNovember 2009 261# Specify an IP mask such as 255.255.255.0 ip_netmask=0.0.0.0# Specify an IP address such as 192.168.0.1

Pagina 182 - November 2009 182

Using Third Party IP StacksNovember 2009 262Figure 23. Inbound SIP Sequence

Pagina 183 - November 2009 183

Using Third Party IP StacksNovember 2009 263Outbound CallThe following section uses SIP to demonstrate the interaction between the third party stack i

Pagina 184 - ISDN QSIG

November 2009 2647 - Robbed Bit SignalingThis chapter describes robbed bit signaling as used with BSMI-level call control.The chapter has the followin

Pagina 185 - November 2009 185

General InformationNovember 2009 265These protocols apply either to digital (T1 or E1) or analog lines. The different types of lines simply provide a

Pagina 186 - November 2009 186

General InformationNovember 2009 266The protocols describe the value and meaning of the signaling bits and the timing between changes in their value.B

Pagina 187 - November 2009 187

General InformationNovember 2009 267the B-channel number on that trunk (also 0-based). Some of the data structures associated with the message will ha

Pagina 188 - ISDN and BRI

General InformationNovember 2009 268Timer DefinitionsThe LEC structure (named IISDN_ROBBED_BIT_DATA for historical reasons) contains a series of 16-bi

Pagina 189 - November 2009 189

General InformationNovember 2009 269delayed_on_ hook_timer50 ms Delayed on hook timer. If set to a value greater than 0, the amount of time it waits f

Pagina 190 -  Disconnecting Resources

The Bfv API FunctionsNovember 2009 27Administration, Management, and ConfigurationAdministration and Initialization Functions and MacrosThe administra

Pagina 191 - Connecting Resources

General InformationNovember 2009 270dptimer_ interdigit10 ms Dial Pulse Interdigit.Time between digits when performing digit outpulsing.IISDN56_DPINTE

Pagina 192 -  BfvCallSWGetInfo()

General InformationNovember 2009 271glare_detection_timer10 ms Glare Detection. Timer started at the beginning of outseizure that determines if a wink

Pagina 193 - November 2009 193

General InformationNovember 2009 272hooktimer_ offhook_inseize10 ms Inseizure Filter.Time that the receive signal bit must be in-use to be considered

Pagina 194 - Performing Echo Cancellation

General InformationNovember 2009 273hooktimer_ minbreak10 ms Minimum Dial Pulse Break Time.Shortest break region that is counted as a dial pulse break

Pagina 195 - November 2009 195

General InformationNovember 2009 274outseize_ack_ timer50 ms CO Outseize Acknowledge Timer. Time to continue looking for the outgoing start dial signa

Pagina 196 - November 2009 196

General InformationNovember 2009 275Timing DiagramsTo aid in the development process, timing diagrams that illustrate call setup and call teardown sig

Pagina 197 - Playing Back Voice Recordings

Wink Start & Delay Dial SignalingNovember 2009 276Wink Start & Delay Dial SignalingIn the Wink Start protocol, the device seizing the line exp

Pagina 198 - November 2009 198

Wink Start & Delay Dial SignalingNovember 2009 277The remaining settings are described in the context of incoming and outgoing calls in the subsec

Pagina 199 -  The called party hangs up

Wink Start & Delay Dial SignalingNovember 2009 278Figure 25. Wink Start and Delay Dial – Incoming Call Timing IISDN SMI MESSAGES:L4L3mALERTING_R

Pagina 200 - Disconnecting Resources

Wink Start & Delay Dial SignalingNovember 2009 279Outgoing Call ProcessingDuring an outgoing call, the host receives an L3L4mPROGRESS in response

Pagina 201 - BT_ZERO(speech_args);

The Bfv API FunctionsNovember 2009 28The BTLINE StructureWhen an application calls the BfvLineAttach (or BfvSessionAttach) function to open and attach

Pagina 202 - Using Bfv Applications

Wink Start & Delay Dial SignalingNovember 2009 280Figure 26. Wink Start and Delay Dial – Outgoing Call Timing IISDN SMI MESSAGES:L4L3mCALL_REQU

Pagina 203

Wink Start with Feature Group B & DNovember 2009 281Wink Start with Feature Group B & DTo configure a Brooktrout module for wink start with Fe

Pagina 204 - Non-RLT Call Transfer

Wink Start with Feature Group B & DNovember 2009 282Figure 27. Wink Start with Feature Group B&D - Incoming Call Timing DiagramIISDN SMI MES

Pagina 205 - RLT Call Transfer

Wink Start with Feature Group B & DNovember 2009 283Outgoing Call ProcessingThe host receives an L3L4mPROGRESS in response to the L4L3mCALL_REQUES

Pagina 206 - November 2009 206

Wink Start with Feature Group B & DNovember 2009 284Figure 28. Wink Start with Feature Group B&D - Outgoing Call Timing DiagramIISDN SMI MES

Pagina 207 - Sample Application

Immediate Start/Fixed Pause SignalingNovember 2009 285Immediate Start/Fixed Pause SignalingImmediate Start signaling applies to incoming calls only; F

Pagina 208 - November 2009 208

Immediate Start/Fixed Pause SignalingNovember 2009 286Figure 29. Immediate Start – Incoming Call Timing DiagramIISDN SMI MESSAGES: L4L3mALERTING_REQ

Pagina 209 - November 2009 209

Immediate Start/Fixed Pause SignalingNovember 2009 287Outgoing Call Processing (Fixed Pause Mode)During an outgoing call, the host receives an L3L4mPR

Pagina 210 - November 2009 210

Immediate Start/Fixed Pause SignalingNovember 2009 288Figure 30. Fixed Pause – Outgoing Call Timing Diagram IISDN SMI MESSAGES: L4L3mCALL_REQUESTL3L

Pagina 211 - Example 2

Ground Start SignalingNovember 2009 289Ground Start SignalingBrooktrout modules support two types of ground start signaling: Foreign Exchange - Offic

Pagina 212 - November 2009 212

The Bfv API FunctionsNovember 2009 29Hereafter each of the line states is referred to by the descriptive part of its name only (for example, LINE_STAT

Pagina 213

Ground Start SignalingNovember 2009 290Figure 31 shows how a Brooktrout module processes an incoming call received over an FXO ground start trunk.

Pagina 214 - Sessions

Ground Start SignalingNovember 2009 291Figure 31. FXO Ground Start – Incoming Call Timing DiagramIISDN SMI MESSAGES: L4L3mALERTING_REQUEST or L4L3mP

Pagina 215 - November 2009 215

Ground Start SignalingNovember 2009 292Outgoing Call ProcessingIf send_glare_err_event = 0 in the IISDN_ROBBED_BIT_DATA structure, the host receives a

Pagina 216 - November 2009 216

Ground Start SignalingNovember 2009 293Figure 32. FXO Ground Start – Outgoing Call Timing DiagramIISDN SMI MESSAGES: L4L3mCALL_REQUESTL3L4mPROGRESS

Pagina 217 - Outgoing IP Calls

Ground Start SignalingNovember 2009 294Figure 33. FXO Ground Start - Incoming Clear Timing DiagramIISDN SMI MESSAGES: L4L3mCLEAR_REQUESTL3L4mDISCONN

Pagina 218 - Incoming IP Calls

Ground Start SignalingNovember 2009 295Figure 34. FXO Ground Start - Outgoing Clear Timing DiagramIISDN SMI MESSAGES: L4L3mCLEAR_REQUESTL3L4mCLEAR_R

Pagina 219 - Verifying Dialed Strings

Ground Start SignalingNovember 2009 296FXS Ground StartTo configure a Brooktrout module for FXS ground start signaling, the host must issue an L4L3mEN

Pagina 220 - ISDN://+01-781-449-9009

Ground Start SignalingNovember 2009 297Figure 35. FXS Ground Start – Incoming Call Timing DiagramIISDN SMI MESSAGES: L4L3mALERTING_REQUEST or L4L3mP

Pagina 221 - November 2009 221

Ground Start SignalingNovember 2009 298Outgoing Call ProcessingIf send_glare_err_event = 0 in the IISDN_ROBBED_BIT_DATA structure, the host receives a

Pagina 222 - Sample INVITE Request

Ground Start SignalingNovember 2009 299Figure 36. FXS Ground Start – Outgoing Call Timing DiagramIISDN SMI MESSAGES: L4L3mCALL_REQUESTL3L4mPROGRESS

Pagina 223 - November 2009 223

page 3Hardware Limited WarrantyWarranty for Hardware Products: Dialogic Corporation or its subsidiary that originally sold the hardware product (&qu

Pagina 224 - November 2009 224

The Bfv API FunctionsNovember 2009 30Channel NumberingThe Bfv API uses two numbering schemes when referencing channels within a system. One is the uni

Pagina 225 - Call Progress Values

Ground Start SignalingNovember 2009 300Figure 37. FXS Ground Start - Incoming Clear Timing DiagramIISDN SMI MESSAGES: L4L3mCLEAR_REQUESTL3L4mDISCONN

Pagina 226 - November 2009 226

Ground Start SignalingNovember 2009 301Figure 38. FXS Ground Start - Outgoing Clear Timing DiagramIISDN SMI MESSAGES: L4L3mCLEAR_REQUESTL3L4mCLEAR_R

Pagina 227 - Using H.323 Address Forms

Loop Start SignalingNovember 2009 302Loop Start SignalingBrooktrout modules support two types of loop start signaling: FXO Loop Start FXS Loop Start

Pagina 228 - NAME:JohnSmith

Loop Start SignalingNovember 2009 303FXO Loop StartTo configure a Brooktrout module for FXO loop start signaling, the host must issue an L4L3mENABLE_C

Pagina 229 - TA:198.133.219.25,7814494100

Loop Start SignalingNovember 2009 304Incoming Call ProcessingDuring an incoming call, the host receives an L3L4mPRE_SEIZE message if send_preseize_eve

Pagina 230 - Common Failures

Loop Start SignalingNovember 2009 305Figure 39. FXO Loop Start – Incoming Call Timing DiagramIISDN SMI MESSAGES: L4L3mALERTING_REQUEST or L4L3mPROGR

Pagina 231 - November 2009 231

Loop Start SignalingNovember 2009 306Figure 40. FXO Loop Start – Outgoing Call Timing DiagramIISDN SMI MESSAGES: L4L3mCALL_REQUESTL3L4mPROGRESS L3L4

Pagina 232 - Failover Scenarios

Loop Start SignalingNovember 2009 307Figure 41. FXO Loop Start – Outgoing Clear Timing DiagramIISDN SMI MESSAGES: L4L3mCLEAR_REQUESTL3L4mCLEAR_REQUE

Pagina 233 - H.323 and SIP

Loop Start SignalingNovember 2009 308Figure 42. FXO Loop Start – Incoming Clear Timing DiagramIISDN SMI MESSAGES: L4L3mCLEAR_REQUESTL3L4mDISCONNECT

Pagina 234 - November 2009 234

Loop Start SignalingNovember 2009 309FXS Loop StartTo configure a Brooktrout module for FXS loop start signaling, the host must issue an L4L3mENABLE_C

Pagina 235 - November 2009 235

The Bfv API FunctionsNovember 2009 31Firmware Functions and MacrosWith the specialized firmware functions, you can: Download firmware to the module f

Pagina 236 - SIP to Q.931 Conversion

Loop Start SignalingNovember 2009 310event = 1 in the IISDN_ROBBED_BIT_DATA structure. This message is sent after the fixed pause timer expires. When

Pagina 237 - November 2009 237

Loop Start SignalingNovember 2009 311Figure 43. FXS Loop Start – Incoming Call Timing DiagramIISDN SMI MESSAGES: L4L3mALERTING_REQUEST or L4L3mPROGR

Pagina 238 - November 2009 238

Loop Start SignalingNovember 2009 312Figure 44. FXS Loop Start – Outgoing Call Timing DiagramIISDN SMI MESSAGES: L4L3mCALL_REQUESTL3L4mPROGRESS L3L4

Pagina 239 - November 2009 239

Loop Start SignalingNovember 2009 313Figure 45. FXS Loop Start – Outgoing Clear Timing DiagramIISDN SMI MESSAGES: L4L3mCLEAR_REQUESTL3L4mCLEAR_REQUE

Pagina 240 - November 2009 240

Loop Start SignalingNovember 2009 314Figure 46. Non-FXO/FXS RBS Protocols - Incoming Clear Timing DiagramIISDN SMI MESSAGES: L4L3mCLEAR_REQUESTL3L4m

Pagina 241 - Sending and Receiving Faxes

Loop Start SignalingNovember 2009 315Figure 47. Non-FXO/FXS RBS Protocols - Outgoing Clear Timing DiagramIISDN SMI MESSAGES: L4L3mCLEAR_REQUESTL3L4m

Pagina 242 - November 2009 242

November 2009 3168 - ISDN Call Processing and ManagementThis chapter describes ISDN call processing using BSMI-level call control.The chapter has the

Pagina 243 - Troubleshooting

November 2009 317BSMI interprets undecoded Q.931 packets from the network, removing information not needed by most applications and making it availabl

Pagina 244 - November 2009 244

ISDN Call Processing OverviewNovember 2009 318ISDN Call Processing OverviewThis subsection presents an overview of ISDN incoming and outgoing call set

Pagina 245 - Overview of SIP Functionality

ISDN Call Processing OverviewNovember 2009 319Notification of incoming calls comes via a SETUP_IND message which contains the B-channel number the net

Pagina 246 - November 2009 246

The Bfv API FunctionsNovember 2009 32Configuration FilesThe Bfv API uses several configuration files that let you configure the Bfv API and driver, ca

Pagina 247 - Overview of Operation

ISDN Call Processing OverviewNovember 2009 320It is also possible to configure BSMI to generate a SETUP_ACK rather than a CALL_PROCEEDING message upon

Pagina 248 -  Caller A's address

ISDN Call Processing OverviewNovember 2009 321Making an ISDN Outgoing CallA typical outgoing ISDN call is illustrated in Figure 49. In this call scena

Pagina 249 - November 2009 249

ISDN Call Processing OverviewNovember 2009 322Figure 49. ISDN Outgoing CallCall Proceeding (L3L4mCALL_PROCEEDING) is reported to the module but is n

Pagina 250 - November 2009 250

ISDN Call Processing OverviewNovember 2009 323ISDN Overlapped DialingThe Euro-ISDN protocol only allows 20 digits to be sent as a group (en-block) whe

Pagina 251 - November 2009 251

ISDN Call Processing OverviewNovember 2009 3243. The network responds to the DISCONNECT with a RELEASE message.4. The module generates two messages up

Pagina 252 - November 2009 252

ISDN Call Processing OverviewNovember 2009 325If you want manual control over the sending of RELEASE COMPLETE, set the field below to 1:l43.data.enabl

Pagina 253 - November 2009 253

ISDN Call Processing OverviewNovember 2009 326If the call is made using Switched 56 robbed bit signaling (not ISDN), there is an additional waiting pe

Pagina 254 - November 2009 254

Translating Q.931 to Simple Message InterfaceNovember 2009 327Translating Q.931 to Simple Message InterfaceTable 14 translates Q.931 messages to the a

Pagina 255 - November 2009 255

Using the overlap_rcv feature of L4L3mENABLE_PROTOCOLNovember 2009 328Using the overlap_rcv feature of L4L3mENABLE_PROTOCOLWhat is Overlap Receive?Whe

Pagina 256 - Using Third Party IP Stacks

Using the overlap_rcv feature of L4L3mENABLE_PROTOCOLNovember 2009 329BSMI Reference NotesSupport for Overlap Receive mode are enabled using the overl

Pagina 257 - Integrating Bfv IP Fax

The Bfv API FunctionsNovember 2009 33Module Status and Monitoring FunctionsWith the module status and monitoring functions, you can: Set and get the

Pagina 258 - Components

Using the overlap_rcv feature of L4L3mENABLE_PROTOCOLNovember 2009 330How Overlap Receive Mode Changes Call Control Events PresentationVolume 5, Bfv A

Pagina 259 - Configuration

Using the overlap_rcv feature of L4L3mENABLE_PROTOCOLNovember 2009 331Network Brooktrout Controller HostSetup (no sending completeor called party #IE)

Pagina 260 - November 2009 260

Q.921/Q.931 TimersNovember 2009 332Q.921/Q.931 TimersAn application can change the default behavior in Instant ISDN Software Level 2 and Level 3 param

Pagina 261 - Call Negotiation

Q.921/Q.931 TimersNovember 2009 333unsigned shortn200 Maximum number of retransmissions. Default value is 3.unsigned shortn201 Maximum number of oc

Pagina 262 - November 2009 262

Q.921/Q.931 TimersNovember 2009 334If layer 2 has been enabled, you will receive the data (termed payload) you expect with the layer 2 headers strippe

Pagina 264 - 7 - Robbed Bit Signaling

November 2009 3369 - Using the BSMI R2 Signaling Capability This chapter describes R2 signaling as used with BSMI-level call control. The chapter has

Pagina 265 - November 2009 265

CPE Signaling ModelNovember 2009 337Line Signaling) and MF compelled (MFC) (R2 Inter-register Signaling). Signaling is controlled via the BSMI interfa

Pagina 266 - November 2009 266

CPE Signaling ModelNovember 2009 338Table 17. Line Signaling Model State CAS Bits NotesOutbound AB Inbound ABIdle 10 10 Both outbound and inbound ch

Pagina 267 - November 2009 267

CPE Signaling ModelNovember 2009 339The inter-register signaling performs the exchange of address information via R2 MF tones. The split-band forward

Pagina 268 - Timer Definitions

The Bfv API FunctionsNovember 2009 34Structures and Return ValuesThe Bfv API uses argument structures to pass values to and from functions. The applic

Pagina 269 - November 2009 269

CPE Signaling ModelNovember 2009 340Information passed from the inbound side to the outbound side is: Called line condition (for example, free with c

Pagina 270 - November 2009 270

CPE Signaling ModelNovember 2009 341Figure 52 illustrates an example inter-register exchange in which the inbound protocol is configured to collect DN

Pagina 271 - November 2009 271

Enabling the R2 ProtocolNovember 2009 342Enabling the R2 ProtocolUsing the R2 protocol is similar to using the LEC protocols. Each individual channel

Pagina 272 - November 2009 272

Enabling the R2 ProtocolNovember 2009 343BSMI does not support varying any parameter settings from channel to channel on a single trunk. Trunk level c

Pagina 273 - November 2009 273

Enabling the R2 ProtocolNovember 2009 344Table 19 identifies the IISDN_R2_INTERREGISTER_PARAMS sub-structure containing the parameters required used t

Pagina 274 - November 2009 274

Enabling the R2 ProtocolNovember 2009 345pulseToneDuration Duration of a backward pulse signal (Ref. ITU Q.442).ms Typically [100 - 200]Outbound MFC T

Pagina 275 - Timing Diagrams

Enabling the R2 ProtocolNovember 2009 346Backward Channel Signal DefinitionssendNextDigitDNIS Signal request for next DNIS digit (state DNIS).Table 20

Pagina 276 - November 2009 276

Enabling the R2 ProtocolNovember 2009 347The MFC inter-register protocol is specified through a subset of the parameters in Table 17 on page 338 that

Pagina 277 - Incoming Call Processing

Enabling the R2 ProtocolNovember 2009 348Protocol Parameter MechanicsThe set of protocol parameters is specified according to a simple procedure. Indi

Pagina 278 - November 2009 278

Enabling the R2 ProtocolNovember 2009 349Forward ChannelThe set of forward channel actions to backward channel signals is defined in Table 21.Actions

Pagina 279 - Call Teardown Processing

The Bfv API FunctionsNovember 2009 35Miscellaneous Functions and MacrosSome administration functions and macros cannot be classified with other functi

Pagina 280 - November 2009 280

Enabling the R2 ProtocolNovember 2009 350Backward ChannelTable 19 identifies the set of backward inter-register signals. The tones defined are those u

Pagina 281

Enabling the R2 ProtocolNovember 2009 351Table 22 identifies the enumeration of Group B called line conditions. This enumeration forms the set of indi

Pagina 282 - November 2009 282

Enabling the R2 ProtocolNovember 2009 352Table 23 identifies the set of backward channel actions to forward signals.Table 23. IISDN_R2MFCP_BACKWARD_

Pagina 283

Enabling the R2 ProtocolNovember 2009 353Inbound calls require generation of call progress tones. If a call has been accepted, BSMI will generate a fi

Pagina 284 - November 2009 284

Enabling the R2 ProtocolNovember 2009 354makeTime3 See makeTime1; not used if numCadences = 2breakTime3 See breakTime1; not used if numCadences = 2num

Pagina 285 -  fgb_fgd_mode = 0 (not used)

Enabling the R2 ProtocolNovember 2009 355R2 Call ControlThis section presents an overview of R2 outbound and inbound call setup and tear down. LEC pro

Pagina 286 - November 2009 286

Enabling the R2 ProtocolNovember 2009 356Outbound Call SetupAn outbound call request sequence that results in call acceptance by the remote side is il

Pagina 287

Enabling the R2 ProtocolNovember 2009 357Call acceptance by the remote end is determined by BSMI during MFC inter-register signaling. At this point, B

Pagina 288 - November 2009 288

Enabling the R2 ProtocolNovember 2009 358An outbound call request sequence that results in call rejection by the remote side is illustrated in Figure

Pagina 289 - Ground Start Signaling

Enabling the R2 ProtocolNovember 2009 359Inbound Call SetupInbound call setup is illustrated in Figure 55. The host optionally receives an L3L4mPRE_SE

Pagina 290 - November 2009 290

The Bfv API FunctionsNovember 2009 36Call ControlCall control functions enable the application to set up, initiate, connect, disconnect, and perform o

Pagina 291 - November 2009 291

Enabling the R2 ProtocolNovember 2009 360In the event that a failure occurs after the optional L3L4mPRE_SEIZE message, but before the L3L4mSETUP_IND m

Pagina 292

Enabling the R2 ProtocolNovember 2009 361Call Tear DownFigure 56 illustrates a call disconnection initiated by the network. BSMI issues an L3L4mDISCON

Pagina 293 - November 2009 293

Enabling the R2 ProtocolNovember 2009 362Figure 57 illustrates a call disconnection initiated by the host application. The host issues an L4L3mCLEAR_R

Pagina 294 - November 2009 294

Enabling the R2 ProtocolNovember 2009 363Channel BlockingBSMI provides a mechanism for the Host application to block and unblock individual channels a

Pagina 295 - November 2009 295

November 2009 36410 - Packaging Your Application for Windows®This chapter describes how to package Dialogic® Brooktrout® software so that you can deli

Pagina 296 - FXS Ground Start

November 2009 365Brooktrout SDK consists of a collection of software components in a simple installation package known as boston.msi that installs the

Pagina 297 - Revised

Package OptionsNovember 2009 366A merge module consists of a component such as a .dll file and its related files, resources, registry entries, and set

Pagina 298

InstallationNovember 2009 367InstallationThe paragraphs in this section provide instructions for: Installing modules and virtual modules (SR140) Ins

Pagina 299 - RECEIVED

InstallationNovember 2009 368Installing SoftwareDepending on how you choose to deliver your package to your customers, Brooktrout provides its softwar

Pagina 300

InstallationNovember 2009 369msiexec \I boston.msi \qn INSTALLDIR=D:\ProductFolder SHOWLAUNCHPROGRAM=0 SHOWLAUNCHREADME=1.If you use your own installa

Pagina 301

The Bfv API FunctionsNovember 2009 37Typically, the BSMI is used as one component of a system. Firmware download, for example, is achieved using the c

Pagina 302 - Loop Start Signaling

InstallationNovember 2009 370bin\ axis_notice.txt License notice text filebin\ bostvb.dll Host based firmware dllbin\ brktcctrace.exe Call Tracer util

Pagina 303 - FXO Loop Start

InstallationNovember 2009 371config\ btcall.cfg User-defined configuration fileconfig\ BT_CPARM.CFG Country-specific configuration parameters fileconf

Pagina 304

InstallationNovember 2009 372driver\pnp\ brooktrout.cat Security catalog file for the pnp driver componentsdriver\pnp\ trxstream.inf INF file for i

Pagina 305

InstallationNovember 2009 373In addition to copying the files to the destination folders, this option registers (service installation) bostsrv.exe wit

Pagina 306

InstallationNovember 2009 374ShortcutsThe installation creates the following shortcut under Start –> Programs:Name LocationBrooktrout Configuratio

Pagina 307

InstallationNovember 2009 375During the full installation of the User Interface, a dialog appears indicating that a reboot is necessary. However, if y

Pagina 308

InstallationNovember 2009 376Configurable Brooktrout SDK Installation OptionsThe first time install Finish page provides an option to:Launch Configura

Pagina 309 - FXS Loop Start

InstallationNovember 2009 377Files Installed The module contains the following files:Registry Entries NoneEnvironment Variables NoneShortcuts NoneServ

Pagina 310

InstallationNovember 2009 378Configuration and Protocol Files (configdata.msm)Merge this module to install the configuration, protocol, and font files

Pagina 311

InstallationNovember 2009 379Firmware (firmware.msm)Merge this module to install the firmware files.Files Installed The module contains the following

Pagina 312

The Bfv API FunctionsNovember 2009 38Media ProcessingMedia processing refers to the application that is performed on the Brooktrout modules. Depending

Pagina 313

InstallationNovember 2009 380Configuration Tool (configtool.msm)Merge this module to install the configuration tool and its help files. Files Installe

Pagina 314

InstallationNovember 2009 381TECUpdate (TECUpdate.msm)Distribute TECUpdate to your end users even if you do not plan to distribute the Configuration T

Pagina 315 - November 2009 315

InstallationNovember 2009 382License Manager (softwarelicense.msm)Distribute the License Manager to all end users so that your customers can activate

Pagina 316 - Management

InstallationNovember 2009 383Utility Programs (utilities.msm)Merge this module to install the utility programs used for querying hardware and software

Pagina 317 - November 2009 317

InstallationNovember 2009 384Boston Host Service (bostsrv.msm)Merge this module to install and register the Boston Host Service.Files Installed The mo

Pagina 318 - ISDN Call Processing Overview

InstallationNovember 2009 385Installing the Merge Module FeatureThe Brooktrout SDK (sdk_windows.exe) includes the Merge Module feature that installs a

Pagina 319 - November 2009 319

InstallationNovember 2009 386The Brooktrout merge modules consist of: dynamic_dlls.msm (independent module) dynamic_dlls_x64.msm (independent module

Pagina 320 - Network Module Host

InstallationNovember 2009 387linking to the DLLs. With the system variable set, you can simply append the absolute path to these files to the Path env

Pagina 321 - Making an ISDN Outgoing Call

InstallationNovember 2009 388Figure 59. Merging Modules into a Single Feature

Pagina 322

InstallationNovember 2009 389Figure 60. Merging Modules into Multiple Features

Pagina 323 - ISDN Overlapped Dialing

The Bfv API FunctionsNovember 2009 39Voice Record and PlayWith the Bfv voice record and play functions, the application can: Open, play, and close a

Pagina 324

About Plug and Play ComponentsNovember 2009 390About Plug and Play ComponentsPlug and Play happens outside the process of the application that uses th

Pagina 325 - November 2009 325

About Plug and Play ComponentsNovember 2009 391Note: Existing Dialogic® Brooktrout® Fax Products SDK Developers: You cannot start or stop the Plug an

Pagina 326

About Plug and Play ComponentsNovember 2009 392Plug and Play Installation ScenariosThe following flowcharts show two scenarios that your users might f

Pagina 327 - If l43.data.enable_

About Plug and Play ComponentsNovember 2009 393Scenario 1 shows the install process beginning with installing the module. At the end of the process yo

Pagina 328 - L4L3mENABLE_PROTOCOL

About Plug and Play ComponentsNovember 2009 394Scenario 2 shows the install process beginning with installing the software and then installing the mod

Pagina 329 - BSMI Reference Notes

About Plug and Play ComponentsNovember 2009 395Structure of the Brooktrout PnP FolderThe Brooktrout PnP folder has the following structure:PnP | brook

Pagina 330 - November 2009 330

About Plug and Play ComponentsNovember 2009 396¾Once you identify the INF file (specifically trxstream.inf), the following actions occur. For an autho

Pagina 331 - November 2009 331

About Plug and Play ComponentsNovember 2009 397 Automatically launches the Brooktrout Configuration ToolFor details about the install package and the

Pagina 332 - Q.921/Q.931 Timers

About Plug and Play ComponentsNovember 2009 398displayed, and it instead signals the process level event. The configuration tool (upon getting unblock

Pagina 333 - November 2009 333

About Plug and Play ComponentsNovember 2009 399The Brooktrout Device Manager Property Page is a custom DLL (brktBdevpp.dll) that provides basic integr

Pagina 335

The Bfv API FunctionsNovember 2009 40Fax Functions The Bfv API provides a wealth of fax functions that allow you to control every aspect of sending an

Pagina 336 - Capability

Modifying Configuration FilesNovember 2009 400Modifying Configuration FilesThis section describes each of the configuration files. You can edit the co

Pagina 337 - CPE Signaling Model

Modifying Configuration FilesNovember 2009 401User-Defined Configuration File (btcall.cfg)The user-defined configuration file contains parameters that

Pagina 338 - November 2009 338

Including the Brooktrout Configuration ToolNovember 2009 402Call Control (callctrl.cfg) Configuration FileThis file contains configuration parameters

Pagina 339 - November 2009 339

Downloading Firmware FilesNovember 2009 403Downloading Firmware FilesIn addition to installing the software, you must: Update the boot ROM flash memo

Pagina 340 -  Network congestion

Removing SoftwareNovember 2009 404Removing Software The Add/Remove Programs selection on the Windows® Control Panel screen provides options to initiat

Pagina 341 - November 2009 341

Removing the Plug and Play DriverNovember 2009 405Removing the Plug and Play DriverInstalling a Brooktrout device using the Plug and Play Manager (Fou

Pagina 342 - Enabling the R2 Protocol

Removing the Plug and Play DriverNovember 2009 406This value contains the name of the backup copy of the trxstream.inf file that Windows® created duri

Pagina 343 - November 2009 343

Removing the Plug and Play DriverNovember 2009 4077. Examine the registry value InfPath located under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Con

Pagina 344 - November 2009 344

November 2008 408Appendix AG3 Legacy UtilitiesThis appendix describes legacy utilities that help manipulate raw G3 fax files.The utilities described i

Pagina 345 - Table 20

November 2009 409The G3 utilities include:ASCII to Fax Conversion UtilityConverts ASCII text files to Brooktrout G3 fax image files.Cut and Paste Util

Pagina 346 - November 2009 346

The Bfv API FunctionsNovember 2009 41Combining the high-, mid-, and low-level functions within the same application program is valid and useful. Need

Pagina 347 - November 2009 347

ASCII to Fax Conversion Utility (asctog3)November 2009 410ASCII to Fax Conversion Utility (asctog3)Converts ASCII text files to Brooktrout Group 3 fax

Pagina 348 - Protocol Parameter Mechanics

Cut and Paste UtilitiesNovember 2009 411Cut and Paste UtilitiesThe next two utility commands, g3chop and g3combin, permit cutting and pasting of fax i

Pagina 349 - Forward Channel

Cut and Paste UtilitiesNovember 2009 412Paste Utility (g3combin)Combines portions of Brooktrout Group 3 fax files, and, although it is most commonly u

Pagina 350 - Backward Channel

Epson to Fax Conversion Utility (epstog3)November 2009 413Epson to Fax Conversion Utility (epstog3)Converts Epson print files to Brooktrout Group 3 fa

Pagina 351 - November 2009 351

Epson to Fax Conversion Utility (epstog3)November 2009 414The epstog3 utility displays help information on converting graphics files to fax image file

Pagina 352 - November 2009 352

Fax Display and Edit Utility: Supershow (ss)November 2009 415Fax Display and Edit Utility: Supershow (ss)Displays a fax file on screen for viewing and

Pagina 353 - November 2009 353

Fax Display and Edit Utility: Supershow (ss)November 2009 416For example:ss -rv -iletsig.301displays a file named letsig.301 on the screen in reverse

Pagina 354 - November 2009 354

G3 Conversion Utility (g3cvt)November 2009 417G3 Conversion Utility (g3cvt)Converts a raw fax file between any of these formats—MH, MR, MMR, PCX, and

Pagina 355 - R2 Call Control

G3 Conversion Utility (g3cvt)November 2009 418For example:g3cvt MMR fax.mmr MH fax.mhconverts a fax file from MMR format to MH format.-h Causes g3cvt

Pagina 356 - Outbound Call Setup

Print Utility (p)November 2009 419Print Utility (p)Prints the fax file to any one of several printers. Command Syntaxp argument-listp [-ppmode] [-xXOF

Pagina 357 - November 2009 357

The Bfv API FunctionsNovember 2009 42In addition, the fax functions are divided into two subgroups: those that process infopkt-formatted data files an

Pagina 358 - November 2009 358

Print Utility (p)November 2009 420The Print Utility displays help information when no arguments are specified.Note: The Print utility automatically s

Pagina 360 - November 2009 360

November 2008 422Appendix BRecompiling On Linux PlatformsThis appendix provides instructions for recompiling the Boston driver to support new kernel p

Pagina 361 - Call Tear Down

November 2009 423Each of these directories also contains a file named bostbase.a, which is a library containing precompiled object files compiled for

Pagina 362 - November 2009 362

November 2009 424For Red Hat Linux releases ES/AS 4.0 and later:The kernel source itself is not required; instead, a development kit is required. This

Pagina 364 - Windows®

November 2009 426GlossaryAPI Application Programming InterfaceASR Automatic Speech RecognitionChannel A logical channel of operations provided by a

Pagina 365 - Windows Server® 64 bit

November 2009 427lapdid The term lapdid has its origins with the LAP-D protocol used for call control, but has an extended meaning for Brooktrout prod

Pagina 366 - Package Options

November 2009 428Stream A logical data entity that corresponds to a physical data line on a TDM bus.T1/E1 span The set of slots that comprises one T

Pagina 368 - Installing Software

The Bfv API FunctionsNovember 2009 43For voice applications, infopkts provide an easy means to build sophisticated interactive voice systems. Using in

Pagina 369 - November 2009 369

430AAbout merge modules 376Accessing the telephone system 36Active redirecting for Japan (call transfer) 187Add/Remove ProgramsRemoving packaged softw

Pagina 370 - November 2009 370

November 2009 431Checking for presence of 369BSMI APIBoston Simple Message Interface 23call control 36control messages 37BT_CPARM.CFG file 32btcall.cf

Pagina 371 - November 2009 371

November 2009 432dfax program 136Diagnostic utilities, tracing messages 101Dialingrestrictions 137dialingISDN overlapped 323Dialing database functions

Pagina 372 - November 2009 372

November 2009 433full duplex call transfer, see Two-channel call transfersFunctionsadministration and initialization 27board status and monitoring 33c

Pagina 373 - Registry Entries

November 2009 434Installing merge modules 385Instant ISDN Software, Layer 2 and Layer 3 parameters 332Integrating Brooktrout software with your softwa

Pagina 374 - Reboot Options

November 2009 435firmware 31miscellaneous 35Making registry entries 384Maximum transmit window (K) 333Media processingBfv functions 26types of applica

Pagina 375 - November 2009 375

November 2009 436Installation flowcharts 392Installation package 364InstallHome Path 373Instructions for installing boards 367Instructions for Plug an

Pagina 376 - November 2009 376

November 2009 437Release Link Trunk 202RELEASE Q.931 message 324, 325Remote fax node parameters 89Remote logging, turn on 134Removing Software, for pa

Pagina 377 - (dynamic_dlls_x64.msm)

November 2009 438SpawningInstallation package 364Speechinfopkt parameters 51recording and playing 139, 167, 169, 170recording and playing wave files 1

Pagina 378 - November 2009 378

November 2009 439BfvCallSWConnect 192BfvCallSWGetConns 192BfvCallSWGetInfo 192Conditions for termination 199Configuring echo cancellation 195Connectin

Pagina 379 - Firmware (firmware.msm)

The Bfv API FunctionsNovember 2009 44Tag Infopkts Contain speech parameter structures (which describe the sample rate, coding format, and data format

Pagina 382 - November 2009 382

The Bfv API FunctionsNovember 2009 45Data Infopkts Contain just the header and data, permitting applications to organize large files as a sequence of

Pagina 383 - November 2009 383

The Bfv API FunctionsNovember 2009 46User-Defined Infopkts Contain a header (the document’s title, the subject of the document, or the total number of

Pagina 384 - November 2009 384

The Bfv API FunctionsNovember 2009 47The Infopkt StreamAn infopkt stream is a file or memory buffer containing concatenated individual infopkts. The l

Pagina 385 - Integrating the Modules

The Bfv API FunctionsNovember 2009 48Figure 2. Flow Chart for Creating Infopkt Streams that Play Speech_PROMPT_MAPIndex to prompt fileIndexed Prompt

Pagina 386 - November 2009 386

The Bfv API FunctionsNovember 2009 49To create an infopkt stream file to test the fax functionality of your hardware and software:mkinfopk -o fax.ips

Pagina 387

page 5Bfv API Reference Manual Volumes 1 - 6Bfv API Reference Manual Volume 1 Administration, Management, and Configuration Bfv API Overview Adm

Pagina 388 - November 2009 388

The Bfv API FunctionsNovember 2009 50Figure 3. Creating Infopkt Streams that Transmit Facsimiles_DOC_PARAMSres, len., widthoptional/conditionalSTART

Pagina 389 - November 2009 389

The Bfv API FunctionsNovember 2009 51Infopkt StructureEvery infopkt consists of a header and data. The 4-byte header consists of a type code and a len

Pagina 390 - Hardware Wizard

The Bfv API FunctionsNovember 2009 52Fax Infopkt ParametersThe T.30 protocol requires two communicating fax machines to agree on several transmission

Pagina 391 - November 2009 391

The Bfv API FunctionsNovember 2009 53The strip parameters infopkts:INFOPKT_ASCII_STRIP_PARAMETERSINFOPKT_G3_STRIP_PARAMETERSdefine the actual strips o

Pagina 392 - November 2009 392

The Bfv API FunctionsNovember 2009 54When a single G3 strip consists of multiple G3 infopkts, do not insert an INFOPKT_G3_STRIP_PARAMETERS infopkt bet

Pagina 393 - November 2009 393

The Bfv API FunctionsNovember 2009 55This two-page document contains a G3 fax document as a cover page.INFOPKT_G3(Cover sheet; G3 data)It is followed

Pagina 394 - November 2009 394

November 2009 562 - Developing Applications Using the Bfv APIThis chapter describes how to develop applications with Brooktrout Fax Software.The chapt

Pagina 395 - About the INF File

Developing a Voice ApplicationNovember 2009 57Developing a Voice ApplicationRecording and Playing VoiceThe following steps for recording and playing b

Pagina 396 - Computer Telephony

Developing a Voice ApplicationNovember 2009 58Recording Voice1. Prepare channel 2 to record your message:voice -u 2 -r voice.ipsThe command voice invo

Pagina 397 - Found New Hardware

Using Prompt FilesNovember 2009 592. Dial the phone number of the channel you selected. Make sure the phone line is attached to the selected channel.T

Pagina 398 - Launch Now

November 2009 6Chapter 1 – About this Publication . . . . . . . . . . . . . . . . . . . . . . . . . 16Introduction . . . . . . . . . . . . . . . .

Pagina 399 - November 2009 399

Using Prompt FilesNovember 2009 60Using the mkprompt UtilityThe mkprompt utility converts multiple infopkt files into a Brooktrout prompt file and upd

Pagina 400 - Configuration Files

Developing a Fax ApplicationNovember 2009 61Updating an Existing Prompt FileTo update an existing Brooktrout prompt file, at the command line type:mkp

Pagina 401 - November 2009 401

Developing a Fax ApplicationNovember 2009 62Sending a Fax from One Channel to Another¾Use the fax sample program to send a fax from one channel to ano

Pagina 402 -  Wizard Mode

Developing a Fax ApplicationNovember 2009 63Sending a Fax to a Channel from an External Fax MachineUse the fax.c sample program to send a fax from an

Pagina 403 - Downloading Firmware Files

Developing a Fax ApplicationNovember 2009 64Using Bfv API Fax FunctionsThe following sections show how to send and receive facsimiles using the high-

Pagina 404 - Removing Software

Developing a Fax ApplicationNovember 2009 65args_admin.config_file_name = "usrcnfig.cfg"; BfvLineReset(lp,&args_admin);Resets the channe

Pagina 405 - November 2009 405

Developing a Fax ApplicationNovember 2009 66args_admin.config_file_name = "usrcnfig.cfg"; BfvLineReset(lp,&args_admin);Resets the channe

Pagina 406 - For Version 5.2

Developing a Fax ApplicationNovember 2009 67args_admin.config_file_name = "usrcnfig.cfg"; BfvLineReset(lp,&args_admin);Resets the channe

Pagina 407 - November 2009 407

Developing a Fax ApplicationNovember 2009 68for (;;) { BT_ZERO(args_fax); args_fax.s_ips = ips; if ((ret = BfvFaxNextPage(lp, &args_fa

Pagina 408 - Appendix A

Developing a Fax ApplicationNovember 2009 69args_admin.config_file_name = "usrcnfig.cfg"; BfvLineReset(lp, &args_admin);Resets the chann

Pagina 409 - November 2009 409

November 2009 7ContentsBSMI-Level Call Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Media Pro

Pagina 410

Developing a Fax ApplicationNovember 2009 70BT_ZERO(args_admin); BfvLineDetach (lp, &args_admin);Frees all the memory for the attached line and cl

Pagina 411 - Cut and Paste Utilities

Developing a Fax ApplicationNovember 2009 71BT_ZERO(args_t30); args_t30.bit_rate = BITRATE_14400; args_t30.scan_time = SCANTIME_0; BfvFaxT30Params(lp,

Pagina 412 - Paste Utility (g3combin)

Developing a Fax ApplicationNovember 2009 72BT_ZERO(args_strip); args_strip.fmt = DATA_ASCII; args_strip.resolution = RES_200H_100V; args_strip.width

Pagina 413

Developing a Fax ApplicationNovember 2009 73BT_ZERO(args_fax); args_fax.fname = "memo.txt"; args_fax.fmt = DATA_ASCII; BfvFaxSendFile(lp, &a

Pagina 414 - November 2009 414

Developing a Fax ApplicationNovember 2009 74BT_ZERO(args_fax); args_fax.local_id = "Id_string"; BfvFaxSetLocalID(lp,&args_fax);Sets the

Pagina 415

Developing a Fax ApplicationNovember 2009 75Sending a Fax Using Calls for TIFF-F FilesOne way to send a fax using function calls for TIFF-F files is d

Pagina 416 - For example:

Developing a Fax ApplicationNovember 2009 76for (;;) { BT_ZERO(args_fax); args_fax.s_tp = tp; args_fax.combine = 0; if (BfvFaxNextPage

Pagina 417 - G3 Conversion Utility (g3cvt)

Developing a Fax ApplicationNovember 2009 77BT_ZERO(args_tel); args_tel.timeout = 0L; BfvLineWaitForCall (lp, &args_tel);Waits for the detection o

Pagina 418

Developing a Fax ApplicationNovember 2009 78Receiving and Storing a Fax in MMR or MR FormatReceiving an Infopkt-Formatted Fax and Storing it in MMR Fo

Pagina 419 - Print Utility (p)

Developing a Fax ApplicationNovember 2009 79BT_ZERO(args_fax); args_fax.fmt = FMT_MMR_ALIGN_MSB; BfvFaxSetReceiveFmt(lp,&args_fax);Sets the format

Pagina 420 - November 2009 420

November 2009 8ContentsDetermining Fax Status Information from an Application . . . . . . . . . . . . . . . . . . . . . . . 89Chapter 4 – Debuggin

Pagina 421

Developing a Fax ApplicationNovember 2009 80BT_ZERO(args_fax); args_fax.fmt = FMT_MR_UNALIGN_MSB; BfvFaxSetReceiveFmt(lp,&args_fax);Sets the forma

Pagina 422 - Appendix B

Developing a Fax ApplicationNovember 2009 81BfvFaxEndReception(lp, &args_fax);Call this function when there are no more pages to receive.BT_ZERO(a

Pagina 423 - November 2009 423

Developing a Fax ApplicationNovember 2009 82args_page.length = 1143; args_page.ascii_pad = 1; BfvFaxPageParams(lp,&args_page);Sets the page parame

Pagina 424 - November 2009 424

Developing a Fax ApplicationNovember 2009 83Accessing an Infopkt Stream from an ApplicationThe function calls BfvFaxSendPage and BfvFaxNextPage are ty

Pagina 425

Developing a Fax ApplicationNovember 2009 84Processing, Bfv API Reference Manual for detailed information on how to access user-defined infopkts when

Pagina 426 - Glossary

Developing a Fax ApplicationNovember 2009 85The second method uses the normal TIFF sending functions to transmit a TIFF file that is preceded or succe

Pagina 427 - November 2009 427

Developing a Fax ApplicationNovember 2009 86/* A call to BfvFaxStripParams must be done */ /* here for combination with previous G3 */ /* data (from T

Pagina 428 - November 2009 428

Developing a Fax ApplicationNovember 2009 87BT_ZERO(args_strip); args_strip.fmt = DATA_G3; args_strip.resolution = RES_200H_100V; args_strip.width = W

Pagina 429

Developing a Fax ApplicationNovember 2009 88 if ((n = BfvTiffReadImage(&args_tiff)) <= 0) break; process_image(buf,n); }

Pagina 430

Developing a Fax ApplicationNovember 2009 89 BfvTiffWriteImage(&args_tiff); args_tiff.ifd_field = &ifd_field; while (determine_next

Pagina 431 - November 2009 431

November 2009 9Contentsboardmon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 432 - November 2009 432

Developing a Fax ApplicationNovember 2009 90Transfer Mode The application normally keeps track of its own operation mode (transmitting or receiving),

Pagina 433 - November 2009 433

November 2009 913 - DebuggingThis chapter describes how to use the debugging tools.The chapter has the following sections: Bfv API Debug Mode BfvDat

Pagina 434 - November 2009 434

Bfv API Debug ModeNovember 2009 92Bfv API Debug ModeSome components of the Bfv API have their own unique debug functions to produce debug information

Pagina 435 - November 2009 435

BfvLineDumpStructureNovember 2009 93BfvLineDumpStructureThe BfvLineDumpStructure function (Volume 1, Bfv API Reference Manual) dumps the contents of t

Pagina 436 - November 2009 436

Dump HistoryNovember 2009 94Invoking Dump HistoryYou can invoke Dump History from within an application or directly from the command line. From withi

Pagina 437 - November 2009 437

Dump HistoryNovember 2009 95Normally all history is collected in a single main history buffer accessible as module 1 channel 1. During driver configur

Pagina 438 - November 2009 438

Dump HistoryNovember 2009 96Interpreting the OutputThe output from Dump History consists of a status header line at the beginning followed by command

Pagina 439 - November 2009 439

Dump HistoryNovember 2009 9714:02:20.52.00008291 "M2: Queued incoming packet" Pkt bytes: 17 00 24 02 02 FE 01 01 01 02 01 0C 00 08 03 04

Pagina 440 - November 2009 440

Parsed Command InformationNovember 2009 98Timing InformationTiming information is reported first and usually takes the form:hr:min:sec.fracts.sequence

Pagina 441

Parsed Command InformationNovember 2009 99First is the facility value in parentheses followed by the name of the facility (01 and ADMIN). Next is the

Commenti su questo manuale

Nessun commento