Syslog and caller ID ?

bert1e

Neuer User
Mitglied seit
8 Mai 2007
Beiträge
11
Punkte für Reaktionen
0
Punkte
0
Hi

I have a fritzbox 7050 converted to annex A all working thanks to this forum :)

I have enabled remote sysloging to my linux server by adding the syslog -R option to my default.cfg and it is all working ok. I was wanting a bit more info on my log server. as all I get are entries like
May 16 17:29:28 fritz.fonwlan.box -- MARK --

or registration entries when the fritzbox starts up.
Is it possible to get incomming call details on the log?

When I used to have a sipura I used to get an incoming call entry in the log. What I did with this was watch for the entry and if it happened then display the incoming number on my Squeezebox (a network media player).

So is it possible to get call details onto a remote syslog server?

Thanks
Bert
 
Hi Bert,

the shell script /var/flash/calllog is called when a call comes in (parameters: callerid,msn,...,...),
so you could try to create your own incoming calls log this way:
Code:
echo "echo `date` $1 $2 $3 $4 >> /var/tmp/incalls.log" > /var/flash/calllog
If there's a prog for syslogging something (logger?), you could use it instead in calllog.
 
Hi u.g

Thank you so much for your help. I used your suggestion for logger it works great.

cheers Bert
 
Kostenlos!

Statistik des Forums

Themen
248,479
Beiträge
2,292,225
Mitglieder
377,924
Neuestes Mitglied
DCDogbert