Tekelija.Allegro.SIP

Handle Asterisk-manager call related messages (call started, call ended) and creates tickets.

Configuration

Module config

{
  "AllegroSIP": {
    "Database": null,
    "ConnectionString": null,
    "RecoOrigin": 1,
    "RecoOriginDesc": null,
    "Statklic": {
      "Url": null,
      "Username": null,
      "ApiKey": null,
      "Active": false,
      "Period": null
    }
  }
}
Name Type Default Description
Database string sqlite Database to use (sqlite, mysql, mssql)
ConnectionString string ‘datasource=./tekelija-webplk3.db;cache=shared;’ Database connection string
RecoOrigin int 10 Region id
RecoOriginDesc string “Test RECO 10” Region description

Statklic service configuration

Name Type Default Description
Url string null Statklic service url
Username string null Statklic service username, probably
ApiKey string null Statklic service access api key
Active bool false Is Statklic service active
Period int 120 Send informations to statklic service period (s)

Message bus config

Configure access to rabbitmq message service bus.

{
  "MessageBus": {
    "Url": "rabbitmq://localhost",
    "Username": null,
    "Password": null,
    "Endpoint": "<endpoint-name>",
    "MessageRepositoryUri": null
  }
}

Parameters:

Name Type Default Description
Url string null RabbitMQ url (rabbitmq://…)
Username string null RabbitMQ username
Password string null RabbitMQ user password
Endpoint string null RabbitMQ endpoint
MessageRepositoryUri string host name Origin of the call, may have some sense for global call data collection setup

Authorization config

OpenId authentication configuration.

{
  "AuthServer": {
    "Issuer": "https://authenticatomatic.urszr.si:22000",
    "ClientId": null,
    "ClientSecret": null,
    "Audience": null
  }
}
Name Type Default Description
Issuer string null OAuth server url
ClientId string null Authorization app id
ClientSecret string null Authorization app secret
Audience string[] null Array of audiences (scope resources) to be used in token validation

Minimal required configuration is Issuer