Last active
August 4, 2021 06:52
-
-
Save benasse/159920e78bb1ae9ea4c8e17d3497ced9 to your computer and use it in GitHub Desktop.
asterisk pjsip count user agent
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
| rasterisk -rx 'database show' |grep -F '/registrar/contact/' | awk -v FS="({|})" '{print $2}' | sed 's/$/}/' | sed 's/^/{/' | jq .user_agent |sort|uniq -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment