You are on page 1of 33

Managed LCR Routing User Manual

May 2009
Table of Contents
Overview....................................................................................................................................................4
Call Flow...............................................................................................................................................4
Redundancy...........................................................................................................................................7
Icons...........................................................................................................................................................9
Edit........................................................................................................................................................9
Delete.....................................................................................................................................................9
Undo......................................................................................................................................................9
Save.......................................................................................................................................................9
Add......................................................................................................................................................10
Rate .....................................................................................................................................................10
Apply...................................................................................................................................................10
Carrier Setup............................................................................................................................................11
Carriers................................................................................................................................................11
Groups.................................................................................................................................................11
Inbound Group................................................................................................................................11
NAME........................................................................................................................................11
In/Out.........................................................................................................................................11
Prefix..........................................................................................................................................12
Strip Digits.................................................................................................................................12
Margin........................................................................................................................................12
Route Table Selection................................................................................................................12
Outbound Group.............................................................................................................................13
NAME........................................................................................................................................13
In/Out.........................................................................................................................................13
Prefix..........................................................................................................................................14
Strip Digits.................................................................................................................................14
Margin........................................................................................................................................14
Route Table Selection................................................................................................................14
End Points............................................................................................................................................14
Regions.....................................................................................................................................................15
Adding Dial Codes Manually..............................................................................................................15
Importing Dial Codes .........................................................................................................................16
Rates.........................................................................................................................................................18
..................................................................................................................................................................19
Routes.......................................................................................................................................................20
Route Tables........................................................................................................................................21
.............................................................................................................................................................21
LCR Route Tables...............................................................................................................................22
Domestic Route Tables........................................................................................................................22
Generating LCR..................................................................................................................................22
Changing Route Priorities...................................................................................................................22
Changing Rates....................................................................................................................................22
Search..................................................................................................................................................23
Route Table Download........................................................................................................................23
Trouble Shooting......................................................................................................................................24
Call Logs.............................................................................................................................................25
Sample Call Log.............................................................................................................................25
Appendix A: S3 Managed LCR Routing Configuration Guide...............................................................28
Introduction:.............................................................................................................................................28
Managed LCR Routing Endpoint Configuration....................................................................................28
Overview
The Managed LCR Routing is a high capacity, carrier grade, flexible routing platform. It was designed
and built to augment the routing capabilities of SIP compatible devices (SIP Devices). It is a stateless
system and therefore does not and does not generate CDRs or limit concurrent sessions.

Call Flow
While it can be deployed in a variety of locations in a network, it is recommended that the Managed
LCR Routing is located behind an SBC or Soft Switch.

In most cases users configure their SIP Devices with very basic routing. The primary role the SIP
Device plays in routing will be to identify the customer sending the traffic. One method of
accomplishing this is via tech-prefixing (this will be covered in detail in the Carrier Groups section).

The Managed LCR Routing provides routing instructions to SIP Devices via a 300 Redirect message
and is capable of sending multiple route choices in a single redirect message.

CONFIDENTIAL
SourceComm
Page 4
A sample call flow:

CONFIDENTIAL
SourceComm
Page 5
A sample ladder diagram:

Managed LCR Termination


Origination SBC Routing Endpoint

CONFIDENTIAL
SourceComm
Page 6
Redundancy
The Managed LCR Routing is configured in a 1+1 configuration. Upon the initiation of the service,
users are provided with a DNS address as well as a primary and secondary signaling IP addresses.
Ideally, users should configure their SIP Device(s) to signal to the DNS address. If users SIP Device(s)
are not capable of routing to a DNS address, use the IP addresses. All updates to the system will
propagate to both the primary and secondary servers after changes are Applied. (see 'Apply' below).
Many times the updates will take effect on both servers within sixty seconds of applying them. On rare
occasions, it can take up to 10 minutes for changes to propagate across the network.

CONFIDENTIAL
SourceComm
Page 7
An overview of call flow with both primary and secondary clusters configured:

CONFIDENTIAL
SourceComm
Page 8
Icons

The Managed LCR Routing web interface was designed to be as streamlined as possible. Our designers
have taken great care to minimize superfluous buttons and keep a consistent look and feel throughout
the system. There are a few icons that users should become familiar with.

Edit

The edit icon appears in almost all the screens in the Managed LCR Routing interface. It will allow
users to change the properties of an element in the system. The edit icon is always located within the
element that it affects.

Delete

The Delete icon will permanently remove elements in the system. It will also remove all associations
to that element. For example if a user deletes a Region it will also delete the Locale and all associated
Dial Codes. The Delete feature will always ask the user if he or she is certain they wish to perform this
action.

Undo

The Undo icon allows the user to exit the edit window without saving changes.

Save

CONFIDENTIAL
SourceComm
Page 9
The Save icon saves any changes the user has made in the edit window.

Add

The Add button allows the user to add an additional element to the data window it refers to. It is
clicked after the information is added into the text box located next to it.

Rate

The Rate button allows the user to check how many of each rate type is associated with a Carrier or
Carrier Group.

Apply

Any changes made to the system will not take affect until you press the apply button. As soon as
users add, remove or make a change to an element or change routing, the Apply button will begin
to slowly blink as a reminder that changes have yet to take affect on the active servers. Users not
need to press the Apply button after every change but only once he or she is ready for the changes
to take affect. Please note that changes will be stored in the system and can be applied at a later
time even if the user logs out and/or closes his or her browser.

CONFIDENTIAL
SourceComm
Page 10
Carrier Setup

Carriers
The Carrier setup page can be found by navigating to [TABLES-->CARRIERS]. Carriers are defined
as the customers and vendors that the end user is peered with. Carriers can be broken out to Groups
and Groups can have within them multiple End Points (SIP Peers). Each of these items is broken out
into individual data windows. The data windows should always be reference from left to right.

Start by entering a Carrier name in the text box labeled 'New Carrier' at the bottom of the Carrier data
window and pressing ENTER or clicking on the Add icon. When clicking on the Carrier listed in the
Carrier data window, the user will see a text box labeled 'New Group' below the Groups data window.

Groups
Groups are found in center data window on the Carrier setup page [TABLES-->CARRIERS]. Carriers
have a one to many relationship with Groups and all routing is done on the Group level. Groups are
defined as the features associated with an End Point or End Points (SIP Peers).

Enter a Group name in the text box labeled 'New Group' at the bottom of the Group data window and
pressing ENTER or clicking on the Add icon.

Inbound Group
Inbound Groups are set up for traffic coming to the Managed LCR Routing. Users can set the
properties of a Group by clicking on the Edit next to the Group name.

NAME
The top field in in an inbound group is for Carrier Group Name

In/Out
To the right of the name, users have the option to define a Group as inbound (traffic FROM customers)
or outbound (traffic TO vendors). For inbound Groups, select IN.

CONFIDENTIAL
SourceComm
Page 11
Prefix
The field below the name field is for any inbound Prefix the user may be expecting. Prefixes may be
up to 10 digits long and ALWAYS end with a pound (#) sign. The system will automatically strip these
digits before routing the call.

Strip Digits
Below the prefix field is the Strip Digits field. It will strip the pattern specified in this field.
Example, for the call 91-11-4365211:
Strip Digits field is set to 9111 the call will get routed as '4365211'.

Margin
Below the strip digits field is the Margin field. This represents the minimum margin required for a
Group. It is defaulted at 0, which implies that the user will not route any calls for a loss. If the margin
field is set at '10' the minimum margin for any route returned will be 10%. Setting this field to -100
disables any margin calculation.

Route Table Selection


Below the Margin field is the Route Table menu. This pull-down list will contain all configured Route
Tables [see the Route Table Section below on how to create and configure Route Tables]. Inbound
Groups will route traffic according to the priorities set in the associated Route Table.

CONFIDENTIAL
SourceComm
Page 12
Outbound Group
Outbound Groups are set up for traffic sent out from the Managed LCR Routing. Users can set the
properties of a Group by clicking on the Edit next to the Group name.

NAME
The top field in in an outbound group is for Carrier Group Name

In/Out
To the right of the name, users have the option to define a Group as inbound (traffic FROM customers)
or outbound (traffic TO vendors). For inbound Groups, select OUT.

CONFIDENTIAL
SourceComm
Page 13
Prefix
Users may add an outbound Prefix of up to 10 digits in this field. The Prefix will be pre-pended to the
beginning of the dialed number before it is sent out to the Group it is associated with.

Strip Digits
This field is not used for outbound groups

Margin
This field is not used for outbound groups.

Route Table Selection


This field is not used for outbound groups.

End Points
End Points are found in right-most data window on the Carrier setup page [TABLES-->CARRIERS].
Groups have a one to many relationship with End Points. End Points are SIP Peers.

Enter an IP address in the the text box labeled 'New Carrier' at the bottom of the Carrier data window
and pressing ENTER or clicking on the Add icon. Add all the IP addresses which are to be included in
the carrier Group. Note – Some Soft Switches also allow TDM Trunk Group names to be defined here.

CONFIDENTIAL
SourceComm
Page 14
Regions
The Carrier setup page can be found by clicking on [TABLES-->REGIONS]. The Regions table is the
master dial code table within the Managed LCR Routing. Regions have a one to many relationship
with Locales, and Locales have a one to many relationship with Dial Codes. All routing is controlled
on the Locale level.

Regions, Locales and Dial Codes may be added manually or via the Import function.

Adding Dial Codes Manually


Start by entering a Region name in the text box labeled 'New Region' at the bottom of the Regions data
window and pressing ENTER or clicking on the Add icon. When the region listed in the Region data
window, click on it and you should see a text box labeled 'New Locale' below the Groups data window.
To add a Dial Code for a Locale, click on the Locale and populate the New Dial Code text box below
the Dial Code data window.

CONFIDENTIAL
SourceComm
Page 15
Importing Dial Codes
Importing codes is the fastest way to define large amounts of Regions and Locales in the Managed
LCR Routing. The file should be in CSV (Comma Separated Value) format and should have the
following layout.

Region,Locale,Dial Code
Example:

NY,MANHATTAN,1212
INDIA,MOBILE,9198

CONFIDENTIAL
SourceComm
Page 16
INDIA,,91

Please note that header rows should not be included in the import format.

To import a file, click on the UPLOAD link [TABLES-->UPLOAD] from anywhere in the TABLES
menu. A modal will drop down. Click on the REGIONS button. Then click Browse to search the
users computer or network drives for the Regions file you wish to upload. Once the user has selected
the proper file, click upload. Users will see a success message once the operation is complete. Any
errors in the upload will output to a file that users have the option of downloading.

CONFIDENTIAL
SourceComm
Page 17
Rates
Customer and supplier rates are uploaded into the system in the same manner. The uploaded file
should be in CSV (Comma Separated Value) format and should have the following layout.

Dial Code,Rate
Example:

1212,0.0125
9198,0.10
91,0.065
Please note that header rows should not be included in the import format. The database can import and
store rates to the 1/10,000th of a cent though the interface will only give detail of up to 1/100th of a cent.

CONFIDENTIAL
SourceComm
Page 18
To import a file, click on the UPLOAD link [TABLES-->UPLOAD] from anywhere in the TABLES
menu. A modal will drop down. Click on the RATES button. Click on the Carrier and then select the
Group or Groups you wish to apply the rates to. Next, click on the type of rate to be uploaded (LCR,
Inter-State, Intra-State, or Undefined). Then click Browse to search your computer or network drives
for the Rates file to be upload. Select the proper file, click upload. Users will receive a success
message once the operation is complete. Any errors in the upload will output to a file that users have
the option of downloading.

CONFIDENTIAL
SourceComm
Page 19
Routes

Routes are broken up into two categories, LCR and Domestic Routing. LCR (B-Number Only) routing
takes does not take the Region into consideration when determining how to route a call. Domestic
Routing (Jurisdictional) takes both the Region and Locale into consideration when routing.

Managed LCR Routing uses the following order to set route order:

CONFIDENTIAL
SourceComm
Page 20
Route Tables
The system allows users to add multiple Route Tables. To add a Route Table, enter the name of the
table to be added in the text box directly beneath the type of table you wish to add. The top row is for
LCR tables and the bottom row is for Domestic tables. When finished press [ENTER] and it will
automatically open that table.

CONFIDENTIAL
SourceComm
Page 21
LCR Route Tables
LCR routes are typically used for international call routing or flat rate domestic routes. Calls that use
LCR tables will be routed using the dialed number only. Dial Codes will always be matched on the
most discreet breakout within a Route Table.

Domestic Route Tables


Domestic Route tables are typically used for Jurisdictional or Inter/Intra state routing. Domestic Route
Tables are broken out into three sub-tables. Inter-State, Intra-State, and Undefined. Calls that are
routed using Domestic Routing will first seek to determine if the ANI (A-Number) and the DNIS (B-
Number) are in the same Region. If they are it is considered Intra-State. If they are not it is considered
Inter-State. If it cannot be determined, as in internationally originated traffic for example, it is
considered Undefined.

Generating LCR
New tables are created without any routing built. The system will generate routing using the carriers
specified by the user and will automatically sort route choices in ascending rate order. Routing is
generated by clicking on the Update LCR button located on the tool bar on the upper right-hand corner
of the interface which will cause a modal to drop down. Select the Outbound Groups to be included in
this table. Click Apply. When the success message appears, exit out of the modal. To view the
changes go to the main Routes menu and back into the table. Any time the Generate LCR function is
used it will update routing priorities for the entire table or sub-table.

Changing Route Priorities


In the Route Table Screen, route priorities are listed in descending order from left to right. The route
closest to the Region/Locale has the highest priority for those set of codes on that Route Table. To
change the priority order of a route, click on a route and drag it to the right or left and drop it in the
location desired.

Changing Rates
To change a rate manually, click on the edit icon in the routes page of the rate to be modified. This will
open a call out box where uses can edit the rate of the destination. Editing a rate in the routes screen
will modify the rate wherever it is used in the system.

CONFIDENTIAL
SourceComm
Page 22
Search
Regions, Locals or Dial Codes may be searched for in a Route Table. The search window is located on
the left hand side of the tool bar. Select Region, Locale or Dial Code in the pull down list and type
what is being searched for in the search window. The system will begin searching as soon as
something is typed into the window. There is no need to press [ENTER].

Route Table Download


To download a copy of the route table, click on the downward facing arrow located to the left of the
Update LCR button in the tool bar.

CONFIDENTIAL
SourceComm
Page 23
Trouble Shooting
To search for a Call Log in the system, navigate to [HOME]-->[RECORDS]. Enter the complete dialed
number of the call to search. The system stores calls for six hours.

CONFIDENTIAL
SourceComm
Page 24
Call Logs

Sample Call Log


received:
• INVITE sip:3000#19565463646@cpxx.sourcecomm.net SIP/2.0
Max-Forwards: 69
Session-Expires: 3600;refresher=uac
Supported: timer
To: <sip:19565463646@69.24.128.244>
From: "TEST" <sip:8665555555@69.24.128.244:5060>;tag=as3d95add9
Contact: <sip:8665160115@69.24.128.244:5060>
Call-ID: 639337-3444133941-563099@chattmsx1.mydomain.com
CSeq: 1 INVITE
Via: SIP/2.0/UDP 69.24.128.244:5060;branch=z9hG4bK121cdf9872e58ed9a88b5bac81fb8fa4
Content-Type: application/sdp
Content-Length: 273
v=0
o=Nextone-MSW 19458 19458 IN IP4 69.24.128.244
s=sip call
c=IN IP4 69.24.128.247
t=0 0
m=audio 33854 RTP/AVP 18 101
a=sendrecv
a=ptime:20
a=silenceSupp:off - - - -
a=fmtp:101 0-16
a=rtpmap:101 telephone-event/8000
a=fmtp:18 annexb=no
a=rtpmap:18 G729/8000

detail:
• Setting account by source IP:69.24.128.244
Selecting routing module
Source IP: 69.24.128.244
Dialed Digits: 19565463646
Prefix: 3000#
Creating new routing module
Setting up query
Using prefix and source IP to determine instance
Making instance query

CONFIDENTIAL
SourceComm
Page 25
strip_digits is: 1
src epg: 35
strip_digits is not null
Got strip_digits:1
start of dialed number 19565463646 matches strip digits 1
dialed number is now: 9565463646
Got append digit data null , null , null
Using II
Got instance: 1
ANI: 8665160115
DN: 9565463646
Making route query
type is: undef
Got customer rate: 0.0059
Setting up query
Making route query
Using best digit match routing
Matched digits: 956546
Using profit threshold
Margin: 5
Customer rate: 0.0059
Supplier rate: 0.0051
Calculated margin: 13.559322033898297
Margin threshold met - appending route: 208.80.156.52
Matched digits: 956546
Using profit threshold
Margin: 5
Customer rate: 0.0059
Supplier rate: 0.0054
Calculated margin: 8.474576271186434
Margin threshold met - appending route: 208.85.248.40
Matched digits: 956546
Using profit threshold
Margin: 5
Customer rate: 0.0059
Supplier rate: 0.0062
Calculated margin: -5.084745762711863
Margin threshold failed - route: 66.234.182.43
Matched digits: 956546
Using profit threshold
Margin: 5
Customer rate: 0.0059

CONFIDENTIAL
SourceComm
Page 26
Supplier rate: 0.0065
Calculated margin: -10.169491525423727
Margin threshold failed - route: 208.79.53.200
Matched digits: 956546
Using profit threshold
Margin: 5
Customer rate: 0.0059
Supplier rate: 0.0069
Calculated margin: -16.949152542372882
Margin threshold failed - route: 216.193.203.110
Matched digits: 956546
Using profit threshold
Margin: 5
Sending reply from ip: cpxx. sourcecomm.net

sent:
• SIP/2.0 300 Redirect
To: <sip:19565463646@69.24.128.244>;tag=1994752474
From: "TEST" <sip:8665555555@69.24.128.244:5060>;tag=as3d95add9
Call-ID: 639337-3444133941-563099@chattmsx1.mydomain.com
CSeq: 1 INVITE
Via: SIP/2.0/UDP 69.24.128.244:5060;branch=z9hG4bK121cdf9872e58ed9a88b5bac81fb8fa4
Contact: sip:19565463646@208.80.156.52, sip:9996019565463646@208.85.248.40

CONFIDENTIAL
SourceComm
Page 27
Appendix A: S3 Managed LCR Routing Configuration Guide

Introduction:

This document illustrates the procedures needed to configure the SourceComm Managed LCR Routing
using Full Qualified Domain Name (FQDN) in conjunction with the NexTone Session Border
Controller (SBC). The How-To assumes that DNS has been set up and SBC can PING the Managed
LCR Routing via the FQDN address.

Managed LCR Routing Endpoint Configuration

From the tool bar select: EDIT > ADD > Endpoint

CONFIDENTIAL
SourceComm
Page 28
• From the Device Type select Softswitch
• Enter a name for the Managed LCR Routing in the Registration ID: field
• Port Number will automatically populate with zero
• Enter the IP Address of the Managed LCR Routing
• Select a Calling Plan
• Select the Realm on which the Managed LCR Routing resides
• Select IEdge Group

Select the Advanced tab.

• Check the Domain Match Flag

CONFIDENTIAL
SourceComm
Page 29
Select the Protocol tab.

In the Protocol tab confirm that only the SIP radio button is checked. Then click on the SIP Configure
button.

CONFIDENTIAL
SourceComm
Page 30
• Enter the FQDN, given to by SourceComm, in the Contact: field
• Check the FQDN redundancy radio button
• Select the OK button to go back to the Protocol tab.

Select the Calls tab

CONFIDENTIAL
SourceComm
Page 31
• Check Unlimited for all three CAC setting.
• Confirm that all three the radio buttons are unchecked for Media control

CONFIDENTIAL
SourceComm
Page 32
Select the OK button to save the endpoint. The Managed LCR Routing end point is now configured for
redundancy.

CONFIDENTIAL
SourceComm
Page 33

You might also like