Jump to content

UnconditionalForwarding other user


Jorn

Recommended Posts

Is it possible to read the state of the Unconditional Forwarding from an other user?

 

We know how to do this for the same user and we also know how to get other information from a user or group.

We tried to combine these, but we get an error.

 

Link to comment
Share on other sites


The code we used:

dim oPBXConfig
set oPBXConfig = PBXScript.CreateObject("IpPBxSrv.PBXConfig")
oPBXConfig.Initialize PBXUser

'
'get users or group members
'
dim oUSers
' You can use user phone numbers, group numbers, user names or group names as
' parameter here
set oUsers = oPBXConfig.GetUserByAddress("100")

dim oUser
for Each oUser in oUsers
    PBXScript.OutputTrace "User: " & oUser.UserID
    PBXScript.OutputTrace "Name: " & oUser.Name
    PBXScript.OutputTrace "State: " & oUser.State
    PBXScript.OutputTrace "UnconditionalRedirect: " & oUser.UnconditionalRedirect
next
Link to comment
Share on other sites


  • 2 weeks later...
  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.