Send the voice message from the file FileName.
Parameter string Params:
| Parameter |
Description |
| CNG_done |
Upon receiving CNG tone will be (value 1) or not (value
0) finished recording. |
| terminate_codes |
String of DTMF codes. Receiving of any of these code will finish the recording.
|
| maxlen |
Maximal length of received DTMF. |
| timeout |
Maximum time of replaying. |
| cng_done |
Value 1 sets the detecting of fax. Value 0 otherwise.
|
| buffer |
Value 1 sets the storing the file into the buffer and replayed
together with the next file with the buffer set to 0. |
In DTMF is returned DTMF received during the replaying.
Output parameter string StatusParams:
| Parameter |
Description |
| status |
Possible values:
| timeout |
recording was interrupted after timeout |
| silence |
the silence was on the phone line too long |
| dtmf_full |
DTMF length was reached (see maxlen) |
| dtmf_timeout |
recording was finnished afters timeout |
| dtmf_endchar |
some of the terminate_codes was pressed |
| fax |
fax detected |
| noanswer |
no answer detected |
| unknown |
unknown state |
|
| dtmf |
DTMF received during the recording. |
Return code see method GetState.