Jump to content

ANSWERED new users can't see Status info

Recommended Posts

I would like to add user with a generated powershell script. All goes well but if the User logges on, there are no status shown on the Netphone Client.


image.png.ae5ec0bf373cadb4dd8ecb77baeb0995.png that should have been Green.


Can I force it so get the Status Info ?


I have manually added the User without Phonenumber. And then ran the Script where I changed the top line

$NewUser=Get-IpPbxUser -UserName "Test, Nethpone"

image.png.5c82d85428622057f5b4fe748b73be89.png And now I see the Status.

Is there a bug in the $New





Import-Module IpPbx

Connect-IpPbx "netphone.badhandel.local"

$NewUser = New-IpPbxUser -Name "Test, Nethpone" -EmailAddress "n.test@reuter.de" -Comment "Hotline"
$NewUser.LocationID = 5
$NewUser.FwdOnBusy =$False

$NewUser.FwdOnBusyNumber = "210"
$NewUser.FwdOnNoAnswer =$False
$NewUser.FwdOnNoAnswerNumber = "210"
$NewUser.FwdOnNoAnswerTimeout = 15
$CreatedUser = Add-IpPbxUser $NewUser -Passthru
Add-IpPbxUserWindowsAccount -UserEntry $CreatedUser -NTAccount "BADHANDEL\NethponeTest"


Connect-IpPbx "netphone.badhandel.local"
$InternalNumber = New-IpPbxInternalNumber -InternalNumber 244
Add-IpPbxInternalNumberToUser -InternalNumberEntry $InternalNumber -UserEntry $CreatedUser  # "Test, Nethpone"

$PublicNumber=New-IpPbxPublicNumber -PublicNumber "+49xxxxxx244"
Add-IpPbxPublicNumber -InternalNumber "244" -PublicNumberEntry $PublicNumber
$InternalNumber2 = New-IpPbxInternalNumber -InternalNumber 9844
Add-IpPbxInternalNumberToUser -InternalNumberEntry $InternalNumber2 -UserEntry $CreatedUser
$PublicNumber2=New-IpPbxPublicNumber -PublicNumber "+492xxxxxxx844"
Add-IpPbxPublicNumber -InternalNumber "9844" -PublicNumberEntry $PublicNumber2


$UserData = Get-IpPbxUser -UserName "Hotline Vorlage" | Get-IpPbxUserData
Set-IpPbxUserData -UserData $UserData -UserName "Test, Nethpone"  

Set-IpPbxUserData -UserEntry $CreatedUser -UserData $userdata

$templateUser = Get-IpPbxUser -UserName "Hotline Vorlage"
Copy-IpPbxUserCallRouting -SourceUserEntry $templateUser -TargetUserEntry $CreatedUser -Overwrite -Confirm:$false

Add-IpPbxGroupMember -UserEntry $CreatedUser -GroupName "Vertrieb (810)"
Add-IpPbxGroupMember -UserEntry $CreatedUser -GroupName "Vertrieb EN (816)"
Add-IpPbxGroupMember -UserEntry $CreatedUser -GroupName "Vertrieb FR (815)"
Add-IpPbxGroupMember -UserEntry $CreatedUser -GroupName "Hotline (814)"
Add-IpPbxGroupMember -UserEntry $CreatedUser -GroupName "Hotline (818)"
Add-IpPbxGroupMember -UserEntry $CreatedUser -GroupName "Service (850)"

Edited by BigDaveH

Share this post

Link to post
Share on other sites

Just create a group (or use the existing "Everyone" group) which configures mutual status signalling among its members. 

When adding a new user (either manually or via PowerShell) just add the new user to this group and status signalling will work.


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 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.