Configuring telephony
To use the bot to call a list of clients, the voice broadcast administrator must create a connection and set up a channel.
Creating a connection
Login to the JAICP platform. On the toolbar click on SIP server connection > Add new connection.
Fill in the Main settings fields:
- Login — the login for the SIP trunk.
- Password — the password for the SIP trunk.
SIP trunk — the telephone line provided over an IP network via SIP (Session Initial Protocol).
- Host / IP — the host or the IP address.
- Port — the port number, the default is
5060. - Allow incoming calls — enable this checkbox if incoming calls will be processed.
- Number of available lines — the number of available lines for the SIP trunk.
Fill in the Extended settings fields as necessary:
- Registration is required — enable the checkbox if registration is needed. Registration may be necessary for receiving incoming calls from the provider if an SIP trunk with authentication is used.
- Check the connection — enable the checkbox if the connection needs checking. The availability of the SIP trunk is checked by sending
qualify(OPTIONS)at pre-defined time intervals. - Period for checking — the interval between connection checks in seconds. The default is 3600 seconds.
- Protocol — select one of the available protocols: UDP or TCP.
- Sound codecs — select sound codecs from the list of available options. The order of the selected codecs is taken into account.
- Number prefix— the prefix of the phone number to be added before the number being dialed for an outgoing call.
- EN Заменять/удалять первую цифру в номере при исходящем вызове — to replace the first digit in the number during an outgoing call, enable this option and specify the replacement digit.
- Use direct media when transferring the call — if enabled, the media traffic will be routed directly between the subscribers (via the procedure
re-invite). - Calls per second — specify the maximum number of calls per second for outgoing broadcasts.
cps (сalls per second) — the maximum number of calls per second. The number of calls (invite requests) can be limited to prevent SIP trunk overload. To set an appropriate limit consult with your SIP service provider.
- SIP headers — specify the headers, you will be able to use these in the bot script later. Click on Add header to add another SIP header.
More details about using SIP headers when transferring to a phone channel operator
Click Add a connection. The newly created connection will display in the list. The combination login@host will be used as the connection name.
Here all connections created to SIP trunks will be available and you will be able to create an unlimited number of connections.
In the account a single SIP trunk can be connected once only.
Editing
To edit the settings for a connection click on the
icon next to the name > Edit. Make changes > Update.
Deleting
To delete a connection click on the
icon next to the name > Delete, then confirm deletion.
You cannot delete a connection that is being used by one or more channels.