cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13007
Views
50
Helpful
39
Replies

Uploading TelePresence macros or startup scripts via API

seanscott83
Level 1
Level 1

The idea of macros in CE 9.2 is great, and I've already configured a few test macros that add some helpful functionality for end users. My issue is over 50 of our ~150 endpoints is an SX10 and it's hard to add functionality to some devices but not all as the big sell when we migrated from Polycom to Cisco was "the same UI no matter what room you're in."

 

The idea of the ability to receive user feedback directly from the Touch 10 is something I've wished we could implement for a while. After some useful reading on this thread, it looks like you can actually use the new UI elements like text boxes, and have the remote feedback server listen for events. For example:

 

  1. Devices is registered to HTTP feedback server
  2. Device call status changes from in call to not in call and sends feedback to HTTP server
  3. HTTP server sends xCommand UserInterface Message TextInput Display"and records the feedback in a way we can parse.

I think we could do almost anything else you'd use macros for but do the automation on the webserver side since I already did this in CE 8 to automatically swap the content location during a call.

 

My issue now is trying to figure out how to automate the process of getting these onto the endpoints. To automatically register with a feedback server, you need to have a startup script, but according to the API documentation, you can only do so via the GUI, which is a pain to manually do on 150+ devices. Similarly, is there a way to upload and enable macros on the endpoints? It would be a nightmare if every time you wanted to add/remove/update a script, you had to manually log into the web GUI of every device.

 

Thoughts?

 

Thanks,

Sean

39 Replies 39

Do the endpoints have to be provisioned for this to work?

No, the endpoints do not have to be provisioned. You can simply host the backup file on any HTTP server on your local network and distribute the download command to the codecs with a script (the codecs obviously have to be able to reach the HTTP server where the backup file is located).

 

/Magnus

Macro distribution all working great now - thank you. 

 

Can this also be used to distribute Service Certificates?  That is - grab the cert off a web server and upload?

Unfortunately certificates are currently not part of the backup / restore solution. It is easy to distribute certificates today by using the API but by adding the functionality to the provisioning feature would make it even simpler. It has been mentioned before to add it but I do not know the status of this. Maybe file a feature request? :=)

 

/Magnus

So using the API, I'd created a multi line command with the cert text enclosed <body>Certificate Text</body>. 

 

Is there a character limit on multi-line commands?  I get my cert text truncated about 900 chars in.

Should have added - I'm copying the XML into a TMS template - that's where it is truncating.

The TMS Custom Command template field has a ~1000 character limit. Mostly you won't be able to use it for multiline commands.

Hello,

 

I know how to use Macros but not done of using XAPI on SX10 using HTTP Feedback listener. Can you please point me on doing the configuration from starch? 

Also where does the XAPI file need to be uploaded and where do I configure on SX10 to point it to that file?

 

I'm looking to have a Standby Button on the Touch and when triggered the system need to go to Standby Mode. 

 

Also I'm looking to have the SX10 to go to Standby Mode automatically everyday at 6PM. 

 

Can anyone please walk me through. 

 

Thanks. 

Hi Peter,

How do you restore backup via TMS on multiple systems?

I thought you can only restore backup to the same system it was taken from.

Thank you.

Disregard. Missed the whole chapter in admin guide. Create custom template in TMS that will point to your webserver with non-system specific backup file. Works like a charm. Thank you.