cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
813
Views
0
Helpful
3
Replies

SX10: Set Facility Service via xapi?

RenzKanwischer
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Magnus Ohm
Cisco Employee
Cisco Employee

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

View solution in original post

3 Replies 3

Magnus Ohm
Cisco Employee
Cisco Employee

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

Thanks Magnus, this works!

Is this documented anywhere?

There is no equivalent xconfiguration command and also not mentioned in the API document...

 

Thanks

Renz

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