sip-rec-routing
This command configures the SIP Recording Rules table, which lets you define SIP-based media recording rules. A SIP Recording rule defines call routes that you want to record.
Syntax
(config-voip)# sip-definition sip-recording sip-rec-routing <Index> (sip-rec-routing-<Index>)#
Command |
Description |
---|---|
Index |
Defines the table row index. |
caller {both|peer-party|recorded-party} |
Defines which calls to record according to which party is the caller. |
condition-name |
Assigns a Message Condition rule to the SIP Recording rule. |
peer-ip-group-name |
Defines the peer IP Group that is participating in the call. |
peer-trunk-group-id |
Defines the peer Trunk Group that is participating in the call (applicable only to Gateway calls). |
recorded-dst-pattern |
Defines calls to record based on destination number or URI. |
recorded-ip-group-name |
Defines the IP Group participating in the call and the recording is done on the leg interfacing with this IP Group. |
recorded-src-pattern |
Defines calls to record based on source number or URI. |
srs-ip-group-name |
Defines the IP Group of the recording server (SRS). |
srs-red-ip-group-name |
Defines the IP Group of the redundant SRS in the active-standby pair for SRS redundancy. |
Command Mode
Privileged User
Example
This example records calls between IP Groups "ITSP" and "IPBX", sending them to IP Group "SIPREC" (SRS):
(config-voip)# sip-definition sip-recording sip-rec-routing 0 (sip-rec-routing-0)# recorded-ip-group-name ITSP (sip-rec-routing-0)# peer-ip-group-name IPBX (sip-rec-routing-0)# srs-ip-group-name SIREC (sip-rec-routing-0)# caller both (sip-rec-routing-0)# activate