cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1488
Views
0
Helpful
4
Replies

Broadworks Sandbox - XSI Event subscription

rcafaro
Level 1
Level 1

Hello everyone,

is there a way to subscribe an entire group to a call event using one of HTTP Contact or Event Channel methods.

We were able to subscribe single users but for an entire group, if we do not know how many users that group has, that would be hard.

We would like to be able to subscribe all the users of a group with a single XSI call. If this is not possible, is there a call to get all the users of a group?

 

Thanks

4 Replies 4

shanmsan
Cisco Employee
Cisco Employee

Hi, 

Can you try subscribing to an event for a group using "http(s)://<hostaddress:port>/com.broadsoft.xsi-events/v2.0/serviceprovider/<serviceproviderid>/group/<groupid>"

 

Hopefully subscribing an event for a group, will include subscription for users as well. 

"

  • A target. A target is typically a subscriber hosted in Cisco BroadWorks. The target can also be a collection of subscribers (that is, a group, service provider/enterprise, or the system) or a sub-component of a subscriber.

"

Thanks for you answer,

we are able to create a subscription via the endpoint you provided (but we don't get any POST to the HTTPContact uri).

In response we receive a subscription id and we get that in the subscriptions list:

http://<hostaddress:port>/com.broadsoft.xsi-events/v2.0/subscription

We can even see the expire time going down with multiple call.

 

The problem is that as soon as we make a call the subscription disappear (get deleted?)

We are not sure about the serviceproviderid we are using. Where we can find that info? Is there an endpoint?

 

Thanks

Hi ,

 

If you have any user under the group, you can try to get the user profile using 

http(s)://<hostaddress:port>/com.broadsoft.xsi-actions/v2.0/user/<userid>/profile

In the response to the above API request, you will get the ServiceProvider info, to which the requested User's group belongs to.

Thanks,

that's what we have done, so we were right using the serviceprovider returned by that endpoint.

 

Any clues about the deletion of the subscription on the first call? Maybe we are not supposed to subscribe for a group in the

sandbox?