Andrew_C Posted February 8, 2016 #1 Share Posted February 8, 2016 Hi All I am currently attempting to view a users call intrusion list (who can intrude on them). I have had a look at whats returned when I Get-IpPbxUser and Get-IpPbxUserData and cant see anything relating to call intrude. Can anyone point me in the right direction? Thanks, Andrew Link to comment Share on other sites More sharing options...
Andrew_C Posted February 8, 2016 Author #2 Share Posted February 8, 2016 I have found UserIntrusionNumberEntryCollection I just wasn't looking hard enough. Thanks, Andrew Link to comment Share on other sites More sharing options...
Andrew_C Posted February 8, 2016 Author #3 Share Posted February 8, 2016 After playing around with UserIntrusionNumberEntryCollection I can quite happily get the users intrude list. I would now like to add to this list. Is there a command like Add-IpPbxInternalNumberToUser such as Add-IpPbxIntrudeInternalNumberToUser Link to comment Share on other sites More sharing options...
Sono Posted February 19, 2018 #4 Share Posted February 19, 2018 Hi @Andrew_C! Would you like to post some of your conclusions, because I´m stuck with it too? How can I add an intrusion number to a user? Link to comment Share on other sites More sharing options...
Robert Posted October 16, 2019 #5 Share Posted October 16, 2019 Hey there I'd be glad to hear of the conclusions, too! Link to comment Share on other sites More sharing options...
AdminKLR Posted February 7, 2020 #6 Share Posted February 7, 2020 Hello All, i was finally able to add users to the Call Intrusion List. Beware of errors, as i have been working on this a while and it's late. I'm also not sure if this is the correct way to do it, but it works. $user = Get-IpPbxUser -UserName "Hans" $CollectionEntry = New-Object "SWConfigDataClientLib.Proxies.Users.UserIntrusionNumberEntry" $CollectionEntry.UserID = $user.UserID $CollectionEntry.InternalNumberID = 364 #InternalNumberID of the supervisor) -can be retrieved using $internalNr = Get-InternalNumber -UserName "Supervisor1" -> $internalNr.InternalNumberID $user.UserIntrusionNumberEntryCollection.Add($CollectionEntry) Update-IpPbxUser -UserEntry $user #with echo $user.UserIntrusionNumberEntryCollection you can see the existing intrusion entries, to make creation of new ones easier. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now