Asset ID: |
1-71-2366940.1 |
Update Date: | 2018-04-02 |
Keywords: | |
Solution Type
Technical Instruction Sure
Solution
2366940.1
:
SBC to Log All the Decoded Messages Using Sip Advance Logging for "From Header"
Related Categories |
- PLA-Support>Sun Systems>CommsGBU>Session Delivery Network>SN-SND: Acme Service Provider
|
In this Document
Created from <SR 3-16724481091>
Applies to:
Acme Packet 4600 - Version S-Cz8.0.0 to S-Cz8.0.0 [Release S-Cz8.0]
Information in this document applies to any platform.
Goal
When using the sip-advanced-logging as below:
cwp1# show running-config sip-advanced-logging
sip-advanced-logging
name banisi
state disabled
level DETAIL
scope session-and-media
matches-per-window 5
window-size 20
condition
match-type from-header-user
match-value 27310banisi
last-modified-by admin@123.12.8.75
last-modified-date 2018-01-23 03:45:07
1: The wanted requirement is for the SBC to log all the decoded messages using sip advance logging for "from header" between 27000banisi to 27999banisi, how can this be done using regular expression?
2: Is there a way to match ip address at least by creating a Session Agent and capture all the traffics using sip advance logging?
Solution
1. SIP advanced logging does not support any regular expression. The only way is to create separate sip-advanced-logging configuration for each clients from header.
2. Yes, to capture all traffics coming from any particular session agent, use the match-type as recv-agent and match-value as IP of that session agent.
This has been tested in a lab setting. Please find the configuration as below:
sip-advanced-logging
name cisco
state enabled
level DETAIL
scope session-and-media
matches-per-window 3
window-size 5
condition
match-type recv-agent
match-value 1.30.40.5
last-modified-by admin@console
last-modified-date 2018-02-09 02:33:28
Output:
{cisco} Conditionally logged message
Feb 9 02:33:47.624 On [0:0]1.10.3.70:5060 received from 1.30.40.5:5060
INVITE sip:2222@avaya.com SIP/2.0
Via: SIP/2.0/UDP 1.30.40.5:5060;branch=z9hG4bK-4464-1-0
From: sipp <sip:27000banisi@1.30.40.5:5060>;tag=4464SIPpTag001
To: sut <sip:2222#@1.10.3.70:5060>
Call-ID: 1-4464@1.30.40.5
CSeq: 1 INVITE
Contact: sip:sipp@1.30.40.5:5060
Max-Forwards: 70
Subject: Performance Test
Content-Type: application/sdp
Content-Length: 167
v=0
o=user1 53655765 2353687637 IN IP4 1.30.40.5
s=-
c=IN IP4 1.30.40.5
t=0 0
m=audio 6000 RTP/AVP 3 100
a=rtpmap:3 GSM/8000
a=rtpmap:100 telephone-event/8000
For more information please go to page number 29 Sip-advance logging, in Oracle Communications Session Border Controller - Maintenance and Troubleshooting Guide
Attachments
This solution has no attachment