With BioStation A2 and FaceStation 2, you can use VoIP(Voice over IP). Refer to the article for details.
Config
message VOIPConfig {
string serverURL;
uint32 serverPort;
string userID;
string userPW;
bool enabled;
uint32 exitButton;
uint32 DTMFMode;
repeated UserPhone phones;
}
- serverURL
- The URL of the SIP server.
- serverPort
- The port number of the SIP server.
- userID
- The user ID to access the SIP server.
- userPW
- The password to access the SIP server.
- enabled
- Indicate whether VoIP is enabled.
- exitButton
- A key to be used as an exit button.
Value |
Key |
|
0 |
‘*’ |
|
1 |
’#’ |
|
2 ~ 11 |
|
‘0’ ~ ‘9’ |
- DTMFMode
- Specify how the DTMF(Dual Tone Multi Frequency) signals are delivered.
Value |
Mode |
0 |
RFC2833 |
1 |
SIP-INFO |
- phones
- Up to 32 extension numbers can be configured.
message UserPhone {
string phoneNumber;
string description;
}
- phoneNumber
- The extension number.
- description
- Textual description of the extension number.
GetConfig
Get the VoIP configuration of a device.
Parameter |
Type |
Description |
deviceID |
uint32 |
The ID of the device |
Parameter |
Type |
Description |
config |
VOIPConfig |
The VoIP configuration of the device |
SetConfig
Change the VoIP configuration of a device.
Parameter |
Type |
Description |
deviceID |
uint32 |
The ID of the device |
config |
VOIPConfig |
The VoIP configuration to be written to the device |
SetConfigMulti
Change the VoIP configurations of multiple devices.
Parameter |
Type |
Description |
deviceIDs |
uint32[] |
The IDs of the devices |
config |
VOIPConfig |
The VoIP configuration to be written to the devices |