IMPORTANT:If you are not familiar with the meaning of the fields and
buttons, click Show Help, located at the upper right corner of
the Web page. When activated, the fields and buttons that offer online help will
change to green and if you hover over them, the description will bedisplayed.
This scenario describes how to configure a Sentinel, so that calls failover to the
Secondary SIP Server / ITSP when the Primary SIP service provider is unreachable.
The Sentinel unit is located in the LAN, behind a Near-End NAT.
Only port ETH1 is used.
The Sentinel unit is set as a Demarcation point.
The Sentinel unit may or may not register to the SIP service provider.
The Sentinel unit is polling/monitoring both Service Providers to ensure they are
reachable.
When the Main/Primary SIP Provider gets unreachable, calls go through the Secondary SIP
service Provider.
During failover scenarios, when the Main/Primary SIP Provider gets reachable again, calls
are falling back to the Main/Primary service Provider.
For more details on the Sbc service, refer to the Sbc service guide published on the Media5
documentation portal at https://documentation.media5corp.com
Configuring Black listing in the wan_ip_trunk_ca Call Agent
Steps
Go to SBC/Configuration.
In the Call Agent Configuration table, click next to
wan_ip_trunk_ca.
In the Configure Call Agent table,
set the Keep-Alive Interval field to
30.
Set the Blacklisting Duration to
60.
In the Blacklisting Error Codes
field, enter the SIP codes (comma-separated) that will make the Sentinel mark
the SIP server as unreachable.
Click Save.
Click Apply.
Result
At the top of the screen, No will be displayed in the Configuration Modified field,
indicating that the configuration that was modified is now applied to the system. When
the Sentinel will use the selected Call Agent for a communication, the selected
parameters will be applied.
Select the Enable
check box, located next to secondary_ip_trunk_ca.
In the Call Agent Configuration
table, click next to secondary_ip_trunk_ca.
In the Configure Call Agent table,
complete the following fields:
From the Signaling Interface
selection list, select uplink_s.
From the Media Interface
selection list, select uplink_m.
Set the Peer Host to the IP
address of the secondary service provider server or FQDN.
Set the Keep-Alive Interval field to
30.
Set the Blacklisting Duration to
60.
In the Blacklisting Error Codes
field, enter the SIP codes (comma-separated) that will make the Sentinel mark
the Secondary SIP server as unreachable.
In the Call Agent Rulesets table,
click .
Note: Ignore the Invalid configuration and Unknown ruleset warnings, as they
will disappear when the configuration is saved.
From the Name
selection list, choose automatic_media_relay.
If your Secondary SIP trunk requires authentication, click .
From the Name
selection list, choose topology_hiding_out .
If your Secondary SIP trunk requires authentication, click .
In the Name selection
list, choose uac_authentication_out.
In the Parameters
field, enter USERNAME=Trunk_username PASSWORD=Trunk_password
corresponding to the username and password used for authentication.
Note: The parameters are case sensitive and are separated by a space.
Click Save.
Click Apply to apply
all changes to the configuration.
Result
No will be displayed in
the Config.Modified field,
indicating that the configuration that was modified is now applied to the system. When
the Mediatrix SBC will use the selected Call Agent for a communication, the selected
parameters will be applied.
Configuring a Registration Agent for the Secondary Sip Server (Optional)
Steps
Go to SBC/Registration.
In the Registration Agent Configuration table, click .
Note: A new line of fields is added.
Complete the User Name
enter the username required by your Secondary provider to register your SIP
trunk.
Note: If the Secondary provider also requires a password, the information needs
to match the parameters in uac_authentication_out in the Configuring the secondary_ip_trunk_ca Call Agent section.
The Friendly Name
field is usually left empty.
In the Domain field,
enter the IP address or FQDN of your Secondary SIP registrar. Generally the same
as defined in Configuring the secondary_ip_trunk_ca Call Agent .
In the Contact field,
enter sip:myCONTACT@%capubip(secondary_ip_trunk_ca)% ..
Note: Depending on your provider, myCONTACT must be replaced
by either the SIP account username or DID (telephone number).
Note:%capubip(secondary_ip_trunk_ca)% is a macro, which will
be automatically replaced by the IP address of the external public IP
address as defined in Configuring the uplink_s Signaling Interface section
of the SBC SIP Trunking Configuration
document.
From the Registration Type selection
list, make sure Normal
is selected.
Rulesets must be imported. The latest Ruleset package can be found on the
https://media5.secure.force.com/supportportal (you will be required to supply
a user name and password). In the Downloads tab, choose
SBC Updated Rulesets, then download the zip file and extract it
to your PC.
Context
Steps
Go to Management/File.
Note: The next step is only required if you are not using a secure connexion to
access the Management Interface (http://).
Click Activate unsecure
file importation from the Web browser.
From the Path field,
select sbc/rulesets/.
Click Browse, and
navigate to the secondary_ip_trunk_to_lan_pbx_dm.rrs
routing ruleset.
Click Import.
Result
The imported Ruleset will appear in the Internal files table, with the
selected path in front of the name. The Ruleset will be available in the tables of the
SBC/Rulesets page.
Associating Routing Rulesets to Your Configuration
Steps
Go to SBC/Configuration
In the Routing Rulesets table, from the Name selection list, replace the lan_pbx_to_wan_ip_trunk_dm with the
lan_pbx_to_wan_ip_trunk_failover_to_second_dm ruleset.
Click .
From the Name
selection list,
Replace registration_to_wan_ip_trunk ruleset with
registration_to_wan_ip_trunk_failover_to_second
.
Click .
From the Name
selection list, select secondary_ip_trunk_to_lan_pbx.
Click Save.
Click Apply to apply
all changes to the configuration.
If you are not familiar with the meaning of the fields and
buttons, click Show Help, located at the upper right corner of
the Web page. When activated, the fields and buttons that offer online help will
change to green and if you hover over them, the description will bedisplayed.
This document contains information that is proprietary to Media5 Corporation.
Media5 Corporation reserves all rights to this document as well as to the Intellectual Property
of the document and the technology and know-how that it includes and represents.
This publication cannot be reproduced, neither in whole nor in part, in any form whatsoever,
without written prior approval by Media5 Corporation.
Media5 Corporation reserves the right to revise this publication and make changes at any time
and without the obligation to notify any person and/or entity of such revisions and/or
changes.