Route incoming calls to destinations based on one or more conditions. It can send incoming calls to:
Directs public inbound calls to an internal destination on the system. Note that the only difference between the inbound route dial plan and the normal dial plan is that the inbound route dial plan works on all calls that are in the public context whereas the normal dial plan works on the domain context.
Inbound Call Routing is used to route incoming calls to destinations based on one or more conditions and context. It can send incoming calls to an auto attendant, huntgroup, extension, external number, or a script. Order is important when an anti-action is used or when there are multiple conditions that match.
Inbound routes can be used for advanced reasons. Destinations will create and configure the Inbound Route for you.
Add button allows creating an inbound route. The list of destinations for the Destination Number select list is populated by the list from the Destinations tool. This list can be found by navigating to Menu > Dialplan > Destinations. Note: It is recommended to use Destinations tool and select where to route the call and have it build the inbound routes. There are many benefits to the destination select tool. Manually creating an inbound route is not recommended unless you need an advanced inbound route.
Route based on CallerID Name or Number.
Example used to send unwanted callers. (telemarketers that won\'t stop)
<extension name="gotolennyCIDnumber" >
<condition field="context" expression="public"/>
<condition field="caller_id_number" expression="^1235554321$|^1235551234$">
<action application="answer"/>
<action application="bridge" data="sofia/${use_profile}/[email protected]:5060"/>
</condition>
</extension>
<extension name="gotolennyCIDname" >
<condition field="context" expression="public"/>
<condition field="caller_id_name" expression="^.*THE.*ANNOYING.*COMPANY.*$|^.*OTHER.*ANNOYING.*CALLER.*$">
<action application="answer"/>
<action application="bridge" data="sofia/${use_profile}/[email protected]:5060"/>
</condition>
</extension>