Genesys SIP Server Overview
Genesys SIP Server Overview
Genesys SIP Server Overview
Table of Contains
SIP Server provides all SIP signaling and T-Server functions. Stream Manager is an optional component that is
used to play music-on-hold, music-in-queue and announcements, and to collect DTMF digits. A third-party
music server is an optional component that is used as an external music source for music-on-hold. A Multipoint
Conference Unit (MCU) is an optional component that is used for third-party call control (3pcc) conference calls.
It is also used for silent voice monitoring, whisper coaching, intrusion monitoring, and agent-initiated call
recording. The SIP messages that SIP Server sends or receives are very similar in all configurations, but the
destination to which SIP Server sends the SIP requests differs according to the deployment configuration. This
mostly applies to the routing of INVITE messages. Other messages follow the path established by INVITE.
Standalone mode
Application Server mode
Customer-side proxy mode
In this configuration, SIP Server sends all messages to the addresses of the customer and agent
endpoints. The IP addresses in this scenario are determined by SIP Server from either of the
following sources:
Configuration Layer: When, for each agent DN, an IP address is configured on the DN
Options/Annex tab. For example, for DN 1077 on the Options/Annex tab in the TServer
section, you set the contact option to the 1077@192.168.2.55 value. This is useful for
agent endpoints.
Lookup in the local registrar: When the agent DN is defined with the registrar as
agent1@company.com,and its SIP endpoint has registered this SIP URI (Uniform
Resource Indicator) with the registrar as 1077@192.168.2.55, the INVITE message is sent
to the IP address 192.168.2.55.
In the Application Server mode, SIP Server communicates with a single softswitch. SIP Server is
configured to send all INVITE requests to the IP address of the softswitch. In this configuration,
the softswitch bypasses SIP Server for direct agent-to-agent calls. As a consequence, agent-toagent calls are not visible to SIP Server, and it cannot provide any control over these calls.
All inbound calls (from customers to agents) are routed by SIP Server to a softswitch, the IP
address of which is configured in Configuration Manager. For outbound calls (from agents to
customers), the IP addresses are determined from the Request URI message, or they are
configured in Configuration Manager as gateways (DNs of type Trunk). Alternatively, SIP Server
can resolve the name as it was dialed. For example, if the dialed name
iscustomer@somedomain.com, the request is sent to the address somedomain.com.
In this configuration, the softswitch bypasses SIP Server for direct agent-to-agent calls. As a
consequence, agent-to-agent calls are not visible to SIP Server, and it cannot provide any control
over these calls.
2.2.
The given figure illustrates one possible deployment architecture for a third-party media server (such
as a music server or MCU), or for Genesys Stream Manager used in conjunction with SIP Server and
Genesys business applications.
Call Scenario:
1. A call arrives and is established with a contact center agent. SIP Server operates as a SIP B2BUA and
maintains two separate SIP dialogs, one for the customer and one for the agent. The RTP stream is
negotiated between the customer and agent endpoints directly, using the codec. SIP Server
provides flexibility with manipulation of SDP information.
2. The agent invokes a call-hold operation either by using a THoldCall request to SIP Server, or by
pressing the Hold button on the endpoint.
3. SIP Server selects a media server in sequence from among all configured servers with the same
priority, and then establishes a new SIP dialog to the music server. SIP Server then sends the INVITE
message to the customer session to connect the RTP stream to the music server, and then reINVITEs the agent session to stop RTP traffic from it.
4. When the agent invokes a call-retrieve operation either by using the TRetrieveCall request, or by
pressing the Retrieve button on the endpoint, SIP Server terminates the music dialog by sending a
BYE message, and then re-INVITEs the customer session to connect the RTP stream with the agent
endpoint.
4. Load Balancing
A load-balancing architecture for situations in which the call rate exceeds the capacity of a single SIP Server.
In this configuration, all inbound calls first arrive at the Network SIP Server, which performs all initial
routing. The routing on the Network SIP Server is either direct to agents, or to the second tier of Routing
Points on the SIP Server.
Routing inbound calls directly to agents assumes the following:
Multiple TDM-to-VoIP gateways (or incoming SIP firewalls for pure VoIP calls) are deployed to
provide sufficient call capacity.
Multiple SIP Servers are deployed. Each can serve up to 2000 agents.
One or more Network SIP Servers are deployed. Given the high throughput of a Network SIP Server,
it is very likely that a single SIP Server will be sufficient for most deployments.
Gateways are configured to send all calls to the Network SIP Servers. If multiple Network SIP Servers
are required, you can partition gateways, so that they send calls to different SIP Servers; or you can
configure each gateway to send calls to one of the Network SIP Servers, based, for example, on call
origination or destination.
5. Multi-Threaded Architecture
The SIP Server application is made up of several internal modules that are able to run separately from one
another, as individual threads in their own apartments, using internal interfaces to communicate. This
multi-threaded organization allows SIP Server to take advantage of computers with multiple CPUs. By
running the modules in separate threads, SIP Server can execute different tasks in parallel, simultaneously
across several CPUs. This parallel processing enables SIP Server to handle more calls over a given length of
time, as the number of processors available in the system is increased.
5.2. Logging
By default, in multi-threaded mode SIP Server only logs messages from the T-Library thread into a single
log file. However, using the x-sip-log option, you can configure SIP Server to create separate log files to
handle messages from the other threads. Log messages from each separate thread do not mix into a
single file.
6. Multi-Site Support
SIP Server, like any conventional T-Server, is built with the T-Server Common Part that contains the ISCC
component responsible for call data transfer between multiple sites. Currently, SIP Server supports the
following ISCC transaction types: route, direct-notoken, direct-uui, pullback, and reroute. However, directuui is supported only in a pure SIP environment.
7. Network Considerations
Deploying SIP Server is similar in many ways to deploying other components of the Genesys Framework,
with the significant exception that the voice signal is carried over the data network. This has serious
implications for network planning and server sizing. The primary purpose of this section is to highlight
the major planning and resource concerns you face in rolling out SIP Server, and to explain how it overlaps
with the underlying data network.
The performance of SIP Server is directly linked to that of the underlying data network. It is essential that
you perform a proper network audit to ensure that the data network has been properly sized and tuned for
real-time (voice) packet transport. This section discusses the factors that affect overall performance of
an IP-based configuration, and provides some general rules to follow when deploying SIP Server.
7.3.2. Firewalls
This release of SIP Server provides no explicit support for Network Address Translation (NAT). Genesys
recommends using virtual private networks (such as PPTP) and ensuring that all agents are on the same
network, without NAT translators between the agents and SIP Server.