logs archiveBotHelp.net / Freenode / #2600hz / 2015 / July / 20 / 1
stormqloud
Anyone else in the Kazoo training room?
mdoe
hello friends, are there any webhooks i can use (is there documentation somewhere?) to get changes made through monster-ui by users?
I'm reading through this page here: https://github.com/2600hz/kazoo/blob/master/applications/crossbar/doc/webhooks.md#patch-webhook
and I only see events for channel_create/answer/destroy, Are there any other events available?
mark2600
mdoe: looking at the code I only see callflow and fax based events, so I would suspect that there are not currently any events for monster-ui
but I am not 100% sure
mdoe
mark2600: thank you for looking at that, i'm still new to kazoo, do you think there could be a place to insert a hook where the backend accepts config changes from monster-ui ?
mark2600
I am not sure offhand how that would be done
JR^
mdoe: there are a lot of other events currently being worked on in the back-end
mark2600
I'm sure it is possible somehow though
JR^
when the hooks are available they'll be added to the UI
I know we're working on events for most object creation/editions etc (user, devices...)
also notifying faxes, or vmboxes changes
if there are any specific events that you'd want to use, feel free to file a ticket against the KAZOO project in JIRA mdoe
mdoe
@JR: I think, correct me if I'm wrong, I can use the resources API to read those settings? could there be an easy way to get a generic event inserted somewhere that will trigger a script of mine either server side or remotely so I can run my own compare/reconciliation process to figure out what changed?
neurosys
(Action) waves to JR^
mdoe
i imagine I could put that in monster-ui to do an extra rest call out to a script of mine but then I think that would be insecure as an end user could disable it
JR^
yeah so webhooks would be what you want to use
but for now, like you said, we only have 3 call events
mdoe
like a "settings_changed" event?
JR^
we're looking to add things for creation of users, devices etc... so you can run your own statistics etc
yeah, I'm not sure of the specifics yet as it's being worked on
mdoe
JR^: Thank you for the feedback, I'll probably do just that with a ticket
JR^
awesome
mdoe
JR^: Can you confirm for me that the resources API should get me that data I want? I just can't get the live events I want right now as data is changed?
JR^
mdoe: see this ticket for reference, might be what you want: https://2600hz.atlassian.net/browse/KAZOO-3912
what do you mean by resource API? like /devices /users etc?
for now, websockets aren't enabled so you'd have to poll the data to get updates
mdoe
JR^: https://2600hz.atlassian.net/wiki/display/APIs/Resources+API
JR^
websockets are also in the pipelines but on a different timeline, webhooks should come soon, websockets it's less clear
and what is the data you want from the resources API mdoe?
this lets you configure your local/global carriers within the system
mdoe
JR^: I got disconnected, not sure if I missed any of your replies
JR^: I looked at the ticket you linked. It looks like it's in a Sprint to be implemented by the 24th.. This Friday!
Implemented by mc_ :)
MikeDunton
Hi
next »