Add_workflow_for_techpubs | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Panel | |
---|---|
In This Sectionthis section:
|
Info | ||
---|---|---|
| ||
Related articles: |
Use the following procedure to configure the
Spacevars | ||
---|---|---|
|
Spacevars | ||
---|---|---|
|
Spacevars | ||
---|---|---|
|
Configure the external PSX.
Code Block | ||
---|---|---|
| ||
% set system policyServer localServer PSX_LOCAL_SERVER mode outOfService state disabled % set system policyServer remoteServer <psx name> ipAddress <psx_ip> portNumber <psx_port> state enabled mode active |
Create a recorder profile on the PSX and configure call recording criteria of the recorder profile.
Include Page | ||||
---|---|---|---|---|
|
Caption | ||||
---|---|---|---|---|
| ||||
Caption | ||||
---|---|---|---|---|
| ||||
Create a SIP signaling port on the
Spacevars | ||
---|---|---|
|
Code Block | ||
---|---|---|
| ||
% set addressContext <ADDRESS-CONTEXT> zone <ZONE> sipSigPort <SIP SIGNALLING PORT> siprec enabled |
Info | ||
---|---|---|
| ||
A Trunk group is configured towards the SRS server. As this is not a call processing TG, only the following TG attributes are used by the SBC when allocating resources towards SRS for a Recording session:
|
Create a trunk group from the
Spacevars | ||
---|---|---|
|
Configure Media IP Interface Group name
Configure Metadata profile
Info | ||
---|---|---|
| ||
Ensure the name of the trunk group is is identical to the one used above while creating the Recorder profile in the PSX. |
Add static routes toward
the recorder.If a secondary recorder is also configured on the PSX for redundancy, create IP peers with both primary and secondary recorder IP addresses and enable options ping for these recorders. While recording, if the primary Session Recording Server (SRS) is identified as DOWN by the
Spacevars | ||
---|---|---|
|
Code Block | ||
---|---|---|
| ||
% set profiles services pathCheckProfile <path_check_profile>
protocol sipOptions recoveryCount <count> replyTimeoutCount
<count> sendInterval <interval>
%set addressContext
default zone $sbx_zone_rs_v4 ipPeer <IP_PEER_SRS> ipAddress
<ip> ipPort <port> pathCheck profile
<path_check_profile> state enabled |
icon | false |
---|---|
title | Note |
The SIP SRS (SIPREC Recording Servers) redundancy requires the SRS servers to be provisioned as ipPeers
in the SBC under specific zone and a pathCheck
profile must be assigned with pathCheck
pings enabled on IP Peer level. Follow these steps to configure pathCheck Profile for an SRS IP:
Create a pathCheck Profile
.
Code Block | ||
---|---|---|
| ||
% set profiles services pathCheckProfile <pathCheckProfile_name> protocol sipOptions
% commit |
Configure the SRS as an ipPeer in the SIPREC zone (the zone containing the Trunk Group configured for the SRS) and attach the pathcheck profile to it
.
Code Block | ||
---|---|---|
| ||
% set addressContext <addressContext_name> zone SIPREC_ZONE ipPeer <ipPeer_name> ipAddress <SRS IP> ipPort <port> pathCheck profile <pathCheckProfile_name> state enabled
% commit |
Check the pathCheck status
.
Code Block | ||
---|---|---|
| ||
> show table addressContext <addressContext_name> zone SIPREC_ZONE peerPathchkStatus |
The SRS groups and Call Recording Criteria are configured using ERE.
Create a SIP signaling port on the SBC towards the recorder, and enable SIPREC.
Code Block | ||
---|---|---|
| ||
% set addressContext <ADDRESS-CONTEXT> zone <ZONE> sipSigPort <SIP SIGNALLING PORT> siprec enabled |
Info | ||
---|---|---|
| ||
To support SIPREC INVITE over TCP, the sipSigPort, which is configured in the zone for SIPREC must have |
Code Block |
---|
% set addressContext <ADDRESS-CONTEXT> zone <ZONE> sipSigPort <SIP SIGNALLING PORT> transportProtocolsAllowed sip-tcp |
Create a trunk group from the SBC for recording.
Code Block |
---|
% set addressContext <ADDRESS-CONTEXT> zone <ZONE> sipTrunkGroup <sipTrunkGroup> |
Info | ||
---|---|---|
| ||
The same trunk group name must be used in CLI |
Add static routes toward the recorder.
Create Call Recording Criteriaan SRS Group profile.
CLI method:
Code Block |
---|
% set global servers |
srsGroupProfile <srs_group |
|
Create an SRS Group profile.
name> loadDistribution <roundRobin | sequence> description <string, min: 0 chars, max: 199 chars> numSimultaneousStream <range 1..2> srsGroupData <Priority_range 0..7> ipAddress <signaling ipv4/ipv6address_of_the_SRS> ipPort <signaling_port_of_the_SRS> ipTGId <Ip_Trunkgroup_Id> srtp <disable | enable> cryptoSuiteProfile <cryptoSuiteProfile> transport <udp | tcp> |
Info | ||
---|---|---|
| ||
The option |
EMA method:
Caption | ||||
---|---|---|---|---|
| ||||
Start recording from the CLI or EMA.
Info | ||
---|---|---|
| ||
When recording is initiated from CLI/EMA, disable call recording criteria (or check that call recording criteria does not match); otherwise, recording is not initiated through CLI/EMA. |
CLI method
To configure siprec startRecord
request, execute the following command both on the ingress and egress legs:
Code Block | ||
---|---|---|
| ||
% request global sipRec startRecord gcid <GCID> callLeg ingress numOfStreams <Number of recorders 1 or 2> srsIpAddress <SRS IP ADDRESS> srsPort <SRS PORT> transport <tcp | udp> trunkGroup <TRUNK GROUP NAME> srsIpAddress2 <SRS IP ADDRESS> srsPort2 <SRS Port> transport2 <tcp | udp> trunkGroup2 <SIP Trunk Group> % request global sipRec startRecord gcid <GCID> callLeg egress numOfStreams <Number of recorders 1 or 2> srsIpAddress <SRS IP ADDRESS> srsPort <SRS PORT> transport <tcp | udp> trunkGroup <TRUNK GROUP NAME> srsIpAddress2 <SRS IP ADDRESS> srsPort2 <SRS Port> transport2 <tcp | udp> trunkGroup2 <SIP Trunk Group> |
EMA method
On the SBC main screen, navigate to All > Global > SIPrec. Select Start Record command from the commands drop-down list.
Caption | ||||
---|---|---|---|---|
| ||||
Click startRecord.
CLI method:
Code Block | ||
---|---|---|
| ||
% request global sipRec stopRecord gcid <GCID> recorderAddress <IP Address> recorderPort <Port Number> |
EMA method:
On the SBC main screen, navigate to All > Global > SIPrec. Select Stop Record command from the commands drop-down list.
Caption | ||||
---|---|---|---|---|
| ||||
Click stopRecord.
CLI method:
Info | ||
---|---|---|
| ||
If only the GCID value is mentioned in the |
Code Block | ||
---|---|---|
| ||
show table global SipRecStatus RECORDING GCID RECORDER ADDRESS RX RTP ADDRESS TX RTP ADDRESS LEG ------------------------------------------------------------------------------ 1 10.54.80.200:5070 10.54.80.200:13471 10.54.80.200:13467 ingress 131072 10.54.80.200:5070 10.54.80.200:13471 10.54.80.200:13467 ingress [ok] |
EMA method:
On the SBC main screen, navigate to All > Global > SIP rec Status
Caption | ||||
---|---|---|---|---|
| ||||
Info | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
The SIP SRS (SIPREC Recording Servers) redundancy requires the SRS servers to be provisioned as
|
CLI method:
For more information, refer to Servers - SRS Group Cluster - CLI
Create Call Recording Criteria.
Code Block |
---|
% set global servers callRecordingCriteria <call_recording_criteria_ID> srsGroupId <srs_group_ID> calledPartyId <called_party_number> callingPartyId <calling_party_number> egressTgId <egressTrunkGroup_ID> ingressTgId <IngressTrunkGroup_ID> nextHopIP <ipv4/ipv6_address_of_the_next_hop> nextHopIP <ipv4/ipv6address_of_the_next_hop> previousHopIP <ipv4/ipv6address_of_the previous_hop> recordingStopCriteria <manual | numOfCalls> numberOfCalls <Range 0 .. 99999> recorderType <SIPRec | mct> recordingDuration <Range 0..3600> recordingType <allLegs | bothLegs | egressLeg | ingressLeg> criteriaState <disable | enable> |
Pagebreak |
---|
pagebreak