Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

3cx on azure

Discussion in '3CX Phone System - General' started by infused, Nov 16, 2016.

Thread Status:
Not open for further replies.
  1. infused

    Joined:
    Oct 17, 2013
    Messages:
    19
    Likes Received:
    1
    I don think this is an azure issue. But completing the install on Debian 8 I get the following error

    System.Exception: Error in CreatingCloudServerManagementDatabase.sql: 22023: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII) ---> Npgsql.PostgresException: 22023: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII) at Npgsql.NpgsqlConnector.DoReadMessage(DataRowLoadingMode dataRowLoadingMode, Boolean isPrependedMessage) at Npgsql.NpgsqlConnector.ReadMessageWithPrepended(DataRowLoadingMode dataRowLoadingMode) at Npgsql.NpgsqlDataReader.NextResultInternal() at Npgsql.NpgsqlDataReader.NextResult() at Npgsql.NpgsqlCommand.Execute(CommandBehavior behavior) at Npgsql.NpgsqlCommand.ExecuteScalarInternal() at PostInstall.DBConnection.ExecuteScriptInternal(NpgsqlConnection connection, String sqlQuery, IDictionary`2 parameters) at PostInstall.DBConnection.ExecuteScript(String sqlQuery, IDictionary`2 parameters) at _3CXCloudDBManager.DbConnectionExtensions.ExecuteScript(IDBConnection connection, Object configurationStructure, String scriptText, Boolean asResourceName) --- End of inner exception stack trace --- at _3CXCloudDBManager.DbConnectionExtensions.ExecuteScript(IDBConnection connection, Object configurationStructure, String scriptText, Boolean asResourceName) at _3CXCloudDBManager.CloudDBManager.CreateCloudServerManagementDatabase(IDBConnection superuser, CloudServerManagementDatabaseConfiguration configuration) at PostInstall.SetupExecutor.CreateDatabase(Action`1 stateChanged) at PostInstall.SetupExecutor.ExecuteSetup(SetupSettings setupSettings, Action`1 stateChanged) at PbxWebConfigTool.PbxSetupService.CreatePbxInternal(SetupSettings settings)
     
  2. viptelecoms

    Joined:
    Nov 17, 2016
    Messages:
    1
    Likes Received:
    0
    Hello mate,

    Do the following:

    Code:
    sudo apt-get purge locales
    then:

    Code:
    sudo apt-get install locales
    and the famous:

    Code:
    sudo dpkg-reconfigure locales
    and choose

    Code:
    en_US.UTF-8
    Reboot the machine and everything should be OK.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. infused

    Joined:
    Oct 17, 2013
    Messages:
    19
    Likes Received:
    1
  4. infused

    Joined:
    Oct 17, 2013
    Messages:
    19
    Likes Received:
    1
    All working good, but still an issue with outbound phone calls being dropped after 32 seconds. Not sure which firewall rules etc need to be changed? I have all the defaults configured.
     
  5. sip.bg

    sip.bg Active Member

    Joined:
    Nov 7, 2016
    Messages:
    704
    Likes Received:
    220
    Dropping a call after 32 sec is typically a firewall or NAT issue. You can debug it with wireshark, some SIP packets are lost, 32 sec is a timeout.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.