Tonet Trunk

Tonet Trunk with VICIdial

1. Ask Tonet Support to prepare your user for vicidial

Contact Tonet to enable support for vicidial. Vicidial support will be enabled on one user which will be used for the vicidial trunk.

2. Retrieve the needed SIP details

Collect the necessary SIP information from Tonet’s dashboard in Users -> User designated for Vicidial -> SIP Information. You will need username, password, domain and port.

2. Assign a phone number for incoming calls

Create or select a phone number to be used for incoming calls to the trunk on Tonet’s dashboard in Phones. Route the number to the designated VICIdial user in the Configure tab. You can route several numbers at once to the same user.

ℹ️

Any number you own in Tonet can be used as outgoing caller-id in VICIdial.

Phone_Number

4. Configure Tonet as a vicidial carrier

Admin - Carriers, use the information from Step 1 in place of SIPUser, SIPPassword, domain, port and phonenumber

Carrier ID: tonet
Carrier Name: Tonet
Registration String:
register => SIPUser:SIPPassword@domain:port

carrier

Account Entry:

[tonet]
disallow=all
allow=ulaw
type=peer
username=<SIPUser>
fromuser=<SIPUser>
secret=SIPPassword
host=<domain>
port=<port>
dtmfmode=rfc2833
insecure=port,invite 
context=trunkinbound

account_entry

Protocol: SIP

Global String: <blank>

Dialplan Entry:

For example, to use Tonet via prefix 9 and North American Number Plan, allowing numbers to be entered either with or without the leading 1.

exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@tonet,,tTo)
exten => _91XXXXXXXXXX,3,Hangup
exten => _9XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@tonet,,tTo)
exten => _9XXXXXXXXXX,3,Hangup

dialplan_entry

Active: Y

Click on SUBMIT to save the trunk. Wait 1 minute for the changes to take effect.


Check out Outbound / Campaigns to configure outgoing calls.

For incoming calls take a look at the Inbound / Blended section