Getting it switched on
Direct trunk is off by default and is enabled per workspace by Wiredesk. Talk to sales to have it switched on for your workspace. Once it’s on, the Setup card on Channels › Phone of every agent in the workspace gains a Connect a line on your own trunk form. If the option is later switched off, lines already connected keep working.Connect a line
1
Open Channels › Phone
Go to Agents → your agent → Channels › Phone. The Connect a line on your own trunk form is in the Setup card, below Get a number if the agent has no number yet, or below the agent’s existing numbers.
2
Enter the number
Type the line’s number in E.164 format, for example
+16075551234, and click Connect.3
Copy the SIP destination
When you see “Number connected — its SIP destination is on the card.”, the line is listed in the Setup card under Your carrier forwards this line to, with its SIP URI. Click Copy SIP to copy it.
4
Route the line at your carrier or PBX
Configure your trunk or PBX to send calls for that line to the SIP URI. The URI specifies TLS transport (
transport=tls).5
Call the line
Call the published number and check the agent answers.
Errors when connecting
How calls are matched
Wiredesk identifies the line from the number in the call’s SIPTo header, and answers with the agent that line is connected to. A call whose To number isn’t a line connected in Wiredesk is not answered.
If your PBX forwards a published number onto this line, pass the original number in a Diversion or History-Info header. The agent reads those headers and won’t transfer a caller to the published line that forwarded the call, which would loop the call back to it.