In some cases the SIP Carrier will require you to route DNIS based on the SIP To: Header
The INVITE will look something like this:
[2016-12-01 16:36:41] INVITE sip:<9055555555>@1.1.1.1:5060 SIP/2.0
[2016-12-01 16:36:41] Via: SIP/2.0/UDP 1.1.1.1:5060;branch=z9hG4bKie9fu1207o25grh3mop0.1
[2016-12-01 16:36:41] To: “5551234"<sip: @youritsp.com>
Follow these steps to enable support for SIP To Header Routing
Create a New Incoming Line using the VoIP Interface you created for your ITSP
In the Extension (DNIS) field enter the text '9055555555’ (this is the number received in the INVITE, this field will be used to identify the trunk, NOT the DNIS. A separate Incoming Line will be required for each DNIS).
Click on the Advanced Options tab
Check the enable option for ‘Enable SIP Header routing support? [x]
Choose the SIP Header Field drop selection = ‘To’
Choose the Class of Service (SIP HEADER): drop selection to ‘All
Incoming Lines (Global)’. NOTE that by choosing this option all
Incoming Lines and their Destinations will now use SIP To: Header Routing
for the chosen VoIP Interface(s)/Trunk(s).
Do not add any destination.
Add the Incoming Line.
You must still create a DNIS entry for each Incoming Line as usual.
The DNIS is the number received in the To header as in the example 5551234
NOTE: when creating the DNIS entry for the Incoming Line do not Enable SIP Header routing support for the Incoming Line. SIP Header routing support is only used for the Pilot trunk.
NOTE: Add schedules and destinations to each Incoming Line with its corresponding DNIS Extension as usual (when DNIS is normally received in the INVITE).
Commit your changes when done.
Ringing Services
Sometimes it is necessary to override a schedule or incoming line rule and route incoming calls to a preset destination. This is often referred to as Night Service but has many uses.
Examples:
Receptionist normally answers calls but wants to forward to someone else so they can take a break or change a shift.
An emergency situation requires that lines are forwarded to an emergency greeting or business closed greeting or routed to an external phone number such as an answering service.
The system uses an automated schedule but needs to close early and enable an IVR menu.
The system does not use automated schedules an wants to manually toggle routes during the day between open and closed hours. Operator during open hours Vs. IVR menu during closed hours.
ScopServ does not put any restrictions on the number of Ringing Services you can create.
The first step is to add a new Ringing Service
Lines>Ringing Services>Add a new Ringing Service
Give each Ringing Service a unique numerical Ringing ID value
Then click on the Destination tab
Choose your preferred destination type which in this example is an after hours IVR menu.
In this example the Menu is an existing IVR Menu called ivrclosed.
Click on Add when your are done.
Ringing Services | Incoming Lines
Incoming Lines>Edit or Add a new Incoming Line.
In this example we are editing an existing Incoming Line.
Click the Edit button and navigate to the Options tab.
Put the Ringing Service ID value you defined on the Ringing Service
object earlier into the Line ID (Ringing Service) text field.
Save or Add the new Incoming Line.
The PIN/Password is optional but recommended to control user access.
Navigate to the Applications
section.
Click on Add a new Application.
Give this Application a number you would like to use as a feature
code and make sure this code does not conflict with any other extension
number, Feature Code or Outgoing Line string.
This 3 digit code starting with *87 dedicates *87 for Ringing Services codes and allows Ringing Groups 19 to be controlled.
Click on the Destination tab.
Choose Ringing Service from the Destination pull down.
Enter the Line ID value you specified earlier on the Incoming Line Manager.
Enter the Ring ID to the Ringing Service you specified on the Ringing Services Manager.
These settings allow you to control Multiple Incoming Lines and
override the Incoming Line Destination with the Ring ID you define in
this section.
Click Add when done.
Choose Ringing Service from the Destination pull down.
Enter the Line ID value you specified earlier on the Incoming Line Manager.
Enter the Ring ID to the Ringing Service you specified on the Ringing Services Manager.
These settings allow you to control Multiple Incoming Lines and
override the Incoming Line Destination with the Ring ID you define in
this section.
Click Add when done.
Commit changes to activate the feature.
IMPORTANT:
Ensure you allow this Ringing Service in the Class of Service you assign to the extension(s) used to dial the code.
USAGE:
Dial the code as in example *871 once to enable the Ringing Service and override the default schedule or configured schedules.
Dial the code again to disable the Ringing Service and allow the default schedule or configured schedules to control Incoming Line routes.
NOTES:
Some phones will allow you to configure a BLF DSS Key to monitor the on off status of the Ringing Service.
The BLF value would be in the format ‘ringservice_<tenant>_<application>’ without quotes.
Example: ‘ringservice_default_*871’.
Ringing Service BLF
Ringing Services BLF on Yealink DSS Key
It is very easy to set up a Ringing Service Key on a Yealink phone.
Using the previous steps to build an application *871 to enable Ringing Service ID 1.
Navigate to Provisioning>Yealink>DSS Keys and configure as in this example.
Once the phone is rebooted you can use the DSS Key to enable and disable the Ringing Service.
The BLF key will light
Red when in Use.