This article describes how to install the Sipek Phone client and connect it to r_k Delivery.

Before you start installing and configuring the SIP client, check your equipment. You will need the following:

  • PBX (private branch exchange): make sure everything is set up in advance, as you will need the username and password of the telephony user
  • PCMA and PCMU audio codecs of the G.711 standard. The rest is under development.

Install and configure the SIP client. To do this:

  1. Download the application installation file setup-sipclient-1.0.3.028.exe
  2. Run the installer.
  3. The installation window will open. Click the Install button.

    A download window will open. Wait for the program to install.
  4. After the download is complete, click the Finish button in the window that appears.
  5. Go to the location of the installed file and open the SIPClient folder
    By default, the program is installed in the folder C:\Program Files (x86)\SIPClient
  6. Find the following two files: appsettings.json и appsettings_demo_cloud.json
  7. Move contents from appsettings_demo_cloud.json to appsettings.json with replacement
    If the system does not allow you to save changes, use Notepad++, running as Administrator.
  8. Fill in the SIP block in the appsettings.json file.
    • "Address": "IP Address", — fill in based on your telephone system
    • "Port": "Port number", — fill in based on your telephone system
    • "Login": "SIP account", — fill in based on your telephone system
    • "Password": "SIP password" — fill in based on your telephone system
      The data depends on the ATE used, the example below shows an example of configurations for Mango telephony.
  9. In the Application block, find and fill in the line
    "AnswerURL": "https://delivery.ucs.ru/call-center/customer/{phone}",
  10. Save the settings you made
  11. Run the SipekPhoneSrv.exe application, but not as administrator. 
  12. If necessary, check the status of the application in the task manager. The application is called SipekPhoneSrv.

Example of filled settings


YML

{
  "SIP": {
    "Address": "sip.ip",
    "Port": "5060",
    "Login": "sip_login",
    "Password": "sip_password",
    "ThreeStepAuth": true
  },
   "SIPClient": {
    "Address": "localhost",
    "Port":  "5555"
  },
  "Cash": {
    "CashID": ""
  },
  "Delivery": {
    "Address": "",
    "Port": "",
    "Path": "/api/sip/incoming"
  },
  "Application": {
    "RingingFilename": "Resources\\Sounds\\Ringing.wav",
    "UseUI": "true",
    "AnswerURL": "https://delivery.ucs.ru/call-center/customer/{phone}",
    "HangupURL": "",
    "MissedURL": ""
  }
}

Description of parameters

Parameters

Description

Connection parameters to PBX
AddressAddress
PortPort 
LoginLogin
PasswordPassword
ThreeStepAuthProcessing three-step authorization
The port to which commands from the delivery server are sent: pick up the phone, drop the call
AddressAddress
PortPort
The cash register to which the notification is sent
CashIDCash register ID, do not specify
Delivery server 
AddressAddress, do not specify
PortPort, do not specify
PathPath
Sound signal
RingingFilenameFile name