Skip to content

CUCM v12.5 requires "Location" to be defined #47

@matrix452

Description

@matrix452

When using the script against a CUCM node v12.5 and you attempt to add a phone you get the following error:

WARNING: [13:13:15][Invoke-PSCUCMAxlQuery] Failed to execute AXL entity addPhone. AXL Error: Cannot insert a null into
column (device.fklocation). (-391) | The remote server returned an error: (500) Internal Server Error.

It appears that the "$locationName" variable needs to either be defaulted or have a switch to allow you to add that in order for the command to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions