Before you start
- A GoAdmin account with the Administrator user group.
- Your server public IP on the CLIRoutes endpoint, or SIP credentials from the portal.
- Authorised caller IDs approved in the portal.
- Firewall rules allowing SIP and RTP to and from the CLIRoutes networks (GoAutoDial ships with firewalld enabled).
Placeholders in angle brackets, such as <ACCOUNT_ID>, come from your portal. The host shown is a placeholder; use the one listed under Portal → Network.
Set up GoAutoDial
- 01
Start the carrier wizard
In GoAdmin open Telephony → Carriers and click Add New Carrier. Choose Manual as the carrier type so the advanced fields are editable.
- 02
Enter the basics
Use
cliroutesas Carrier ID, a descriptive name, select your server IP and set Protocol to SIP. For authentication pick IP Based if your endpoint uses an allow-list, or Registration to enter the account ID and SIP password. - 03
Review the generated account entry
Open the Advanced view. Make sure the entry matches the block below; GoAutoDial defaults some versions to
allow=all, which can negotiate codecs you did not intend.Account Entry [cliroutes] type=friend host=sip.example-carrier.net disallow=all allow=ulaw allow=alaw allow=g729 dtmfmode=rfc2833 insecure=port,invite qualify=yes nat=force_rport,comedia sendrpid=pai context=trunkinbound - 04
Set the dial prefix and dialplan
Enter
9in Dial Prefix. The wizard generates a dialplan; replace it with the international pattern so lists can carry any destination.Dialplan Entry exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log) exten => _9X.,n,Dial(SIP/cliroutes/${EXTEN:1},,tTo) exten => _9X.,n,Hangup() - 05
Open the firewall
Allow the CLIRoutes signalling and media ranges listed in Portal → Network. On the server shell, add them to a trusted zone and reload.
firewalld firewall-cmd --permanent --zone=trusted --add-source=<CLIROUTES_SIGNALLING_RANGE> firewall-cmd --permanent --zone=trusted --add-source=<CLIROUTES_MEDIA_RANGE> firewall-cmd --reload - 06
Assign the campaign
In Campaigns → [campaign] → Basic Settings set the dial prefix to
9and the Campaign CallerID to an authorised number. Save, activate the carrier and place a manual test call to a phone you control.
Where GoAutoDial differs from plain VICIdial
- The wizard hides the globals string; reference the peer directly as
SIP/cliroutesin the dialplan. - Changes saved in GoAdmin can overwrite manual edits made in the classic VICIdial admin, so pick one interface and stay with it.
- Some builds default to
type=friend; that is fine for IP authentication but means inbound INVITEs from the carrier also match this peer, so keepcontext=trunkinbound.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Carrier shows UNREACHABLE | Firewall blocking OPTIONS replies | Add the signalling range to the trusted zone |
403 Forbidden | IP not allow-listed or caller ID not authorised | Check Portal → Endpoints and Caller IDs |
| Calls drop at 30–32 seconds | ACK lost behind NAT | Keep nat=force_rport,comedia and confirm externip in sip.conf |
Last verified by the CLIRoutes routing team. Menus can change between releases; if a field has moved, tell us.