Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Attachments
patterns.*jar


HTML
<iframe src="https://docs.google.com/forms/d/e/1FAIpQLSeYF0VpRsn_uAr1gRCuCAX63QM2DzuZeyvrh4_e0C7sD3TeFA/viewform?embedded=true" width="640" height="550" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe>


Installation Prerequisites

The app supports the following environment:

  • Jira 6.0 - Jira 6.4.X
  • Asterisk 12
Info

Operation of the app in any other environment has not been tested and is not guaranteed.

Please do not use the app on the production server.


Installation Instructions

  1. Download the JAR file.
  2. Unpack the JAR file to your local computer.

Setting General Configuration

Open the folder with the unpacked app. Open the file etc/config.xml.

Edit the general configuration of the app:

ParameterDescriptionExample
support.context Asterisk context which is used for work of call center operators.support-team
support.groupJira user group which includes operators of the call center.call-operators
support.group.leadsJira user group which includes managers of the call center operators.cc-managers
support.sippropertyUser property which contains the SIP number of the call operator.sipnumber
support.project.keyJira project key which will be used for tracking incoming calls from customers.SUP
user.for.search.nameLogin of the system user which will be used for looking up for issues.callcenterRobot
callcenter.support.fieldnameName of the custom field which stores the phone number of the customer.Phone Number
client.summaryName of the custom field which stores the name of the customer.Customer

client.f

...

ields (info)

Handy Tip
id7865812538764831

These fields are optional and can be left blank.


Name of the optional custom fields which store additional information about the customer.

...

City, Region, Country

Общие настройки

callcenter.support.fieldname - название поля, содержащего номер телефона клиента, например Номер телефона

client.summary - название поля в заявке, содержащего название клиента, например, Клиент

client.fields - названия полей клиента, которые будут отображаться в диалоге разговора, например, Город, Регион, Страна

not.copied.fields - названия полей из заявки, которые не будут скопированы во вновь создаваемую заявку, например, Дата и время, Продолжительность звонка (разделитель - запятая)

Важно

not.copied.fields (info)

Handy Tip
id6360992525911622

Fields should be standard or a field from nFeed app.


Names of the custom fields which will not be copied to a newly created issue.Date and Time, Call Duration

...

client.additional.number.fields

...

(info)

Handy Tip
id8556773137391267

Specify the field of the Phone number type that is used to store an additional phone number.


Names of the fields that may store additional phone numbers of the customer.

Mobile Phone

Важно

...

operators.refresh.timeout.

...

minutesTime interval (in minutes) to synchronize the list of call operators and users from the support.group parameter.1
missed.calls.refresh.timeout

...

.minutesTime interval (in minutes) to check new missed call in the database.1
missed.calls.period.

...

daysTime period (in days) for pulling missed calls from the database.10
last.calls.limit

...

Maximal number of calls shown in the user profile of the call operator.100
phone.number

...

.lengthPossible length of phone numbers. The possible length range is not tolerated.4, 7, 10, 11

...

Setting Connection Configuration

Open the folder with the unpacked app. Open the file 

etc/connection-config.xml

...

Все настройки плагина разделены на 2 категории.

Первая категория - сетевые настройки, необходимы для подключения к серверу Asterisk`a, поднятия собственного websocket-сервера, а также доступа в базу данных, для получения списка пропущенных звонков - хранятся в jar-архиве в файле /conf/connection.xml

Вторая категория - общие настройки, указывается проект саппорта, проект, для хранения клиентов, группа пользователей, являющихся операторам коллцентра, названия полей и т. д. - хранятся в jar-архиве в файле /conf/general.xml

Сетевые настройки

asterisk.host - адрес сервера, на котором запущен Asterisk, например, starline-demo.stiltsoft.com 
asterisk.port - номер порта, на котором работает Asterisk, стандартное значение 5038 
asterisk.login - логин пользователя, для доступа к сервуру Asterisk`a по протоколу AMI, например, jira 
asterisk.password - пароль пользователя, для доступа к сервуру Asterisk`a по протоколу AMI, например, jirasecret 
asterisk.dial.prefix - префикс, для корректного совершения исходящих вызовов

Важно!

Для корректной работы, у пользователя должны быть права на выполнение комманд originate и core show channels

Полезователь также должен получать события ExtensionStatusEvent и CoreShowChannelEvent

websockets.port - порт, для отправки сообщений плагина по протоколу WebSockets, например,  6090

missed.calls.host - адрес сервера с базой пропущенных звонков, starline-demo.stiltsoft.com 
missed.calls.port - номер порта, на котором работает mysql сервер, стандартное значение 3306 
missed.calls.dbname - название базы данных, в которой хранятся пропущенные звонки, например,  bigdb 
missed.calls.login - имя пользователя, для доступа в базу данных с пропущенными звонками, например,  bigdb 
missed.calls.password - пароль пользователя, для доступа в базу данных с пропущенными звонками, например,  bigdb 

...

.

ParameterDescriptionExample
asterisk.hostAddress of the Asterisk Server,asterisk.company.com
asterisk.portPort to connect to the Asterisk Server.5038
asterisk.loginLogin to authenticate in the Asterisk Server.asterisk-login
asterisk.passwordPassword to authenticate in the Asterisk Server.asterisk-password
asterisk.dial.prefixPrefix for making calls through the Asterisk Server.
websockets.portCommunication port through the WebSockets protocol.6090
missed.calls.hostAddress of the server with the database storing the missed calls.asteriskdb.company.com
missed.calls.portPort of the MySQL database storing the missed calls.3306
missed.calls.dbnameName of the database which stores the missed calls.asteriskdb
missed.calls.loginLogin to connect to the database which stores the missed calls.dblogin
missed.calls.passwordPassword to connect to the database which stores the missed calls.dbpassword
cert.file.pathPath to the certificate file (X.509 certificate chain file in

...

the CRT format.C

...

:\

...

certificate\server.crt
key.file.path

...

Path to the private key (PKCS#8 private key file in the PEM format)

...

.C

...

:\

...

certificate\server.pem
key.password

...

Password for the key.keypass
voice.box.link

...

Address to the server with voicemail recordings. %s will be replaced with the file name.http://

...

asterisk.

...

company.

...

com:8000/%s.wav

Затем, необходимо в JIRA создать проект с ключом, указанными в support.project.key, пользователя с именем заданным в user.for.search.name, кастомное поле типа "Номер телефона" с названием, заданным в callcenter.support.fieldname, поле с названием, заданным в  client.summary, а также поля с названиями, перечисленными в client.fields

После этого, запаковать плагин и установить в JIRA стандартным способом.

...

Packing the JAR file

Once you have specified the app configuration in the XML files, you need to pack the app within the archive. Do not apply any compression level to the archive. You may get a file with some other file extension (like, ZIP, RAR, and so on). Just rename the file and change the extension to JAR.

Installation of the App

  1. Open Jira.
  2. Navigate to the Jira administration console.
  3. Select Add-ons.
  4. On the navigational sidebar, select Manage Add-ons.
  5. Click Upload add-on.
  6. Select the JAR file (re-packed).
  7. Click Upload.
  8. Wait until the app installation is complete.

Creating a new project

Create a new project with the key you specified in the support.project.key parameter.

Adding Custom Fields

  1. Go to the Jira administration console.
  2. Select Issues.
  3. Select Custom Fields.
  4. Click Add Custom Field.
  5. In the Select a Field Type form, select Advanced.
  6. Locate and select the Phone number field type.
  7. Image Added
  8. Add the field with the name specified in the callcenter.support.fieldname parameter.
  9. Save the field.
  10. Configure its display in the project.
Info

You can also add additional phone number fields


Creating User Groups

Create two use groups specified in the support.group and support.group.leads.

Creating User Accounts

You need to create accounts of the following types:

  • call operators
  • call operator managers
  • user to search for issues

Managing accounts of call operators

For each call operator account you need to add a property with the SIP number.

  1. Open the call operator account.
  2. Click Actions.
  3. Image Added
  4. Create the property with the name specified in the support.sipproperty parameter.
  5. Enter the SIP number of the call operator.
  6. Image Added
  7. Click Add.
  8. Repeat the same procedure for the left call operator accounts.

Creating an Issue Search Account

You need to create an account which will look up for related issues when a customer calls to you.

Create a user account with the name specified in the user.for.search.name parameter. Grant a permission to browse issues in the project.

Installing SIP clients

Install SIP clients for call operators (if they are not installed yet).

Connect SIP clients (of call operators) to the Asterisk server.

Image Added