With BioStation A2, FaceStation 2, X-Station 2, and BioStation 3, 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;
uint32 registrationDuration;
uint32 speakerVolume;
uint32 micVolume;
string AuthorizationCode;
bool showExtensionNumber;
bool useOutboundProxy;
string proxyURL;
uint32 proxyPort;
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 |
- registrationDuration
- Specify the cycle of updating the relevant information to the SIP server.
Set in seconds and must be between 60 and 600.
- speakerVolume
- Specify the speaker volume information for the intercom in the range 0 to 100. The default value is 50.
- micVolume
- Specify the microphone volume information for the intercom in the range 0 to 100. The default value is 50.
- authorizationCode
- Specify the authentication code value required to connect to the SIP server.
- useOutboundProxy
- Specify whether the Outbound Proxy Server is configured.
- proxyURL
- Specify the IP address of the Outbound Proxy Server.
- proxyPort
- Specify the Outbound Proxy Server port.
- 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 |