Setting up a VICIdial SIP carrier with SMS Conecta numbers and DIDs

Short answer: Using SMS Conecta with VICIdial means adding a carrier under Admin > Carriers with a registration string for sip.smsconecta.com, an account entry holding your SIP username, password, ulaw/alaw and RFC 2833 DTMF, plus a dialplan entry that logs and dials out. From there, add your number as an inbound DID. VICIdial handles the dialing; SMS Conecta supplies the number and the trunk underneath it.

VICIdial is an open-source contact center suite running its own predictive, auto and manual dialing on top of Asterisk. SMS Conecta doesn't do the dialing itself; it provides real numbers with SIP credentials that VICIdial then uses as a carrier and as inbound DIDs.

Who handles what

  • VICIdial: campaigns, lists, predictive/auto/manual dialing modes, agent screens, recording and reporting, all running as features of your own VICIdial server.
  • SMS Conecta: the phone numbers themselves (mobile, local or toll-free across 181 countries) and a per-number SIP account that VICIdial registers against.
  • Each number carries unlimited incoming calls and 1,000 outgoing minutes a month.

What you need first

  • A SMS Conecta number plus the SIP username and password shown on its dashboard page.
  • A functioning VICIdial server, with an admin user permitted to modify carriers.
  • Firewall access running from VICIdial to sip.smsconecta.com on 5060 (UDP/TCP) and to your RTP range.

Carrier settings

SettingValue
SIP server / registrar / domainsip.smsconecta.com
Transport and portUDP or TCP 5060; TLS 5061
Username<SIP_USERNAME> (from the number's page in the dashboard)
Password<SIP_PASSWORD> (from the same page)
AuthenticationDigest (username + password), registration based
CodecsG.711 µ-law (PCMU) and G.711 A-law (PCMA)
DTMFRFC 2833 (RTP events) or SIP INFO
Inbound DID<YOUR_NUMBER> in E.164 format

Carrier entries (copy these and swap in the placeholders)

Most VICIdial installs still rely on chan_sip-style carrier entries, shown below; if your build runs PJSIP instead, use the section layout from our Asterisk page. ${EXTEN:1} represents the dialed number with its leading 9 stripped off.

This example assumes campaigns dial 9 followed by the full international number. Adjust the pattern to fit your own dial prefix.

Carrier ID: SMSCONECTA
Protocol: SIP
Server IP: <YOUR_VICIDIAL_SERVER_IP>

Registration String:
register => <SIP_USERNAME>:<SIP_PASSWORD>@sip.smsconecta.com:5060

Account Entry:
[smsconecta]
type=friend
host=sip.smsconecta.com
port=5060
username=<SIP_USERNAME>
secret=<SIP_PASSWORD>
fromuser=<SIP_USERNAME>
fromdomain=sip.smsconecta.com
context=trunkinbound
insecure=port,invite
nat=force_rport,comedia
qualify=yes
dtmfmode=rfc2833
disallow=all
allow=ulaw
allow=alaw

Dialplan Entry:
exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,n,Dial(SIP/smsconecta/${EXTEN:1},,tTo)
exten => _9X.,n,Hangup()

Step-by-step: adding the carrier

  1. Log in to the VICIdial admin interface and go to Admin > Carriers.
  2. Add a new carrier, giving it ID SMSCONECTA and a clear name.
  3. Paste in the registration string, account entry and dialplan entry shown above, swapping every placeholder for the matching value from your SMS Conecta dashboard.
  4. Set Protocol to SIP, select your server IP, and mark the carrier active.
  5. Submit and wait for VICIdial to rebuild its Asterisk configuration (which it does on a short cycle), or reload manually from the Asterisk CLI.
  6. In the Asterisk CLI, run sip show registry and verify the registration reads Registered.
  7. Run a manual test call from an agent session before launching any campaign.

Inbound DID routing in VICIdial

Open Inbound > Add a New DID and type your SMS Conecta number in as the DID extension, matching the exact format the Asterisk CLI shows for incoming calls. Set the route to an in-group, agent, extension or call menu.

Calls arrive within the trunkinbound context named in the account entry, where VICIdial takes over and hands them to its DID routing.

Outbound caller ID

Set the campaign's CallerID to your SMS Conecta number, matching it to whichever number owns the credentials the carrier registers with. Need several caller IDs? Add several SMS Conecta numbers as separate carriers, each carrying its own credentials and its own 1,000 minutes per month.

Troubleshooting

  • 401/403 on registration: an incorrect username or password in the registration string or account entry. Both need to match the dashboard precisely.
  • Calls connect yet agents hear nothing, or audio runs one-way: set externip/localnet within your SIP settings, keep nat=force_rport,comedia active, and forward the RTP range.
  • Congestion or a 488 on every call: a codec mismatch. Keep ulaw and alaw allowed.
  • Call menus ignore keypresses: keep dtmfmode=rfc2833 set; switch to info only when required.
  • Inbound calls land on the invalid DID route: VICIdial's DID doesn't match the format arriving.

Frequently asked questions

Does SMS Conecta handle predictive dialing?

No. Predictive, auto and power dialing all happen within VICIdial; SMS Conecta just supplies the numbers and the SIP trunk VICIdial dials through.

Can a SMS Conecta number work as a VICIdial DID?

Yes. Register the number as a carrier, add it under Inbound DIDs, and calls to it route the same as any other DID.

How many outgoing minutes does each number carry?

Each number includes 1,000 outgoing minutes a month, on top of unlimited incoming calls.

Is it possible to have several caller IDs?

Set each carrier's caller ID to whichever number its credentials belong to. For several caller IDs, add several numbers, each carrying its own SIP username and password.

Does SMS Conecta handle call recording?

No. Call recording isn't part of SMS Conecta; VICIdial records on your own server if you turn that on, subject to local law.

What calling activity is permitted?

Stick to the acceptable use policy and the telemarketing rules in whichever countries you call. SMS Conecta numbers do not support emergency calls.

Related pages

Get a number in these countries

Sources