Created
January 28, 2020 09:09
-
-
Save mark05e/7ccf30837b8b0bfb332dbe3dc1381808 to your computer and use it in GitHub Desktop.
SBCE Call Leg Counter through log files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Avaya SR# 1-15881456942 | |
# | |
# Here is the way to check the call leg counter: | |
# 1. In GUI, go to Debugging under Device Specific Settings->Troubleshooting->Debugging, pick the SBC device, and under the subsystem logs, turn on both debug and Info for LOG_SUB_SIPCC (under process SSYNDI). Click save | |
# 2. Ssh into the primary SBC. login as root, Wait a few min to make sure some calls are made or terminated. Then go to /usr/local/ipcs/log/ss/logfiles/elog/SSYNDI | |
# 3. open the last log file using command: grep "created leg_count" SSYNDSSYNDIxxxxxxxxxxx | |
# EXAMPLE: INF#Call Leg Count-Del: 26994#[sip_call_leg.cpp:414] 2981723024 (null) (null) (null) | |
# | |
grep "created leg_count" `ls -tr /usr/local/ipcs/log/ss/logfiles/elog/SSYNDI/SSYNDI* | tail -n 1` | tail -1 | awk -F '#' '{print $2}' | awk -F 'leg_count ' '{print $2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment