SARK V4.0.0 RouteIn

From sailpbx
Revision as of 22:16, 5 November 2013 by Adminwiki (talk | contribs) (Created page with "back to SARK v4.0.0 contents ===Inbound Routing=== The routing of inbound calls falls into one of two categories; you can route by the Dialled Number ID (DDI or …")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

back to SARK v4.0.0 contents

Inbound Routing

The routing of inbound calls falls into one of two categories; you can route by the Dialled Number ID (DDI or DNID) or you can route by Caller ID (CLID).

Adding a DDI (or DiD) Trunk

Digital (ISDN) and VoIP (SIP/IAX2) inbound calls are usually routed by testing the 'Dialed Number ID' (DNID). To confuse matters further; in digital systems these numbers are often allocated in blocks by the telephone company and known as DiD numbers (Direct Inward Dial) or DDI numbers (Direct Dial In). SARK has a special trunk construct to manage and route these numbers. It is called a DiD trunk and you can define a set of one or more contiguous numbers using this trunk type. Let’s add an example DiD group with the range 616600 to 616604. Click the new button on the trunks panel and then choose “DiD” from the drop down.

The actual number range is given by the slash (/) after the base number. This tells SARK how many consecutive numbers to provision, in this case 5 (00 thru 04). Click Save to create the trunks. Of course, the set of numbers in your Group can quite legally consist of a single number, in which case you would not specify a slash. Once our DiD trunks have been created, we can route them to their destinations by clicking the blue open/closed drop downs for each one.

V4 DiD trunk.png



Smartlink

You may also have noticed that SARK has a flag called “smartlink” which you can set on when you create a DiD group. This is useful when you first create a set of extensions and then create your DiD trunks later. Smartlink will match the numbers of each extension to the right hand side numbers in the DiD group. For example, if you had an extension range of 400 to 420 and a DiD range of 668400 to 668420 then SARK will automagically route inbound calls on 668400 to extension 400; calls on 668401 to 401 and so on. This can save a lot of work when there are lots of extensions to be routed during system setup.