Uploading Netsapiens User Issues Troubleshooting

Prev Next

Problem : Error loading PBX Users

When uploading users for these PBX platforms - Netsapiens, RingLogix, United Cloud, Viirtue the following error is shown.

This may happen when the system is unable to connect to the PBX. This could possibly be due to incorrect credentials or previously stored API credentials have become invalidated.

Solution

  1. Confirm that the stored API credentials are usable. At the Enterprise Admin menu, open the PBX configuration for the Netsapiens PBX instance. Check the API credentials in the Advance Settings tab.

    1. Verify that the API Access Token URL is the intended Netsapiens instance.

    2. Validate that the Token Authorization URL is accessible. The value specified for this field when entered in the browser should turn up with an XML response like this which implies the server is reachable.



      A response saying Not Found implies the provided URL is invalid.

    3. Click Test Connection button. If failure, replace with correct values and make sure Test Connection gives successful response.

  2. If Test Connection gives a successful message but uploading users still fails, verify that the user is under the right Netsapiens domain and has a higher scope.

    See the Best Practice for Reusing NS API Credentials section in this article for appropriate scope for your user. It should be either Reseller scope or Office Manager scope. Currently, Call Center Supervisor scope is not usable because it cannot masquerade and create user devices.

Problem : Error uploading PBX Users even after a Success Test Connection

Still having issues uploading PBX users after setting up the correct credentials and having Test Connection button gives successful message.

Solution

In your Netsapiens installation, edit /etc/netsapiens/api_config.php .

Add/edit a parameter like below with the value being the IP or a comma-separated list of IPs of the application than can grant logins.

Configure::write("NsAllowAdminAccessIPs" , "52.191.239.84");


Problem : PBX Users were added but Masquerading Fails

Advanced PBX Settings were incorrect, users were added, Settings were corrected, and the users that were added before the correction are unable to masquerade.

Solution

Simply delete the faulty users and re-add them. The API needs the masquerading credentials to be correct at time of user configuration in order to enable the proper settings. The most likely cause of this error is incorrect SIP user IDs being entered on the Advanced PBX Settings page.