GRANDSTREAM logoDe dynamyk fan Grandstream Networks, Inc.
GSC3505/3510/3506/3516 Series
CTI Guide

GSC35XX: CTI Guide

Fersyk opmaak

It algemiene CTI-kommando-oanfraachformaat is:  http://phone-IP-Address-cgi-bin-function.passcode.PASSWORD&param.value

"Funksje" is ien fan CTI-funksjes lykas beskreaun yn folgjende haadstik (api-get_line_status foar example)
"Wachtwurd" is it admin-nivo wachtwurd fan it tillefoan "Param = wearde" is de parameter foar spesifyk CTI-funksjetype

Antwurd formaat
Posityf antwurd sûnder weromkommende wearde
{"antwurd":"sukses", "body": "folslein"}

Negatyf antwurd
{"antwurd":"flater", "body": "mislearre"}
Posityf antwurd mei weromkommende wearden
{"response":"success", "body": [{"line": 1, "state": "idle", "acct": "",,"remotename": "", "remotenumber":
"", "aktyf": 0}, {"line": 2,"state":"idle", "acct": "", "remotename": "", "remotenumber": "", "aktyf":
0},{"line": 3, "state": "idle", "acct": "", "remotename": "", "remotenumber": "", "aktyf": 0}]}

TYPE CTI FUNKSJES

Ferwize asjebleaft nei de folgjende tabel dy't it type CTI-funksjes beskriuwt dy't stipe wurdt:

Type Funksje Beskriuwing Metoade
Telefoanstatus api-get_phone_status Retrives telefoan status KRIJE
Oprop meitsje api-make_call Meitsje in algemiene oprop KRIJE
Phone Operations api-phone_operation Stjoert kommando's foar tillefoanoperaasjes (ophingje, oprop beantwurdzje, oprop ôfwize ...) KRIJE
Systeem operaasjes api-sys_operation Stjoert kommando's foar systeemoperaasjes (weromsette, opnij starte ...) KRIJE
Krij lokale muzyklist api-get_music krije de lokale muzyklist opslein yn apparaat KRIJE
Muzykspielkontrôle api-ctrl_music_play kontrolearje it lokale muzykspieljen of stopje KRIJE

CTI funksjes stipe

CTI KOMMANDOEN EN EXAMPLES

Folgjende kommando's binne útfierd yn in web browser op kompjûter yn deselde telefoan syn netwurk. Yn it eksamples hjirûnder, in GSC3516 apparaat wurdt brûkt mei IP adres 192.168.5.135 en admin nivo wachtwurd ynsteld op standert (passcode = admin).

Phone Status Funksje

Algemiene opmaak
It algemiene formaat fan CTI-kommando om tillefoanstatus op te heljen is:
http://Phone-IP-Address-cgi-bin-api-get_phone_status.passcode=PASSWORD

Ynlieding ta URL parameters
wachtwurd : WACHTWOORD
Example

Fersyk http://192.168.5.135-cgi-bin-api-get_phone_status.passcode=admin
Response Tillefoan beskikber
{"antwurd":"sukses",
, "misc": "1"}
"body": "beskikber"
Tillefoan drok
{"antwurd":"sukses",
"misc": "1"}
"body": "busy",

Oprop meitsje

Algemiene opmaak
It algemiene formaat fan CTI-kommando om oprop te begjinnen is:
http://Phone-IP-Address-cgi-bin-api-make_call.passcode=PASSWORD&phonenumber=NUMBER

Ynlieding ta URL parameters
wachtwurd : WACHTWOORD
telefoannûmer: telefoannûmer
Example

Fersyk http://192.168.5.135-cgi-bin-api-make_call.passcode=admin&phonenumber=35463
Response { "antwurd": "sukses", "lichem": wier }

Phone Operations Funksjes

Algemiene opmaak
It algemiene formaat fan CTI-kommando om tillefoanoperaasjes te ferstjoeren is:
http://Phone-IP-Address-cgi-bin-api-phone_operation.passcode=PASSWORD&cmd=CMD

Ynlieding ta URL parameters
wachtwurd : WACHTWOORD
cmd: telefoan operaasjes funksjes
Examples

Operaasje Funksje Examples
  endcall Einigje oprjochte oprop  http://192.168.5.135-cgi-bin-api-phone_operation.passcode=admin&cmd=endcall
 oprop akseptearje Akseptearje ynkommende oprop http://192.168.5.135-cgi-bin-api-phone_operation.passcode=admin&cmd=acceptcall
rejectcall Ynkommende oprop ôfwize http://192.168.5.135-cgi-bin-api-phone_operation.passcode=admin&cmd=rejectcall
stomme Dempe of oansette ûnder petearen http://192.168.5.135-cgi-bin-api-phone_operation.passcode=admin&cmd=mute
de earste trigger is mute, dan is de twadde trigger unmute.

System Operations Functions
Algemiene opmaak
It algemiene CTI-kommando om systeemoperaasjes te ferstjoeren is:
http://Phone-IP-Address-cgi-bin-api-sys_operation.passcode=PASSWORD&request=CMD

Ynlieding ta URL parameters
wachtwurd : WACHTWOORD
fersyk: systeem operaasjes funksjes
Examples

Operaasje   Funksje Example
REBOOT Reboot it apparaat http://192.168.5.135/cgi-bin/api-sys_operation?passcode=admin&request=REBOOT
RESETTE Reset it apparaat nei standertynstellingen http://192.168.5.135-cgi-bin-api-sys_operation.passcode=admin&request=RESET

Krij lokale muzyklist

Algemiene opmaak
It algemiene CTI-kommando om lokale muzyklist te krijen is:
http://Phone-IP-Address-cgi-bin-api-get_music.passcode=PASSWORD

Ynlieding ta URL parameters
wachtwurd : WACHTWOORD
Example

Fersyk http://192.168.5.135-cgi-bin-api-get_music.passcode=admin
Response {"antwurd":"sukses",
"lichem":[{"fileNamme": "music1.ogg", "paad":
"/var/user/music/music1.ogg"},
{"fileName": "music2.ogg", "path":"/var/user/music/music2.ogg"}
]}

Muzykspielkontrôle

Algemiene opmaak
It algemiene CTI-kommando om muzykspieljen te spyljen of te stopjen is:
http://Phone-IP-Address-cgi-bin-api-ctrl_music_play.passcode=PASSWORD&state=STATE&type=TYPE&url=URL&loop=LOOP

Ynlieding ta URL parameters

wachtwurd : WACHTWOORD
steat: stopje of muzyk spylje. (0 - stop; 1 - spielje)
type: 1, Standert wearde
url : Muzykôfspielpaad, Jo kinne muzykpaden krije fia de "api-get_music" ynterface
loop: Single of looping playback. (0 - single; 1 - loop)

Example

Funksje Example
Loop Wiedergabe http://192.168.5.135-cgi-bin-api-ctrl_music_play.passcode=admin&state=1&type=1&url=/var/user/music/music1.ogg&loop=1
Single Playback http://192.168.5.135/cgi-bin/api-ctrl_music_play.passcode=admin&state=1&type=1&url=/var/user/music/music1.ogg&loop=0
Stop Wiedergabe http://192.168.5.135/cgi-bin/api-ctrl_music_play.passcode=admin&state=0&type=1&url=/var/user/music/music1.ogg&loop=0

Stipe modellen

Model namme CTI Support Firmware easken
GSC3505 JA 1.0.3.8 of heger
GSC3510 JA 1.0.3.8 of heger
GSC3506 JA 1.0.3.8 of heger
GSC3516 JA 1.0.3.8 of heger

Stipe GSC-modellen

Stipe nedich?
Kin jo it antwurd net fine wêr't jo nei sykje? Sit gjin soargen, wy binne hjir om te helpen!
KONTAKT SUPPORT

GRANDSTREAM logo

Dokuminten / Resources

GRANDSTREAM GSC3505 1 Way Iepenbier Adres SIP Intercom Speaker [pdf] Brûkersgids
GSC3505 1 Way Iepenbier Adres SIP Intercom Speaker, GSC3505, 1 Way Iepenbier Adres SIP Intercom Speaker, Iepenbier adres SIP Intercom Speaker, Adres SIP Intercom Speaker, SIP Intercom Speaker, Intercom Speaker

Referinsjes

Lit in reaksje efter

Jo e-mailadres sil net publisearre wurde. Ferplichte fjilden binne markearre *