832
Discover the Power of 5 Software Configuration Guide Dgw v2.0 Application Document Revision 42 July 23, 2015 VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

Dgw v2.0 Application - VoIPon Solutions · Configuring the CLI ... DHCPv4 Classless Static Route Option ... Outbound Proxy Loose Router Configuration

  • Upload
    dotuyen

  • View
    233

  • Download
    0

Embed Size (px)

Citation preview

  • Discover the Power of 5

    VoIPon www.voipon.co.uk sales@

    Software Configuration Guide

    Dgw v2.0 Application

    Document Revision 42 July 23, 2015

    voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

  • Media5 Corporation Software Configuration Guide

    Dgw v2.0 Application Software Configuration Guide 2015, Media5 Corporation

    All rights reserved. No part of this publication may be reproduced or used in any form or by any means graphic, electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without the express written permission of the publisher.

    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.

    TrademarksMicrosoft and Windows are registered trademarks of Microsoft Corporation.

    Adobe and Acrobat are registered trademarks of Adobe Systems Incorporated.

    All other trademarks and registered trademarks are the property of their respective owners.

    Third-Party Software Copyright InformationThe Dgw v2.0 Application firmware aggregates some third-party software modules (open source and commercial) that are distributed to you in accordance with their respective licenses. Refer to the Third Party Software Copyright Information addendum available on the Mediatrix Download Portal, which lists the third-party software modules along with any copyright and license information.

    VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

  • Software Configuration Guide

    Contents

    PrefaceAbout this Manual ...........................................................................................................xxv

    Document Objectives...............................................................................................................................xxviiIntended Audience...................................................................................................................................xxviiRelated Documentation ...........................................................................................................................xxviiDocument Structure.................................................................................................................................xxviiDocument Conventions ...........................................................................................................................xxxii

    Warning Definition .................................................................................................................................................. xxxiiOther Conventions ................................................................................................................................................. xxxiiSCN vs. PSTN........................................................................................................................................................ xxxiiStandards Supported ............................................................................................................................................. xxxii

    Naming Conventions ..............................................................................................................................xxxiii

    Chapter 1System Overview ................................................................................................................1

    Introduction ...................................................................................................................................................1Mediatrix Sentinel ........................................................................................................................................................ 1Mediatrix 3000 Series.................................................................................................................................................. 1Mediatrix 4100 Series.................................................................................................................................................. 3Mediatrix LP Series ..................................................................................................................................................... 4Mediatrix 4400 Series.................................................................................................................................................. 4Mediatrix C7 Series ..................................................................................................................................................... 5

    Key Features ................................................................................................................................................5Bypass Feature (Mediatrix 4100 Series) ......................................................................................................6DSP Limitation ..............................................................................................................................................7

    Mediatrix Sentinel ........................................................................................................................................................ 7Mediatrix 3200 Series.................................................................................................................................................. 7Mediatrix 3300 Series.................................................................................................................................................. 8Mediatrix 3400 Series.................................................................................................................................................. 8Mediatrix 3500 Series.................................................................................................................................................. 8Mediatrix 3600 Series.................................................................................................................................................. 9Mediatrix 3716............................................................................................................................................................. 9Mediatrix 3731............................................................................................................................................................. 9Mediatrix 3732........................................................................................................................................................... 10Mediatrix 3734........................................................................................................................................................... 10Mediatrix 3741........................................................................................................................................................... 10Mediatrix 3742........................................................................................................................................................... 10Mediatrix 4100 Series................................................................................................................................................ 11Mediatrix LP Series ................................................................................................................................................... 11Mediatrix C7Series .................................................................................................................................................... 11Mediatrix 4400 Series................................................................................................................................................ 12

    Management Choices.................................................................................................................................13RESET/DEFAULT Button ...........................................................................................................................15

    At Run-Time .............................................................................................................................................................. 15At Start-Time ............................................................................................................................................................. 15Partial Reset.............................................................................................................................................................. 16Factory Reset ............................................................................................................................................................ 17

    User Access................................................................................................................................................18Secure Password Policies......................................................................................................................................... 18

    Dgw v2.0 Application iii

    VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

  • Contents

    Partial Reset.............................................................................................................................................................. 19Where to Go From Here .............................................................................................................................19

    Chapter 2Command Line Interface (CLI) .........................................................................................21

    Introduction .................................................................................................................................................21Configuring the CLI.....................................................................................................................................21

    Partial Reset.............................................................................................................................................................. 22Accessing the CLI.......................................................................................................................................22

    Accessing the CLI through the Serial Console Port (Mediatrix 3000 Series only) .................................................... 22Accessing the CLI via a Telnet Session .................................................................................................................... 23Accessing the CLI via a SSH Session....................................................................................................................... 24

    Working in the CLI ......................................................................................................................................25Contexts .................................................................................................................................................................... 25Exiting from the CLI................................................................................................................................................... 26Command Completion............................................................................................................................................... 26Macros....................................................................................................................................................................... 26History ....................................................................................................................................................................... 26Services Restart ........................................................................................................................................................ 26Syslog Messages ...................................................................................................................................................... 27Configuring the Mediatrix unit with the CLI................................................................................................................ 27Current Unit Status.................................................................................................................................................... 27Welcome Message.................................................................................................................................................... 27Help ........................................................................................................................................................................... 27

    List of Commands / Keywords ....................................................................................................................29access ....................................................................................................................................................................... 29alias / unalias............................................................................................................................................................. 30cd............................................................................................................................................................................... 31columnars.................................................................................................................................................................. 31commands................................................................................................................................................................. 31defval ......................................................................................................................................................................... 32dump ......................................................................................................................................................................... 32get ............................................................................................................................................................................. 33help............................................................................................................................................................................ 34indexes ...................................................................................................................................................................... 35keys ........................................................................................................................................................................... 35logs off ....................................................................................................................................................................... 36logs on....................................................................................................................................................................... 36ls................................................................................................................................................................................ 36name ......................................................................................................................................................................... 37objects ....................................................................................................................................................................... 37PCapture ................................................................................................................................................................... 38ping (IPv4) ................................................................................................................................................................. 38ping (IPv6) ................................................................................................................................................................. 39scalars ....................................................................................................................................................................... 39set.............................................................................................................................................................................. 39show .......................................................................................................................................................................... 40sysinfo ....................................................................................................................................................................... 41tables......................................................................................................................................................................... 41type............................................................................................................................................................................ 41Command Execution ................................................................................................................................................. 42

    iv Dgw v2.0 Application

    VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

  • Software Configuration Guide

    Chapter 3Web Interface Configuration ............................................................................................43

    Introduction .................................................................................................................................................43Tls Version Settings .................................................................................................................................................. 45

    ....................................................................................................................................................................46HTTP User-Agent Header Format............................................................................................................................. 46

    Using the Web Interface .............................................................................................................................48Menu Items................................................................................................................................................................ 49

    Submitting Changes ...................................................................................................................................54Where to Go From Here? ...........................................................................................................................54

    Using Secure Communication................................................................................................................................... 55

    System Parameters

    Chapter 4Services .............................................................................................................................59

    Services Table ............................................................................................................................................59Graceful Restart of Services ..................................................................................................................................... 62Restarting a Service via MIB ..................................................................................................................................... 62

    Chapter 5Hardware Parameters .......................................................................................................65

    Hardware Card Configuration .....................................................................................................................65BRI Hardware Configuration ..................................................................................................................................... 65PRI Hardware Configuration ..................................................................................................................................... 66BRI Power Feeding Configuration............................................................................................................................. 68

    Bridging Configuration ................................................................................................................................68Ring Management ......................................................................................................................................70

    Chapter 6Endpoints State Configuration ........................................................................................73

    Unit Configuration .......................................................................................................................................73Endpoints Configuration .............................................................................................................................73Administration .............................................................................................................................................74

    Unit Shutting Down Behaviour .................................................................................................................................. 75

    Chapter 7Syslog Configuration........................................................................................................77

    Syslog Daemon Configuration ....................................................................................................................77Configuring PCM Capture ......................................................................................................................................... 80Configuring the Syslog Daemon Application ............................................................................................................. 81

    Dgw v2.0 Application v

    VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

  • Contents

    Chapter 8Events Configuration........................................................................................................83

    Notification Events ......................................................................................................................................83Deleting a Rule.......................................................................................................................................................... 85Monitoring Parameters .............................................................................................................................................. 85

    Chapter 9Local Log ...........................................................................................................................87

    Local Log Status and Entries......................................................................................................................87

    Network Parameters

    Chapter 10IPv4 vs. IPv6 ......................................................................................................................91

    Introduction .................................................................................................................................................91IPv4 vs. IPv6 Availability.............................................................................................................................91IPv6 Scope Identifier...................................................................................................................................92

    When Contacting the unit using its IPv6 link-local Address ...................................................................................... 92When Configuring the Mediatrix unit to use an IPv6 link-local Address .................................................................... 93

    Chapter 11Host Parameters................................................................................................................95

    General Configuration.................................................................................................................................95Host Configuration ......................................................................................................................................95Default Gateway Configuration...................................................................................................................97DNS Configuration......................................................................................................................................98SNTP Configuration....................................................................................................................................99Time Configuration ...................................................................................................................................100

    STD / DST ............................................................................................................................................................... 101OFFSET .................................................................................................................................................................. 101START / END .......................................................................................................................................................... 101Example .................................................................................................................................................................. 102

    Additional Parameters ..............................................................................................................................102Configuring DNS Records Randomization .............................................................................................................. 102Configuring Pre-resolved Static FQDNs.................................................................................................................. 103Updating the "sysname" or "syslocation"................................................................................................................. 104

    Chapter 12Interface Parameters.......................................................................................................105

    Reserving an IP Address ..........................................................................................................................105Link Connectivity Detection ......................................................................................................................105Partial Reset .............................................................................................................................................105Interfaces Configuration............................................................................................................................106

    vi Dgw v2.0 Application

    VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

  • Software Configuration Guide

    IPv6 Autoconfiguration Interfaces ........................................................................................................................... 109Network Interface Priority ........................................................................................................................................ 110

    Rescue Interface Configuration ................................................................................................................110PPPoE Configuration................................................................................................................................111

    PPP Negotiation ...................................................................................................................................................... 112DHCP Client Identifier Presentation ........................................................................................................................ 112

    LLDP Configuration ..................................................................................................................................113Ethernet Link Configuration ......................................................................................................................114EAP 802.1x Configuration ........................................................................................................................115DHCP Server Configuration .....................................................................................................................116

    DHCP Negotiation ................................................................................................................................................... 116Ethernet Connection Speed......................................................................................................................117

    Speed and Duplex Detection Issues ....................................................................................................................... 118

    Chapter 13VLAN Parameters............................................................................................................119

    VLAN Configuration ..................................................................................................................................119

    Chapter 14Local QoS (Quality of Service) Configuration ..............................................................121

    Introduction ...............................................................................................................................................121Differentiated Services (DS) Field ...........................................................................................................121IEEE 802.1q..............................................................................................................................................123Specific Service Class Configuration........................................................................................................123Network Traffic Control Configuration.......................................................................................................124

    Chapter 15Local Firewall Configuration..........................................................................................127

    Managing the Local Firewall .....................................................................................................................127Partial Reset............................................................................................................................................................ 127Setting the Default Policy ........................................................................................................................................ 127Creating/Editing a Firewall Rule .............................................................................................................................. 128Moving a Firewall Rule ............................................................................................................................................ 130Deleting a Firewall Rule .......................................................................................................................................... 131

    Disabling the Local Firewall ......................................................................................................................131

    Chapter 16IP Routing Configuration................................................................................................133

    Managing IP Routing ................................................................................................................................133IPv4 Forwarding ...................................................................................................................................................... 133Creating/Editing an IP Routing Rule........................................................................................................................ 134Moving an IP Routing Rule...................................................................................................................................... 135Deleting an IP Routing Rule .................................................................................................................................... 135Static IPv4 Routes................................................................................................................................................... 136DHCPv4 Classless Static Route Option.................................................................................................................. 137DHCPv4 User Class Route Option.......................................................................................................................... 137

    Network Configuration Examples .............................................................................................................138Forward Packets from the Lan1 Network to the Uplink Network with NAT ............................................................. 138

    Dgw v2.0 Application vii

    VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

  • Contents

    Configure Port Forwarding for a Web Server Located on the LAN ......................................................................... 138

    Chapter 17Network Firewall Configuration .....................................................................................141

    Managing the Network Firewall ................................................................................................................141Setting the Default Policy ........................................................................................................................................ 141Creating/Editing a Network Firewall Rule................................................................................................................ 142Moving a Network Firewall Rule.............................................................................................................................. 145Deleting a Network Firewall Rule ............................................................................................................................ 145

    Disabling the Network Firewall .................................................................................................................145

    Chapter 18NAT Configuration ..........................................................................................................147

    Introduction ...............................................................................................................................................147Partial Reset............................................................................................................................................................ 147

    Creating/Editing a Source NAT Rule ........................................................................................................147Creating/Editing a Destination NAT Rule..................................................................................................151Moving a NAT Rule...................................................................................................................................154Deleting a NAT Rule .................................................................................................................................154Disabling the NAT.....................................................................................................................................154

    Chapter 19DHCP Server Settings.....................................................................................................155

    Introduction ...............................................................................................................................................155Subnet Server ......................................................................................................................................................... 155Leases..................................................................................................................................................................... 155Configuration Parameters ....................................................................................................................................... 155Default vs. Specific Configurations.......................................................................................................................... 156

    DHCP Basic Configuration .......................................................................................................................157Lease Time (Option 51) ............................................................................................................................157Domain Name (Option 15)........................................................................................................................158Default Gateway (Option 3) ......................................................................................................................158DNS (Option 6) .........................................................................................................................................159NTP (Option 42)........................................................................................................................................160NBNS (Option 44).....................................................................................................................................161DHCP Static Leases Configuration...........................................................................................................162

    viii Dgw v2.0 Application

    VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

  • Software Configuration Guide

    SBC Parameters

    Chapter 20SBC Configuration ..........................................................................................................165

    POTS Parameters

    Chapter 21POTS Configuration........................................................................................................169

    POTS Status.............................................................................................................................................169Line Status .............................................................................................................................................................. 169FXO Line Status ...................................................................................................................................................... 170

    General POTS Configuration....................................................................................................................170Caller ID Information ............................................................................................................................................... 172

    FXS Configuration ....................................................................................................................................173FXS Country Customization .....................................................................................................................175

    Calling Party Name of the Caller ID ........................................................................................................................ 176FXS Bypass ..............................................................................................................................................177FXS Emergency Call Override..................................................................................................................178FXS Distinctive Ring .................................................................................................................................179FXO Configuration ....................................................................................................................................181

    FXO Dialing Configuration....................................................................................................................................... 181FXO Answering Configuration................................................................................................................................. 182FXO Incoming Call Configuration............................................................................................................................ 184FXO Custom Basic Parameters .............................................................................................................................. 184FXO Line Verification .............................................................................................................................................. 185FXO Force End of Call ............................................................................................................................................ 186

    ISDN Parameters

    Chapter 22ISDN Configuration .........................................................................................................191

    Introduction ...............................................................................................................................................191ISDN Reference Points ........................................................................................................................................... 191Inband Tones Generation........................................................................................................................................ 192

    Setting PRI Hardware Parameters ...........................................................................................................193ISDN Auto-Configuration ..........................................................................................................................194Preset .......................................................................................................................................................195

    Partial Reset............................................................................................................................................................ 195PRI ISDN Statistics...................................................................................................................................195PRI Configuration .....................................................................................................................................198

    InformationFollowing Operation .............................................................................................................................. 208BRI Configuration .....................................................................................................................................209

    Dgw v2.0 Application ix

    VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

  • Contents

    Bypass Feature (Mediatrix 3404/3408/3734/3741/3742 Models)............................................................................ 219Bypass Feature (Mediatrix 4402plus / 4404plus Models) ....................................................................................... 219

    Interop Parameters Configuration.............................................................................................................220Play Local Ringback when no Media Stream.......................................................................................................... 222

    ISDN Timers Configuration.......................................................................................................................224Services Configuration..............................................................................................................................225IP Sync Configuration ...............................................................................................................................231

    Enabling/Disabling IP Synchronization.................................................................................................................... 231Master Units Configuration...................................................................................................................................... 232Slave Units Configuration........................................................................................................................................ 232Resetting the Synchronization Data ........................................................................................................................ 233

    R2 CAS Parameters

    Chapter 23R2 CAS Configuration.....................................................................................................237

    Introduction ...............................................................................................................................................237Line Signals for the Digital Version of MFC/R2 ....................................................................................................... 237Interregister Signals ................................................................................................................................................ 237

    Selecting the R2 Signaling Protocol .........................................................................................................238R2 Auto-Configuration ..............................................................................................................................239Preset .......................................................................................................................................................239

    Partial Reset............................................................................................................................................................ 240R2 Channel Associated Signaling ............................................................................................................240R2 Signaling Variants ...............................................................................................................................244

    Override Default Country Settings........................................................................................................................... 245R2 Signaling Variants.............................................................................................................................................. 245

    R2 Timers Variants ...................................................................................................................................248Override Default Country Settings........................................................................................................................... 249R2 Timers Variants.................................................................................................................................................. 250

    R2 Digit Timers Variants...........................................................................................................................253Override Default Country Settings........................................................................................................................... 253R2 Digit Timers Variants ......................................................................................................................................... 254

    R2 Link Timers Variants ...........................................................................................................................255Override Default Country Settings........................................................................................................................... 255R2 Link Timers Variants .......................................................................................................................................... 256

    R2 Tones Variants ....................................................................................................................................256Override Default Country Settings........................................................................................................................... 258R2 Tones Forward Groups...................................................................................................................................... 259R2 Tones Backward Groups ................................................................................................................................... 260

    IP Sync Configuration ...............................................................................................................................264Enabling/Disabling IP Synchronization.................................................................................................................... 264Master Units Configuration...................................................................................................................................... 264Slave Units Configuration........................................................................................................................................ 265Resetting the Synchronization Data ........................................................................................................................ 265

    PRI R2 CAS Statistics ..............................................................................................................................266

    x Dgw v2.0 Application

    VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

  • Software Configuration Guide

    E&M CAS Parameters

    Chapter 24E&M CAS Configuration .................................................................................................271

    Introduction ...............................................................................................................................................271Line Signals for the Digital Version of E&M............................................................................................................. 271

    Selecting the E&M Signalling Protocol .....................................................................................................272E&M Auto-Configuration ...........................................................................................................................273Preset .......................................................................................................................................................273

    Partial Reset............................................................................................................................................................ 274E&M Channel Associated Signaling .........................................................................................................274E&M Signalling Variants ...........................................................................................................................278

    Override Default Signaling Settings ........................................................................................................................ 278E&M Signalling Variants.......................................................................................................................................... 279

    E&M Timers Variants................................................................................................................................281Override Default Signaling Settings ........................................................................................................................ 281E&M Timers Variants .............................................................................................................................................. 282

    E&M Digit Timers Variants........................................................................................................................283Override Default Signaling Settings ........................................................................................................................ 283E&M Digit Timers Variants ...................................................................................................................................... 284

    E&M Link Timers Variants ........................................................................................................................285Override Default Signalling Settings........................................................................................................................ 285E&M Link Timers Variants....................................................................................................................................... 286

    E&M Tones Variants.................................................................................................................................286Override Default Signalling Settings........................................................................................................................ 286E&M Tones Variants ............................................................................................................................................... 287

    IP Sync Configuration ...............................................................................................................................288Enabling/Disabling IP Synchronization.................................................................................................................... 288Master Units Configuration...................................................................................................................................... 288Slave Units Configuration........................................................................................................................................ 289Resetting the Synchronization Data ........................................................................................................................ 289

    PRI E&M Statistics....................................................................................................................................290

    SIP Parameters

    Chapter 25SIP Gateways...................................................................................................................295

    SIP Gateways Configuration.....................................................................................................................295

    Chapter 26SIP Servers ......................................................................................................................299

    Introduction ...............................................................................................................................................299TLS Persistent Connections Status ..........................................................................................................300SIP Servers Configuration ........................................................................................................................300Multiple SIP Gateways..............................................................................................................................301

    Dgw v2.0 Application xi

    VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

  • Contents

    SIP Gateway Specific Registrar Servers................................................................................................................. 301SIP Gateway Specific Messaging Servers .............................................................................................................. 302SIP Gateway Specific Proxy Servers ...................................................................................................................... 303Keep Alive ............................................................................................................................................................... 303SIP Gateway Specific Keep Alive Destinations....................................................................................................... 305

    Outbound Proxy Loose Router Configuration...........................................................................................305

    Chapter 27SIP Registration...............................................................................................................307

    Endpoints Registration..............................................................................................................................307Contact Domain....................................................................................................................................................... 309Accept Language .................................................................................................................................................... 309

    Unit Registration .......................................................................................................................................309Registration Configuration ........................................................................................................................310Number of Registrations ...........................................................................................................................311Additional Registration Refresh Parameters.............................................................................................312

    Default Registration Retry Time .............................................................................................................................. 312Default vs. Specific Configurations.......................................................................................................................... 313Registration Refresh................................................................................................................................................ 313Registration Expiration ............................................................................................................................................ 313Expiration Value in Registration .............................................................................................................................. 314Gateway Specific Registration Retry Time.............................................................................................................. 314Unregistered Endpoint Behaviour ........................................................................................................................... 315Unregistered Unit Behaviour ................................................................................................................................... 315Behaviour on Initial-Registration Reception ............................................................................................................ 316Registration Delay Value......................................................................................................................................... 317

    SIP User Agent Header ............................................................................................................................317

    Chapter 28SIP Authentication ..........................................................................................................319

    Authentication Configuration.....................................................................................................................319Creating/Editing an Authentication Entry................................................................................................................. 320Moving an Authentication Entry............................................................................................................................... 322Deleting an Authentication Entry ............................................................................................................................. 322

    Chapter 29SIP Transport Parameters ..............................................................................................323

    SIP Transport Type...................................................................................................................................323Additional Transport Parameters ..............................................................................................................325

    Transport TLS Cipher Suite Settings....................................................................................................................... 326Transport Tls Version Settings ................................................................................................................................ 327................................................................................................................................................................................ 328UDP Source Port Behaviour.................................................................................................................................... 328TLS Client Authentication........................................................................................................................................ 328Force DNS NAPTR In TLS...................................................................................................................................... 329SIP Failover Conditions........................................................................................................................................... 330Persistent Port Interval ............................................................................................................................................ 330

    xii Dgw v2.0 Application

    VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

  • Software Configuration Guide

    Chapter 30Interop Parameters..........................................................................................................331

    Behavior on T.38 INVITE Not Accepted ...................................................................................................331SIP Interop................................................................................................................................................332SDP Interop ..............................................................................................................................................334TLS Interop ...............................................................................................................................................338Misc Interop ..............................................................................................................................................339Additional Interop Parameters ..................................................................................................................340

    Call Waiting Private Number Criteria for SIP INFO ................................................................................................. 340Max-Forwards Header............................................................................................................................................. 340Direction Attributes in a Media Stream.................................................................................................................... 341Local Ring Behaviour on Provisional Response ..................................................................................................... 344Session ID and Session Version Number in the Origin Field of the SDP................................................................ 345Register Home Domain Override ............................................................................................................................ 346DNS SRV Record Lock ........................................................................................................................................... 346Listening for Early RTP ........................................................................................................................................... 347Resolve Route Header ............................................................................................................................................ 347ACK Branch Matching ............................................................................................................................................. 348Ignore Require Header............................................................................................................................................ 348Reject Code for Unsupported SDP Offer ................................................................................................................ 349SIP User-Agent Header Format .............................................................................................................................. 350SIP INFO Without Content Answer ......................................................................................................................... 350Keep Alive Option Format ....................................................................................................................................... 351Unsupported Content-Type ..................................................................................................................................... 351

    Chapter 31Miscellaneous SIP Parameters ......................................................................................353

    SIP Penalty Box........................................................................................................................................353Penalty Box vs Transport Types ............................................................................................................................. 353Penalty Box Configuration....................................................................................................................................... 354

    Error Mapping ...........................................................................................................................................355SIP to Cause Error Mapping ................................................................................................................................... 356Cause to SIP Error Mapping ................................................................................................................................... 358

    Additional Headers ...................................................................................................................................361PRACK .....................................................................................................................................................362

    Forked Provisional Responses Behaviour .............................................................................................................. 363Session Refresh .......................................................................................................................................363

    Background Information .......................................................................................................................................... 364SIP Gateway Configuration ......................................................................................................................365SIP Blind Transfer Method........................................................................................................................366Diversion Configuration ............................................................................................................................366DNS Configuration....................................................................................................................................367Event Handling Configuration ...................................................................................................................367Messaging Subscription............................................................................................................................369Advice of Charge Configuration................................................................................................................369Additional DNS Parameters......................................................................................................................370

    DNS Failure Concealment....................................................................................................................................... 370

    Dgw v2.0 Application xiii

    VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

  • Contents

    Media Parameters

    Chapter 32Voice & Fax Codecs Configuration ...............................................................................373

    Codec Descriptions...................................................................................................................................373G.711 A-Law and -Law.......................................................................................................................................... 373G.723.1.................................................................................................................................................................... 374G.726....................................................................................................................................................................... 374G.729....................................................................................................................................................................... 375Clear Mode.............................................................................................................................................................. 376Clear Channel ......................................................................................................................................................... 376X-CCD Clear Channel ............................................................................................................................................. 377T.38 ......................................................................................................................................................................... 377

    Codec Parameters....................................................................................................................................378Codec vs. Bearer Capabilities Mapping....................................................................................................379Generic Voice Activity Detection (VAD)....................................................................................................380G.711 Codec Parameters .........................................................................................................................381G.723 Codec Parameters .........................................................................................................................382G.726 Codecs Parameters .......................................................................................................................383G.729 Codec Parameters .........................................................................................................................385Clear Mode Codec Parameters ................................................................................................................387Clear Channel Codec Parameters............................................................................................................388X-CCD Clear Channel Codec Parameters ...............................................................................................390Fax Parameters ........................................................................................................................................391

    Clear Channel Fax .................................................................................................................................................. 391T.38 Fax .................................................................................................................................................................. 392T.38 Parameters Configuration ............................................................................................................................... 393Data Codec Selection Procedure ............................................................................................................................ 395

    Chapter 33Security ............................................................................................................................397

    Introduction ...............................................................................................................................................397Security Parameters .................................................................................................................................397

    Enforcing Symmetric RTP ....................................................................................................................................... 399

    Chapter 34RTP Statistics Configuration..........................................................................................401

    Statistics Displayed...................................................................................................................................401Statistics Configuration .............................................................................................................................403Channel Statistics .....................................................................................................................................404

    Chapter 35Miscellaneous Media Parameters..................................................................................407

    Jitter Buffer Configuration .........................................................................................................................407About Changing Jitter Buffer Values ....................................................................................................................... 409

    xiv Dgw v2.0 Application

    VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

  • Software Configuration Guide

    Starting a Call in Voiceband Data Mode ................................................................................................................. 410DTMF Transport Configuration .................................................................................................................410

    DTMF Transport over the SIP Protocol ................................................................................................................... 412DTMF Detection ...................................................................................................................................................... 412Using the Payload Type Found in the Answer ........................................................................................................ 415Quantity of initial packets sent to transmit a DTMF Out-of-Band using RTP .......................................................... 415

    Machine Detection Configuration..............................................................................................................416Base Ports Configuration..........................................................................................................................417

    Telephony Parameters

    Chapter 36DTMF Maps Configuration..............................................................................................421

    Introduction ...............................................................................................................................................421Syntax.......................................................................................................................................................421

    Special Characters .................................................................................................................................................. 422How to Use a DTMF Map........................................................................................................................................ 422

    General DTMF Maps Parameters.............................................................................................................424Configuring Timeouts per Endpoint......................................................................................................................... 425

    Allowed DTMF Maps ................................................................................................................................425Refused DTMF Maps................................................................................................................................427

    Chapter 37Call Forward Configuration............................................................................................429

    Call Forward On Busy...............................................................................................................................429Configuring Call Forward on Busy via Handset....................................................................................................... 431

    Call Forward On No Answer .....................................................................................................................432Configuring Call Forward on Answer via Handset................................................................................................... 433

    Call Forward Unconditional.......................................................................................................................434Configuring Call Forward on Unconditional via Handset......................................................................................... 435

    Chapter 38Telephony Services Configuration................................................................................437

    General Configuration...............................................................................................................................437Automatic Call ......................................................................................................................................................... 439Call Completion ....................................................................................................................................................... 440Call Transfer............................................................................................................................................................ 444Call Waiting ............................................................................................................................................................. 446Conference.............................................................................................................................................................. 449Delayed Hot Line..................................................................................................................................................... 453Direct IP Address Call ............................................................................................................................................. 454Call Hold.................................................................................................................................................................. 455Second Call ............................................................................................................................................................. 456

    Message Waiting Indicator .......................................................................................................................457Visual Message Waiting Indicator Type .................................................................................................................. 459

    Distinctive Call Waiting Tone ....................................................................................................................459Call Statistics ............................................................................................................................................460Default Outbound Priority Call Routing.....................................................................................................462

    Dgw v2.0 Application xv

    VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

  • Contents

    Chapter 39Tone Customization Parameters Configuration...........................................................463

    Current Tone Definition.............................................................................................................................463Tone Override...........................................................................................................................................464

    Chapter 40Music on Hold Parameters Configuration.....................................................................467

    MP3 File Download Server .......................................................................................................................467Configuring the TFTP Server .................................................................................................................................. 467Configuring the HTTP Server .................................................................................................................................. 467

    Music on Hold Configuration.....................................................................................................................467

    Chapter 41Country Parameters Configuration ...............................................................................471

    Country Configuration...............................................................................................................................471Additional Country Settings ......................................................................................................................472

    Default vs. Specific Configurations.......................................................................................................................... 472Input/Output User Gain ........................................................................................................................................... 472Dialing Settings ....................................................................................................................................................... 473Fax Calling Tone Detection ..................................................................................................................................... 475

    Chapter 42Call Detail Record............................................................................................................477

    CDR (Call Detail Record)..........................................................................................................................477

    Call Router Parameters

    Chapter 43Call Router Configuration...............................................................................................483

    Introduction ...............................................................................................................................................483Limitations ............................................................................................................................................................... 484Regular Expressions ............................................................................................................................................... 485Routing Type ........................................................................................................................................................... 486Call Properties Parameters ..................................................................................................................................... 492SIP/ISDN Call Default Values ................................................................................................................................. 499Call Routing Status.................................................................................................................................................. 500

    Routes ......................................................................................................................................................501Creating/Editing a Route ......................................................................................................................................... 502Moving a Route ....................................................................................................................................................... 506Deleting a Route...................................................................................................................................................... 507

    Mappings ..................................................................................................................................................507Creating/Editing a Mapping Type ............................................................................................................................ 507Creating/Editing a Mapping Expression .................................................................................................................. 509Moving a Mapping Type or Expression Row........................................................................................................... 516

    xvi Dgw v2.0 Application

    VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

  • Software Configuration Guide

    Deleting a Mapping Type or Expression Row ......................................................................................................... 516Signalling Properties.................................................................................................................................517

    Creating/Editing a Signalling Property..................................................................................................................... 517Moving a Signalling Property Row .......................................................................................................................... 521Deleting a Signalling Property Row......................................................................................................................... 521

    SIP Headers Translations.........................................................................................................................521Creating/Editing a SIP Headers Translation.......................................................................................