Voys Telephony
Link incoming phone calls to customer profiles with the Voys integration
Last updated on
With the Voys integration, Tillor sees who is calling and shows the customer details straight away. Calls, recordings and transcripts then end up under Phone Calls. Voys is a business phone provider.
Before you start:
- You need an active Voys VoIP account, and access to the call plan settings in Voys.
- You need the Manage integrations permission.
- The caller's phone number must be on the customer profile or on a contact person, otherwise Tillor cannot link the call to a customer.
Set up Voys
- Go to Settings (sidebar under Support)
- Choose Integrations and open Voys in the list
- On the detail page, enter your Voys details (
username,password,client_uuid,token) and click Install
You need an active Voys VoIP account.
After installation and configuration, Tillor links calls to customers automatically when the phone number matches a customer or contact.
Find the URLs for Voys
Tillor and Voys talk to each other through addresses (URLs). At some steps Voys asks Tillor for an answer, for example whether you are open. That answer is ACK (yes, continue) or NAK (no, follow the other path). A webhook is an address that Voys calls during a call.
For webhooks, caller name lookup and access codes, you use the URLs that Tillor generates for you.
- Go to Settings > Integrations and open Voys
- After installation, the URLs to configure block appears on the detail page under Settings - copy the right URL for each purpose
Among other things, you will find:
- Conversation notifications - webhook URL for call events
- Webhook for Caller Lookup - URL for caller name lookup in your Voys call plan
- XML Phonebook - URL for VoIP phones to fetch the phone book
- Access codes - URL for operating the access point (barrier, gate or door) through the call plan
- Opening hours webhook - ACK when Tillor is open, NAK when Tillor is closed
- Caller allowed webhook - ACK when the caller may be put through, NAK when the caller must go to voicemail
- Routing webhook - ACK with a destination, NAK when no destination is set
In the Voys call plan, use the same variables as listed in Tillor (such as {callerid}, {did}, {callername}, {callid} and {code}).
Configure call notifications in Voys
- In Voys, open the Call notifications module
- Click Add
- For package/service, choose Custom
- Paste the Tillor URL from Conversation notifications
- Save
Voys documentation:
Configure caller names (caller lookup) in the call plan
For caller name lookup, you use a webhook step in the call plan in Voys.
- In Tillor, open the Webhook for Caller Lookup URL (on Settings > Integrations > Voys, under URLs to configure) and copy it
- In Voys, open the Webhooks module and create a webhook with this URL template
- Activate that webhook in your call plan through the webhook step
- In the URL template, use the variables that Voys supports (
{callerid},{did},{callername}and, if needed,{code}) - In the webhook routing, set Variable caller name so that the returned name is shown on handsets
The opening hours and routing webhooks do not do a caller name lookup. Use this separate step for that.
More background:
Opening hours and destinations in the call plan
Tillor is the source for opening hours, holidays and public holiday exceptions. Voys no longer needs to know that calendar itself.
- On Settings > Integrations > Voys, choose the Voys handset for open and optionally for closed
- Copy Opening hours webhook or Routing webhook from URLs to configure
- In Voys, create a webhook with that URL template
- Put that webhook as a step in the call plan, above any menus
- Leave Use menu off
Two patterns:
- Opening hours webhook -
status=ACKfollows the HTTP and menu succeeded path (open),status=NAKfollows HTTP or menu failed (closed). If an open destination is set, it is included with ACK asdestination. - Routing webhook - Tillor chooses the destination. In the succeeded step, set Variable final destination. ACK +
destinationwhen there is a destination, otherwise NAK.
On an error or timeout, Voys takes the failed path. Treat that as closed.
Voys documentation: Webhooks.
Send callers to voicemail automatically
With the Caller allowed webhook, you let Voys decide per caller whether a call is put through. Tillor checks whether the caller's number belongs to a customer who has automatic voicemail switched on.
First set up the call plan:
- Copy Caller allowed webhook from URLs to configure on Settings > Integrations > Voys
- In Voys, create a webhook with that URL template
- Put that webhook as a step in the call plan, above the steps that put the call through
- Leave Use menu off
- Send the HTTP and menu succeeded path on to your normal routing and the HTTP or menu failed path to voicemail
- On Settings > Integrations > Voys, under Call routing, tick Auto voicemail in Voys
As long as that is off, you will not see Send calls to voicemail on the customer profile.
Then switch on automatic voicemail per customer:
- Open the customer profile and go to the Communication tab
- In Communication settings, tick the Send calls to voicemail option
- Click Save
This is how the answer works:
- ACK - the caller may go through. This also applies to unknown numbers and to callers with a hidden number.
- NAK - the number belongs to a customer with automatic voicemail. Voys follows the failed path.
Tillor compares the caller's number with the phone number on the customer profile, regardless of spaces or country code notation. Phone numbers of contact persons do not count.
On an error or timeout, Voys also takes the failed path. All callers then temporarily go to voicemail, not only the blocked ones. So use a voicemail destination where you check messages regularly.
This webhook does not look at opening hours. Combine it with the opening hours or routing webhook by putting both as separate steps in the call plan.
Voys documentation: Webhooks.
Fixed routing per caller
The same Routing webhook can send a caller straight to a specific Voys handset, extension or phone number. That only applies to customers for whom you have chosen a destination, and only when Static call routing in Voys is on.
- Put the Routing webhook in the call plan, as with opening hours
- In the succeeded step, set Variable final destination
- On Settings > Integrations > Voys, under Call routing, tick Static call routing in Voys
As long as that is off, you will not see Static call routing on the customer profile. The webhook then only uses the handset for open or closed.
Then set the destination per customer:
- Open the customer profile and go to the Communication tab
- Under Static call routing, choose a Voys handset, or Other for a phone number or extension (for example 411)
- Choose None to switch off the fixed routing
- Click Save
This is how the routing webhook chooses the destination:
- If there is a fixed destination for this caller, that is the
destination. - Otherwise,
destinationis the Voys handset for open or closed. - NAK - there is no fixed destination and no handset for the current state. This also applies to unknown numbers and to callers with a hidden number, as long as there is no open or closed handset.
Tillor compares the caller's number with the phone number on the customer profile, regardless of spaces or country code notation. Phone numbers of contact persons do not count.
On an error or timeout, Voys takes the failed path.
Voys documentation: Webhooks.
What happens next?
- Every call that comes in or goes out is listed in CommunicationPhone Calls, with the customer attached if the number matches. See Phone Calls.
- For an incoming call, the caller appears as a card at the bottom right in Tillor, with the customer details.
- Recordings and transcripts follow as soon as the call has ended, if call recording is switched on in your Voys account.