beautypg.com

Dlfax – Dialogic 6.2 User Manual

Page 137

background image

dlfax

November 2009

137

3. If the incoming call is accepted, the divert program uses the

speed_infopkt_file recording and playing routines to record and

play speech.

Command Syntax

divert [-d ] [-e ] -j [-u ]

[-s ] -p -r

dlfax

The dlfax program uses the highest level infopkt sending routines to

send facsimiles and the dialing database functions to implement

dialing restrictions. If you include the -c argument, the application

uses the dialing restrictions of the specified country. If you include

the

-l

argument, the application only lists the contents of the

dialing database; it does not dial.

Note:

If you change the country code between runs of the dlfax

sample, it can cause incorrect blacklisting of phone numbers.

When you change the country code, delete the dialdb file

created by the sample.

Pre-blacklisted numbers do not work when using the -c option. To

test this functionality, set the country code in the user configuration

file to the desired country.

Arguments

-d

Divert to a given number, or else wait for a

diverted-to call.

-e

If -d, then -e specifies the redir_reason (default

is DIVERT_UNCONDITIONAL).

-j

If waiting for a diverted-to call, reject the

diverted-to call.

-u

Use specified unit number.

-s

Use specified unit number for second LP.

Name of the file to play or record to.

-p

Play.

-r

Record. The default is 10 seconds.