11-29-2018 01:44 AM - edited 03-18-2019 02:29 PM
Hello Community,
we want to use the Facility Service on VTC devices to provide the user How to Videos hosted on a Mediasense server.
This works very well: User tap the question mark and can choose one video to call.
We want to rollout this tou our several hundred devices but I have not found a way to automate this.
- on CUCM only one Facility Service can be set
- it seems to be not possible to set and review via xapi.
Is there a way to achieve the mass setup of facility service?
Thanks
Renz
Solved! Go to Solution.
11-30-2018 01:16 AM
Hi
It is possible through the XMLAPI ([POST]: http://codecip/putxml) see example payload:
payload = '<Configuration>'\ '<FacilityService>'\ '<Service item="1">'\ '<Calltype>Video</Calltype>' \ '<Name>Test1</Name>' \ '<Number>test1@test.com</Number>' \ '<Type>Helpdesk</Type>' \ '</Service>' \ '<Service item="2">' \ '<Calltype>Video</Calltype>' \ '<Name>Test2</Name>' \ '<Number>test2@test.com</Number>' \ '<Type>Helpdesk</Type>' \ '</Service>' \ '</FacilityService></Configuration>' #ETC..
/Magnus
11-30-2018 01:16 AM
Hi
It is possible through the XMLAPI ([POST]: http://codecip/putxml) see example payload:
payload = '<Configuration>'\ '<FacilityService>'\ '<Service item="1">'\ '<Calltype>Video</Calltype>' \ '<Name>Test1</Name>' \ '<Number>test1@test.com</Number>' \ '<Type>Helpdesk</Type>' \ '</Service>' \ '<Service item="2">' \ '<Calltype>Video</Calltype>' \ '<Name>Test2</Name>' \ '<Number>test2@test.com</Number>' \ '<Type>Helpdesk</Type>' \ '</Service>' \ '</FacilityService></Configuration>' #ETC..
/Magnus
11-30-2018 01:37 AM
Thanks Magnus, this works!
Is this documented anywhere?
There is no equivalent xconfiguration command and also not mentioned in the API document...
Thanks
Renz
11-30-2018 02:57 AM
Hi, I am aware of this. Since CE was launched the xAPI has been reduced in terms of what is visible or «public». The main drive is for users to use provisioning (TMS/UCM) or the codec web interface for configurations. This was mentioned in the CE 8 release notes.
I also believe you can use the configuration provisioning backup bundle for this purpose as well which can be restored programatically.
My point is that web has access to more of the API which is why the XMLAPI will work as you saw.
/Magnus
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide