-
-
Notifications
You must be signed in to change notification settings - Fork 244
Examples: ACME Packet
ORACLE / ACME ACLI provides a "packet-trace" command which can capture RFC2003 (IP Encapsulation within IP) SIP signaling on the Net-Net SBC and natively mirror it to your Homer SIP Capture server.
To configure, we need to create a capture receiver:
capture-receiver
state enabled
ip-address 192.168.0.1
network-interface m00:0
last-modified-by engineer@192.168.30.1
last-modified-date 2011-10-10 00:00:01
or alternatively:
packet-trace-config < state | address | network-interface | select| no | show | done | exit>
The "packet-trace" command on the Net-Net SBC can now duplicate all packets sent to and from the endpoint identified by the IP address on the specified Net-Net SBC network interface:
#packet-trace start Access:0 192.168.30.5 5060 5060
If you access and network side present different Call-ID header breaking call-flow correlation, you can use an HMR to inject a X-CID: header containing the Call-ID from A-leg into INVITE in your B-leg;
sip-manipulation
name xCID
description Create_XCID
split-headers
join-headers
header-rule
name XCIDstore
header-name Call-ID
action store
comparison-type pattern-rule
msg-type out-of-dialog
methods INVITE
match-value .*
new-value
header-rule
name DeleteXCID
header-name X-CID
action delete
comparison-type pattern-rule
msg-type request
methods INVITE
match-value .*
new-value
header-rule
name addXCID
header-name X-CID
action add
comparison-type boolean
msg-type out-of-dialog
methods INVITE
match-value !$XCIDstore
new-value $XCIDstore.$0
The following table provides a general mapping convention for ACME/ORACLE SBC CDRs
###Leg 1 Voice Quality Report
| QoS Metric | CDR Parameter|
| ------------- |:------------:|
|"POST_DIAL_DELAY"|Acme-Post-Dial-Delay (PDD MAP)|
|"DISCONNECT_INIT"|Acme-Disconnect-Initiator (INIT MAP)|
|"DISCONNECT_CAUSE"|Acme-Disconnect-Cause (CAUSE MAP)|
|"LAST_STATUS"|Acme-Session-Disposition (STATUS MAP)|
|"FIRST_SWITCHED" | MAS-Setup-Time (Epoch conversion)|
|"IPV4_SRC_ADDR" | Acme-Flow-Out-Dst-Addr_FS1_R|
|"L4_SRC_PORT" | Acme-Flow-Out-Dst-Port_FS1_R|
|"IPV4_DST_ADDR" | Acme-Flow-Out-Src-Addr_FS1_R|
|"L4_DST_PORT" | Acme-Flow-Out-Src-Port_FS1_R|
|"RTP_IN_JITTER": | Acme-Calling-RTCP-MaxJitter_FS1|
|"RTP_OUT_JITTER" | Acme-Calling-RTP-MaxJitter_FS1|
|"RTP_IN_PKT_LOST" | Acme-Calling-RTCP-Packets-Lost_FS1|
|"RTP_OUT_PKT_LOST" | Acme-Calling-RTP-Packets-Lost_FS1|
|"OUT_BYTES" | Acme-Calling-Octets_FS1|
|"OUT_PKTS" | Acme-Calling-Packets_FS1|
|"IN_BYTES" | Acme-Called-Octets_FS1|
|"IN_PKTS" | Acme-Called-Packets_FS1|
|"RTP_IN_TRANSIT" | Acme-Calling-RTCP-MaxLatency_FS1|
|"RTP_IN_PAYLOAD_TYPE" | Acme-FlowType_FS1_R (CODEC MAP)|
|"RTP_OUT_PAYLOAD_TYPE" | Acme-FlowType_FS1_F (CODEC MAP)|
|"RTP_SIP_CALL_ID" | Acct-Session-Id|
|"RTP_MOS" | Acme-Calling-MOS|
|"RTP_R_FACTOR" | Acme-Calling-R-Factor|
###Leg 2 Voice Quality Report
| QoS Metric | CDR Parameter|
| ------------- |:------------:|
|"FIRST_SWITCHED" | MAS-Setup-Time (Needs Epoch conversion)|
|"IPV4_SRC_ADDR" | Acme-Flow-Out-Src-Addr_FS1_F|
|"L4_SRC_PORT" | Acme-Flow-Out-Src-Port_FS1_F|
|"IPV4_DST_ADDR" | Acme-Flow-Out-Dst-Addr_FS1_F|
|"L4_DST_PORT" | Acme-Flow-Out-Dst-Port_FS1_F|
|"RTP_IN_JITTER": | Acme-Called-RTP-MaxJitter_FS1|
|"RTP_OUT_JITTER" | Acme-Called-RTCP-MaxJitter_FS1|
|"RTP_IN_PKT_LOST" | Acme-Called-RTP-Packets-Lost_FS1|
|"RTP_OUT_PKT_LOST" | Acme-Called-RTCP-Packets-Lost_FS1|
|"OUT_BYTES" | Acme-Calling-Octets_FS1|
|"OUT_PKTS" | Acme-Calling-Packets_FS1|
|"IN_BYTES" | Acme-Called-Octets_FS1|
|"IN_PKTS" | Acme-Called-Packets_FS1|
|"RTP_OUT_TRANSIT" | Acme-Called-RTCP-MaxLatency|
|"RTP_IN_PAYLOAD_TYPE" | Acme-FlowType_FS1_F (CODEC MAP)|
|"RTP_OUT_PAYLOAD_TYPE" | Acme-FlowType_FS1_R (CODEC MAP)|
|"RTP_SIP_CALL_ID" | Acct-Session-Id|
|"RTP_MOS" | Acme-Called-MOS|
|"RTP_R_FACTOR" | Acme-Called-R-Factor|
(C) 2008-2023 QXIP BV
HEP/EEP Agent Examples:
- CaptAgent
- HEPlify
- Kamailio
- OpenSIPS
- FreeSwitch
- Asterisk
- sipgrep
- sngrep
- RTPEngine
- RTPProxy
- Oracle ACME SBC
- Sonus SBC
- Avaya SM
- Sansay SBC
HEP/EEP Agent Examples (LOGS):
HEP/EEP Proxy:
Extra Examples:
- Custom JSON Stats
- RTCP-XR Stats
- GEO IP Maps
- Janus/Meetecho-WebRTC
- Cloudshark Export
- Encrypted HEP Tunneling
- SNMP Monitoring
- FreeSWITCH ESL Monitoring
- Kazoo Monitoring
- Speech-to-Text-to-HEP
Extra Resources: