Last active
February 11, 2026 18:29
-
-
Save uahim/d73b0123e5e3ebcd56351e5b482bd3ae to your computer and use it in GitHub Desktop.
FritzBox Anrufliste xml zu Menschenlesbarem
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
| /Calle.Number>EURE_NUMMER/!d | |
| s#.*<Type>\(.*\)</Type><Caller>\(.*\)</Caller>.*<Date>\(.*\)</Date><Duration>\(.*\)</Duration>#\1: \3 \4 EIN \2#g | |
| s#.*<Type>\(.*\)</Type><Called>\(.*\)</Called>.*<Date>\(.*\)</Date><Duration>\(.*\)</Duration>#\1: \3 \4 AUS \2#g | |
| s#<Calle.*</Port>##g | |
| s#<Count></Count><Path /></Call>##g | |
| # callist zb mit | |
| # fritzBoxShell.sh OnTel GetCallList 7 | |
| # holen, dann | |
| # sed -f callist.sed callist.xml | sort | |
| # | |
| # sehr, sehr schmutzige lösung, funzt aber... macht schnell aus dem xml folgendes, menschenlesbares | |
| # ID DATUM UHRZEIT DAUER EIN/AUSGEHEND ANRUFER/ANRUFENDE | |
| # 1: 11.02.26 15:56 0:19 EIN 030/012345678901 | |
| # 2: 10.02.26 09:45 0:00 EIN 030/012345678902 | |
| # 3: 10.02.26 19:35 0:07 AUS 030/012345678903 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment