Direct SIP Termination SIP URI

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Direct SIP Termination SIP URI

Postby philip52676 » Thu Jun 27, 2019 3:38 am

Can someone help me out in vicinox where to configure the Direct SIP Termination and also the Dial plan, instead of using the DID's I want to use only the TFN and have your carrier of the TFN forward the call to my vicibox IP via sip

Client Carrier >>> Vicibox >>> agent

Can someone show me where to configure this and the dial plans needed?
Posts: 1
Joined: Wed Jun 26, 2019 8:59 am

Re: Direct SIP Termination SIP URI

Postby williamconley » Thu Jun 27, 2019 11:20 am

1) Welcome to the Party! 8-)

2) As you are obviously new here, I have some suggestions to help us all help you:

When you post, please post your entire configuration including (but not limited to) your installation method (7.X.X?) and vicidial version with build (VERSION: 2.X-XXXx ... BUILD: #####-####).

This IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "manual/from scratch" you must post your operating system with version (and the .iso version from which you installed your original operating system) plus a link to the installation instructions you used. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

3) While you may believe you're trying to set up something that is special or different or an exception to "the rules", really this is just another carrier. The fact that the carrier in this case also happens to be your client or someone "known to you" doesn't mean that setting up this carrier is any different from any other carrier. You set up carriers (all of them, including this "client carrier") in admin->carriers. After the call arrives to the system, the call is handled just like any other carrier call. Forget for the moment that you know this carrier and it will work just like any other carrier.

4) For instance: on an inbound call, the Carrier "Dialplan Entry" ... is NOT used. The calls inbound are routed to "trunkinbound" (via the account entry option "context=trunkinbound") which (in a properly configured Vicidial system) causes control of the call to pass to the Vicidial scripting system. This means that "context=trunkinbound" is what causes the call to land in "Inbound => DIDs" and allows you to control the call with the Vicidial Web Interface from that entrypoint (DIDs).

Thus the "carrier" will send the calls to your IP address (or domain, if you've set one up pointed to your IP). The calls will arrive on port 5060 (standard), and be routed to "trunkinbound" assuming you've set up a carrier to catch those calls from that "host" or activated the Guest inbound (and of course context=trunkinbound is set up in the guest account). Once the calls are routed to "trunkinbound" (visible in "extensions.conf" if you're curious and want to see what happens in "trunkinbound"), they land in the DID script (controlled via "Inbound => DIDs" in the Vicidial Web). And from that point it is STILL just like any other carrier's inbound call.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: NonDisruptive Lead Loader for Enterprise Vicidial Clusters.
(IE: Keep on dialing even while loading large lists!) # 352-269-0000 # +44(203) 769-2294
Posts: 19549
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 11 guests