Programming
89
Modero G4 Touch Panels - Configuration & Programming Manual
Audio Commands
SIP Commands - Master to Panel (Cont.)
^PHN-SETUP-PORT
Setup port for SIP Server connection command - Sets the port number for the proxy server.
•
Syntax
:
"'^PHN-SETUP-PORT,<port>'"
•
Variable
:
port: The port for the proxy server
•
Example
:
SEND_COMMAND Panel,"'^PHN-SETUP-PORT,5060'"
Set this extension to connect to the SIP server (SIP proxy address) to port 5060.
^PHN-SETUP-PROXYADDR
Setup SIP server address command - Sets the IP address for the SIP server (SIP proxy address).
•
Syntax
:
"'^PHN-SETUP-PROXYADDR,<IP>'"
•
Variable
:
IP: The IP address for the proxy server
•
Example
:
SEND_COMMAND Panel,"'^PHN-SETUP-PROXYADDR,192.168.223.111'"
Set the extension to try the SIP server (SIP proxy address) at the IP of 192.168.223.111.
^PHN-SETUP-STUNADDR
Sets the IP address for the STUN server.
Syntax
:
"’^PHN-SETUP-STUNADDR,<IP>’"
Variable
:
IP = The IP address for the STUN server
Example
:
SEND_COMMAND Panel,"’^PHN-SETUP-STUNADDR,192.168.223.111’"
^PHN-SETUP-USERNAME
Setup SIP username command - Sets the user name for authentication with the SIP server (SIP proxy
address).
•
Syntax
:
"'^PHN-SETUP-USERNAME,<username>'"
•
Variable
:
username: The user name (usually the phone extension)
•
Example
:
SEND_COMMAND Panel,"'^PHN-SETUP-USERNAME,6003'"
Set the extension to authenticate to the SIP server with the username of 6003.
Audio Commands
^ADS
Selects the audio device to use.
•
Syntax
:
"'^ADS-<device>'"
•
Variables
:
1 = Built-in Speaker
2 = USB Headset
3 = Bluetooth Headset
?ADS
Queries the currently selected audio device (returned in custom event).
•
Syntax
:
"'?ADS'"
Queries the currently selected audio device (returned in custom event).
CUSTOM.TYPE = EVENTID = 1325
CUSTOM.ID = ADDRESS = 0
CUSTOM.FLAG = 0
CUSTOM.VALUE1 = Device type (1=Built-in speaker, 2=USB Headset, 3=Bluetooth Headset)
CUSTOM.VALUE2 = 0
CUSTOM.VALUE3 = 0
CUSTOM.TEXT = blank
^ICM
Sets the microphone level during an intercom call. Used to set the microphone level during an intercom call (0 to 100).
•
Syntax
:
"'^ICM-MICLEVEL,<level>,[device]'"
Set the state of the microphone on a panel to muted (1) or unmuted (0). At the start of each call the microphone starts out
unmuted.
"'^ICM-SPEAKERLEVEL, <level>,[device]'"
Intercom modify command.
Used to set the speaker level during an intercom call (0 to 100).