0
Отвечен

Creation of string for Polycom call

Iain Brew 7 лет назад в Приложения / i3 Pro обновлен Dmitry - support (expert) 7 лет назад 8

Hello

I am wanting to control a Polycom RealPresence Group 700 via Telnet. To place a call, I need to send the following command:


dial manual auto <ip address>


I'm trying to figure out the best way to have a keypad on my control interface (1 2 3 4 5 6 7 8 9 0 and .) and have that form into a string which is sent in the <ip address> section of the command. 


i.e. 

<button> Place a call - click to open keypad and Call button

Type in numbers on on screen keypad

Press <button> Call - this sends the 'dial manual auto <ip address>' command to the Polycom unit


Should I be using tokens to make this happen? A little bit stuck right now!



Ожидает ответа пользователя

Hello!


Here is an example of such an implementation.


VirtualKey v3.irpz

Thabks Dmitry!!!

Will try this out when I'm back at work. The Polycom requires a password for Telnet, so might try to use the RS232 port via global cache instead to bypass that. 

HI Dmitry

Thank you for your code. I have changed my work a little so that I am controlling the Polycom unit via RS232 (Global Cache IP2SL). The string is currently set at:


device.Send(["'dial manual auto " + text + "',0x0D"])


The Global Cache ethernet light will flash as I hit commands, but the serial port does not. I have read through the documentation and understand that GC devices have a 'transport_id' but I am unsure which ID I should be using for the IP2SL.

Why don't you want to use SIP? http://dev.iridiummobile.net/SIP-telephony/en

Telnet authorization on JS is also possible

HI Andrey

I looked at this however it is not a 'control panel to Polycom call,' rather the ability to control a Polycom unit to talk to other Polycom units. What is the best way to inject the password via JS for telnet authorisation? I am very new to JS so teaching myself along the way using examples from this forum and the web.

Сервис поддержки клиентов работает на платформе UserEcho