I've been trying for some weeks now to get a current call list for my call routing script.
The purpose is for a callcenter module which will transfer calls to agents not yet speaking.
I've used the pbxscript.userorgroupbusy, but this one will always return that the user is free, because the people receiving the calls have 2 lines. It would seem that having one free line would make the system report the user as available.
I've also tried using PBXConfig.pbxusers, and trying to determine their state by the oUser.State, but these will only give me back that oUser.state = 0 so i can't use it to determine it through there either.
Last option (and first too, but after trying like hell i gave up) was to use the CDS(through VB.Net 2008) but i keep getting security errors, so i can't get any info there either.
I'm pretty much stuck, and i'm sure i'm just doing a single thing wrong, can someone point me in the right direction? Thx:)