dlfax

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 <num>] [-e <reason>] -j [-u <unitnum>] [-s <unitnum>] <infopkt_file> -p -r

Arguments

 

-d <num>

Divert to a given number, or else wait for a

 

diverted-to call.

-e <reason>

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 <unitnum>

Use specified unit number.

-s <unitnum>

Use specified unit number for second LP.

<infopkt_file>

Name of the file to play or record to.

-p

Play.

-r

Record. The default is 10 seconds.

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 -cargument, the application uses the dialing restrictions of the specified country. If you include the -largument, 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 -coption. To test this functionality, set the country code in the user configuration file to the desired country.

November 2009

137

Page 137
Image 137
Dialogic 6.2 manual Dlfax, November 137