Installing the VoIP V3 Indoor Intercom 61

Command Interface Post Commands

2.6 Command Interface

Some functions on the device can be activated using simple POST commands to the web interface. The examples in Table 2-19use the free unix utility, wget commands. However, any program that can send HTTP POST commands to the device should work.

2.6.1 Command Interface Post Commands

Note These commands require an authenticated session (a valid username and password to work).

Table 2-19. Command Interface Post Commands

Device Action

HTTP Post Commanda

 

 

 

Trigger relay (for configured delay)

wget --user admin --password admin --auth-no-challenge --quiet -

 

O /dev/null "http://10.0.3.71/cgi-bin/command.cgi" --post-data

 

"test_relay=yes"

 

 

 

 

 

 

Place call to extension (example: extension 130)

wget --user admin --password admin --auth-no-challenge --quiet -

 

O /dev/null "http://10.0.3.71/cgi-bin/command.cgi" --post-data

 

"call=130"

 

 

 

 

 

 

 

 

 

 

Place point-to-point callb

wget

--user admin

--password admin

--auth-no-challenge

--quiet -

(example: IP phone address = 10.0.3.72)

O /dev/null "http://10.0.3.71/cgi-bin/command.cgi" --

post-data

 

"call=10.0.3.72"

 

 

 

 

 

 

 

 

 

 

Terminate active call

wget

--user admin

--password admin

--auth-no-challenge

--quiet -

 

O /dev/null "http://10.0.3.71/cgi-bin/command.cgi" --

post-data

 

"terminate=yes"

 

 

 

 

 

 

 

 

 

 

Force reboot

wget

--user admin

--password admin

--auth-no-challenge

--quiet -

 

O /dev/null "http://10.0.3.71/cgi-bin/command.cgi" --

post-data

 

"reboot=yes"

 

 

 

 

 

 

 

 

 

 

Test Audio button

wget

--user admin

--password admin

--auth-no-challenge

--quiet -

 

O /dev/null "http://10.0.3.71/cgi-bin/command.cgi" --post-data

 

"test_audio=yes"

 

 

 

 

 

 

 

 

 

 

Announce IP address

wget

--user admin

--password admin

--auth-no-challenge

--quiet -

 

O /dev/null "http://10.0.3.71/cgi-bin/command.cgi" --

post-data

 

"speak_ip_address=yes"

 

 

 

 

 

 

 

 

 

Play the "0" audio file

wget

--user admin

--password admin

--auth-no-challenge

--quiet -

 

O /dev/null "http://10.0.3.71/cgi-bin/audioconfig.cgi"

--post-data

 

"play_0=yes"

 

 

 

 

 

 

 

 

 

 

Play the "1" audio file

wget

--user admin

--password admin

--auth-no-challenge

--quiet -

 

O /dev/null "http://10.0.3.71/cgi-bin/audioconfig.cgi"

--post-data

 

"play_1=yes"

 

 

 

 

 

 

 

 

 

 

Play the "2" audio file

wget

--user admin

--password admin

--auth-no-challenge

--quiet -

 

O /dev/null "http://10.0.3.71/cgi-bin/audioconfig.cgi"

--post-data

 

"play_2=yes"

 

 

 

 

 

 

 

 

 

 

Play the "3" audio file

wget

--user admin

--password admin

--auth-no-challenge

--quiet -

 

O /dev/null "http://10.0.3.71/cgi-bin/audioconfig.cgi" --post-data

 

"play_3=yes"

 

 

 

 

 

 

 

 

 

 

 

Operations Guide

930500E

CyberData Corporation

Page 68
Image 68
CyberData 11113, 11111 manual Command Interface Post Commands