libvpb
4.2.61
|
Classes | |
struct | VPB_TONE_MAP |
struct | VPB_CALL |
Functions | |
int WINAPI | vpb_dial_sync (int handle, const std::string &dialstr) |
Dials a string of digits on the port for handle. More... | |
int WINAPI | vpb_dial_async (int handle, const std::string &dialstr) |
Dials a string of digits on the port for handle. More... | |
int WINAPI | vpb_get_call (int handle, VPB_CALL *vpb_call) |
int WINAPI | vpb_set_call (int handle, VPB_CALL *vpb_call) |
int WINAPI | vpb_call_sync (int handle, char *dialstr) |
int WINAPI | vpb_call_async (int handle, char *dialstr) |
int WINAPI | vpb_call_async_jp (int handle, char *dialstr) |
int WINAPI | vpb_call_sync_jp (int handle, char *dialstr) |
int WINAPI vpb_dial_async | ( | int | handle, |
const std::string & | dialstr | ||
) |
Dials a string of digits on the port for handle.
This function will return immediately. A VPB_DIALEND
event will be sent for handle when dialling has completed on the port. For channel types that support out of band dialling, and are in a suitable state to do so, that mechanism will be used to send the dial string, otherwise DTMF
tones will be used for signalling.
handle | The handle to the port to dial on. |
dialstr | The string of digits to dial. |
DTMF
digits is represented by the following characters in a dial string:0 1 2 3 4 5 6 7 8 9 * # A B C D
&
- Send a hook flash
, - (comma) Pause dialling for 1 second vpb_settone()
which permits additional user defined characters to be associated with tones and subsequently included in dialstr. VPB_OK
if all goes well. various | exceptions may be thrown in the event of an error. |
int WINAPI vpb_dial_sync | ( | int | handle, |
const std::string & | dialstr | ||
) |
Dials a string of digits on the port for handle.
This function will not return until the full string has been dialled. For channel types that support out of band dialling, and are in a suitable state to do so, that mechanism will be used to send the dial string, otherwise DTMF
tones will be used for signalling.
handle | The handle to the port to dial on. |
dialstr | The string of digits to dial. |
DTMF
digits is represented by the following characters in a dial string:0 1 2 3 4 5 6 7 8 9 * # A B C D
&
- Send a hook flash
, - (comma) Pause dialling for 1 second vpb_settone()
which permits additional user defined characters to be associated with tones and subsequently included in dialstr. VPB_OK
if all goes well. various | exceptions may be thrown in the event of an error. |