UnconditionalForwarding other user

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.


Share this post

Link to post
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

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now