• No results found

Configuration Notes 0215

N/A
N/A
Protected

Academic year: 2021

Share "Configuration Notes 0215"

Copied!
13
0
0

Loading.... (view fulltext now)

Full text

(1)

M

M

e

e

d

d

i

i

a

a

t

t

r

r

i

i

x

x

D

D

i

i

g

g

i

i

t

t

a

a

l

l

a

a

n

n

d

d

A

A

n

n

a

a

l

l

o

o

g

g

V

V

o

o

I

I

P

P

G

G

a

a

t

t

e

e

w

w

a

a

y

y

s

s

D

D

N

N

S

S

S

S

R

R

V

V

C

C

o

o

n

n

f

f

i

i

g

g

u

u

r

r

a

a

t

t

i

i

o

o

n

n

f

f

o

o

r

r

a

a

R

R

e

e

d

d

u

u

n

n

d

d

a

a

n

n

t

t

S

S

e

e

r

r

v

v

e

e

r

r

S

S

o

o

l

l

u

u

t

t

i

i

o

o

n

n

(

(

S

S

I

I

P

P

)

)

Introduction ... 2 Deployment Scenario ... 2 DNS SRV (RFC 2782) ... 3

Microsoft Server Configuration ... 4

Mediatrix 1600 Configuration... 7

(2)

Introduction

Effective May 6, 2005 – This configuration note is a step-by-step guide to set up DNS SRV in the Mediatrix 1631 E1 PRI VoIP gateway and Mediatrix FXS VoIP gateways in a SIP environment. This will allow Mediatrix

gateways to use a secondary server in case the primary server fails. It defines template configurations for the Mediatrix FXS analog gateways and Mediatrix 1631 digital gateway, which can be adapted with little effort to the network you want to configure.

Deployment Scenario

This configuration note assumes that all gateways are already working within a SIP environment. It also assumes that a working solution is currently in place with one server; a clone server will be added on the network, its only difference with the primary server being the location (IP address). Both servers should share the same database (Registrar database) and work in synchronization. Please contact your server provider to ensure that they support this functionality.

This configuration note will help you to add some configuration on the Mediatrix gateways to contact a backup server in case of failure with the first one or to do load balancing. It will also describe an example of DNS SRV configuration using a Microsoft Server.

(3)

This configuration note is not a substitute of the formal product documentation. Please have the following manuals available for reference:

ƒ Mediatrix Digital Devices Software Configuration Guide ƒ Mediatrix Digital Devices Getting Started Guide

ƒ Mediatrix 1104 Administration Manual (SIP version)

DNS SRV (RFC 2782)

Currently, one must either know the exact address of a server to contact it, or broadcast a question. DNS SRV is an extension of the standard DNS server. SRV (Service Record) is a type of entry a network administrator may put into the DNS answers. A DNS SRV is used to get one or more IP addresses of servers, each one having its own weight and priority.

Each server received when using DNS SRV, depending on its weight and priority, can be used as a primary or backup server or can be part of a load balancing system.

For instance, the client requests the SRV for SIP servers in some domain. The DNS server may return the A, B, and C addresses, which are all SIP servers. Each address has a weight and the client must choose one of those three addresses by using a random algorithm that considers the weight.

(4)

Microsoft Server Configuration

This section describes how to use a Microsoft 2000 server to answer the DNS SRV request.

The domain name for the Mediatrix unit will be saleslab.mediatrix.com. We will create two SRV records under that domain name: one for the primary server (Primary) and the other for the secondary server (Secondary). Then, under the saleslab.mediatrix.com domain name, you will create two A records to resolve the “primary and secondary” host name for there corresponding IP address.

(5)

Step 2:

Create a new SRV record

ƒ Using the option “Other New Records” you can create a new SRV record. ƒ Select SRV in the Resource Record Type window.

ƒ Click the Create Record button.

ƒ Change the following parameters for the Primary server (see illustration on next page):

Parameter Value

Service _sip

Protocol _udp (_tcp, if using SIP tcp)

Priority 1 (for the Primary Server)

Port Number 5060

(6)
(7)

Step 4:

Enter the following information:

ƒ Host name

ƒ IP address

Step 5:

Repeat Step 4 for the second server

Mediatrix 1600 Configuration

Step 1:

DNS Configuration

ƒ To configure the DNS server IP address in the Mediatrix 1600 follow these instructions: Mediatrix1600>enable

Mediatrix1600#configuration

Mediatrix1600(cfg) #dns server 62.2.32.5

Step 2:

Penalty Box

ƒ To configure the Penalty box feature in the Mediatrix 1600 follow these instructions: Mediatrix1600(cfg) #gateway sip gw-sip (i.e. gateway’s name)

Mediatrix1600(gtw-sip) [sip] #penalty-box-time 300

Step 3:

Transaction Timeout

(8)

Mediatrix 1104 Configuration

Step 1:

DNS Configuration

ƒ If the IP configuration of the unit is done manually, configure only the IP address of your DNS SRV manually.

ƒ If the unit gets its IP configuration from a DHCP server, you can overwrite the value of the DNS server to point the unit to the appropriate DNS SRV server. In the MIB structure of the unit, set the following parameters:

o Set the telephonyDNSOverrideEnable variable to enable.

o Configure the IP address of your primary DNS server in the telephonyDnsStaticPrimaryDns variable.

(9)

Step 2:

SIP Server configuration

ƒ Configure the SIP server with the FQDN address you created in the Microsoft 2000 server:

(10)
(11)

Step 3:

Penalty Box

ƒ If the Penalty Box is disabled and the SIP servers parameters are provisioned with a DNS SRV query that is defined with a primary and secondary server, the unit will always try the primary server and wait for the timeout as defined in Step 4: SIP Transmission Timeout setting. This causes some delay on all calls when the primary server is not answering.

ƒ When the feature is enabled, the unit will wait for the configured time to try again with the primary server, using the secondary server in the mean time.

ƒ Mediatrix recommendation:

Parameter Value

sipPenaltyBoxEnable enable

sipPenaltyBoxTime Depends on the average down time. 300 (seconds) is

(12)

Step 4:

SIP Transmission Timeout setting

ƒ This is to configure the amount of time the unit will wait for an answer from the Primary server before trying the secondary.

(13)

Step 5:

Disable SIP over TCP if not used

References

Related documents

A lot of what I teach is slightly unorthodox, and will go against what MANY female dating coaches teach. I have always felt that the female dating coaches, with all

If you assign more than one Pool to a Campaign, Contact Center distributes calls to those Pools randomly, unless you change the Pool weighting. Weighting sets the probability

Robot controller features: Desirable features to look for in robot controllers include compact size and light weight; fast processing speed; modular expandability, to accommodate

SQL Server Configuration Configuration parameters SQL Server Configuration Parameters mssqlconfig.scp SQL Server Objects Database configuration SQL Server Database

If you are using a two-arm NAT load balancing method the real server configuration is a simple case of configuring the load balancer as the default gateway.. The real server must

If you are using a two-arm NAT load balancing method, the Real Server configuration is a simple case of configuring the load balancer as the default gateway. Normally, a floating

IN WITNESS WHEREOF, I have hereunto set my hand this 10 th  day of May 2017, Quezon City, Metro Manila, Philippines. GIL

The Radiation Management Plan – Murray Basin has been prepared in accordance with requirements of the Victorian Radiation Act 2005, Radiation Regulations 2007