These are chat archives for ipcortex/FAC-FMC

17th
Jun 2016
Robert Francis
@RobStallion
Jun 17 2016 09:16
Morning @rjp44. Just wondering if you got our email yesterday afternoon?
Rob Pickering
@rjp44
Jun 17 2016 10:15
Sorry Rob, yes, just juggling things around to work out whether I will be dropping over to you or hangout, will get back to you in next 10-15 mins. What sort of time suits you, maybe 3:30ish?
Robert Francis
@RobStallion
Jun 17 2016 10:32
That sounds great for us thanks
Rob Pickering
@rjp44
Jun 17 2016 11:05
OK, will be with you at FAC at around 3:30.
Robert Francis
@RobStallion
Jun 17 2016 13:03
Hey @bengesoff @davies147. Would one of you be able to take a quick look at issue #82 for us. We are having a little trouble with one of the API calls.
Steve Davies
@davies147
Jun 17 2016 14:18
issue #82 should be okay now (?)
Robert Francis
@RobStallion
Jun 17 2016 16:39
Yeah that's great now thanks @davies147
We have just made one last issue #88. Would anyone be able to have a look at that for us at some point?
Ben Gesoff
@bengesoff
Jun 17 2016 17:00
ufncbay4ekd7ywbeu7kdevt4kt
What you can see above is a shiny new token
This token is attached to a lovely new user
Long story short, if you /rest/auth with this user's token, there is an array of company ids
The reason it is in the user object returned by /rest/auth is that the array is the companies which that user has administrative access over, as opposed to every company on the system
Ben Gesoff
@bengesoff
Jun 17 2016 17:06
We might not want every company to be involved in this call recording festival, so by setting up a 'fmc-polling' user with cut-down permissions, we can give it PBX permissions over a select few companies, and use that list to decide which companies to poll for recordings
BASICALLY just do a /rest/auth with the key above and you'll see an array of companies in the response