The sip:provider CE Handbook mr4.3.2


Table of Contents

1. Introduction
1.1. About this Document
1.2. Getting Help
1.2.1. Community Support
1.2.2. Commercial Support
1.3. What is the sip:provider CE?
1.4. What is inside the sip:provider CE?
1.5. Who should use the sip:provider CE?
2. Platform Architecture
2.1. SIP Signaling and Media Relay
2.1.1. SIP and Media Elements
2.1.1.1. SIP Load-Balancer
2.1.1.2. SIP Proxy/Registrar
2.1.1.3. SIP Back-to-Back User-Agent (B2BUA)
2.1.1.4. SIP App-Server
2.1.1.5. Media Relay
2.1.2. Basic Call Flows
2.1.2.1. Endpoint Registration
2.1.2.2. Basic Call
2.1.2.3. Session Keep-Alive
2.1.2.4. Voicebox Calls
3. Upgrading from previous versions
3.1. Upgrade from previous versions to mr4.3.2
4. Initial Installation
4.1. Prerequisites
4.2. Using the NGCP install CD (recommended)
4.3. Using the NGCP installer
4.3.1. Installing the Operating System
4.3.1.1. Using special Debian setups
4.3.2. Installing the sip:provider CE
4.4. Using a pre-installed virtual machine
4.4.1. Vagrant box for VirtualBox
4.4.2. VirtualBox image
4.4.3. VMware image
4.4.4. Amazon EC2 image
5. Initial System Configuration
5.1. Network Configuration
5.2. Apply Configuration Changes
5.3. Start Securing Your Server
5.4. Configuring the Email Server
5.5. Advanced Network Configuration
5.5.1. Audiocodes devices workaround
5.6. What’s next?
6. Administrative Configuration
6.1. Creating a Customer
6.2. Creating a Subscriber
6.3. Domain Preferences
6.4. Subscriber Preferences
6.5. Creating Peerings
6.5.1. Creating Peering Groups
6.5.2. Creating Peering Servers
6.5.3. Authenticating and Registering against Peering Servers
6.5.3.1. Proxy-Authentication for outbound calls
6.5.3.2. Registering at a Peering Server
6.6. Configuring Rewrite Rule Sets
6.6.1. Inbound Rewrite Rules for Caller
6.6.2. Inbound Rewrite Rules for Callee
6.6.3. Outbound Rewrite Rules for Caller
6.6.4. Outbound Rewrite Rules for Callee
6.6.5. Emergency Number Handling
6.6.6. Assigning Rewrite Rule Sets to Domains and Subscribers
6.6.7. Creating Dialplans for Peering Servers
7. Advanced Subscriber Configuration
7.1. Access Control for SIP Calls
7.1.1. Block Lists
7.1.1.1. Block Modes
7.1.1.2. Block Lists
7.1.1.3. Block Anonymous Numbers
7.1.2. NCOS Levels
7.1.2.1. Creating NCOS Levels
7.1.2.2. Creating Rules per NCOS Level
7.1.2.3. Assigning NCOS Levels to Subscribers/Domains
7.1.2.4. Assigning NCOS Level for Forwarded Calls to Subscribers/Domains
7.1.3. IP Address Restriction
7.2. Call Forwarding and Call Hunting
7.2.1. Setting a simple Call Forward
7.2.2. Advanced Call Hunting
7.2.2.1. Configuring Destination Sets
7.2.2.2. Configuring Time Sets
7.3. Header Manipulation
7.3.1. Header Filtering
7.3.2. Codec Filtering
7.3.3. Enable History and Diversion Headers
7.4. SIP Trunking with SIPconnect
7.4.1. User provisioning
7.4.2. Inbound calls routing
7.4.3. Number manipulations
7.4.3.1. Rewrite rules
7.4.3.2. User parameter
7.4.3.3. Forwarding number
7.4.3.4. Allowed CLIs
7.4.4. Registration
7.4.4.1. Trusted sources
7.5. Limiting Subscriber Preferences via Subscriber Profiles
7.5.1. Subscriber Profile Sets
7.6. Voicemail System
7.6.1. Accessing the IVR Menu
7.6.1.1. Mapping numbers and codes to IVR access
7.6.1.2. External IVR access
7.6.2. IVR Menu Structure
7.6.3. Type Of Messages
7.6.3.1. Unavailable Message
7.6.3.2. Busy Message
7.6.3.3. Temporary Greeting
7.6.4. Folders
7.6.4.1. The Default Folder List
7.7. XMPP Instant Messaging
7.8. Configuring Subscriber IVR Language
7.9. Sound Sets
7.9.1. Configuring Early Reject Sound Sets
7.10. Conference System
7.10.1. Configuring Call Forward to Conference
7.10.2. Configuring Conference Sound Sets
7.10.3. Entering the Conference with a PIN
7.11. Malicious Call Identification (MCID)
7.11.1. Setup
7.11.2. Usage
7.11.3. Advanced configuration
7.12. Handling WebRTC Clients
7.13. SIP loop detection
8. Customer Self-Care Interfaces
8.1. The Customer Self-Care Web Interface
8.1.1. Login Procedure
8.1.2. Site Customization
8.2. The Vertical Service Code Interface
8.3. The Voicemail Interface
9. Billing Configuration
9.1. Billing Data Import
9.1.1. Creating Billing Profiles
9.1.2. Creating Billing Fees
9.1.3. Creating Off-Peak Times
9.1.4. Fraud Detection and Locking
9.2. Billing Data Export
9.2.1. File Name Format
9.2.2. File Format
9.2.2.1. File Header Format
9.2.2.2. File Body Format for Call Detail Records (CDR)
9.2.2.3. File Body Format for Event Detail Records (EDR)
9.2.2.4. File Trailer Format
9.2.3. File Transfer
10. Invoices and invoice templates
10.1. Invoices management
10.2. Invoice templates
10.2.1. Invoice Templates management
10.2.2. Invoice Template content
10.2.2.1. Layers
10.2.2.2. Edit SVG XML source
10.2.2.3. Change logo image
10.2.3. Save and preview invoice template content.
10.3. Invoices generation
11. Email templates
11.1. Email events
11.2. Initial template values and template variables
11.3. Password reset email template
11.4. New subscriber notification email template
11.5. Invoice email template
11.6. Email templates management
12. Provisioning interfaces
12.1. REST API
12.1.1. API Workflows
12.1.1.1. Managing Customers and Subscribers
12.2. SOAP and XMLRPC API
13. Configuration Framework
13.1. Configuration templates
13.1.1. .tt2 and .customtt.tt2 files
13.1.2. .prebuild and .postbuild files
13.1.3. .services files
13.2. config.yml, constants.yml and network.yml files
13.3. ngcpcfg and its command line options
13.3.1. apply
13.3.2. build
13.3.3. commit
13.3.4. decrypt
13.3.5. diff
13.3.6. encrypt
13.3.7. help
13.3.8. initialise
13.3.9. pull
13.3.10. push
13.3.11. services
13.3.12. status
14. Network Configuration
14.1. General Structure
14.2. Available Host Options
15. Advanced Network Configuration
15.1. Extra SIP Sockets
15.2. Extra SIP and RTP Sockets
16. Security and Maintenance
16.1. Sipwise SSH access to sip:provider CE
16.2. Firewalling
16.3. Password management
16.4. SSL certificates.
16.5. Securing your sip:provider CE against SIP attacks
16.5.1. Denial of Service
16.5.2. Bruteforcing SIP credentials
16.6. Backup and recovery
16.6.1. Backup
16.6.2. Recovery
16.7. Reset database
16.8. System requirements and performance
16.9. Troubleshooting
16.9.1. Collecting call information from logs
16.9.2. Collecting SIP traces
A. NGCP configs overview
A.1. config.yml overview
A.1.1. asterisk
A.1.2. autoprov
A.1.3. backuptools
A.1.4. cdrexport
A.1.5. checktools
A.1.6. cleanuptools
A.1.7. database
A.1.8. faxserver
A.1.9. general
A.1.10. heartbeat
A.1.11. intercept
A.1.12. kamailio
A.1.13. mediator
A.1.14. nginx
A.1.15. ntp
A.1.16. ossbss
A.1.17. pbx (only with additional cloud PBX module installed)
A.1.18. prosody
A.1.19. pushd
A.1.20. qos
A.1.21. rate-o-mat
A.1.22. redis
A.1.23. reminder
A.1.24. rsyslog
A.1.25. rtpproxy
A.1.26. security
A.1.27. sems
A.1.28. sshd
A.1.29. voisniff
A.1.30. www_admin