Monitoring Phonecalls

Pop your questions regarding Home automation Domotica hardware here.....
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Monitoring Phonecalls

Post by Digit »

Hi,

Currently i can only monitor my incoming calls.I have ISDN, so with a cheap ISDN card and some CAPI software i am able to monitor who's calling us. But AFAIK there's no way of monitoring outgoing calls this way.

All my telephones are analog, connected to a KPN Homevox Universal which is connected to a Moduvox 2a, which connects to the NT1.
(Yes, still the old-fashioned-way, you can say ;-))

Any ideas? Suggestions?

Regards,
Digit.
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

Monitoring Phonecalls

Post by Bwired »

Hi Digit,

I also still have a ISDN and a PSTN phone line. For incoming calls I use the good old Teles ISDN PCI card. This card is capable logging incoming phone numbers. With the Teles ISDN card (CAPI)I can log the outgoing calls but the not the callid (numbers). So I can log when the call is started, how log the call was etc. For digital answering machine I use the free application Capitel which is small and very good working. I think you need the switch to VOIP because then you can log everything perfectly. I'm now testing my new Voip logger software which is based on the Linksys Sipura SPA3000, soon to be online on www.bwired.nl
I'm anxious about other experiences?
Regards Pieter
User avatar
Willem4ever
Global Moderator
Global Moderator
Posts: 805
Joined: Mon Oct 30, 2006 3:48 pm
Location: Uithoorn / Netherlands

Monitoring Phonecalls

Post by Willem4ever »

For linux people there is actually a solution, i.e. logging calls in both directions. Check this link for more info.
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Monitoring Phonecalls

Post by Digit »

Pieter,

I once had a Teles card too, back in the ISA days...now it's a Dynalink.
Did you write the CAPI stuff yourself or is it 3rd party?

I'm sending a LISTEN_REQ with all Infomask bits set, but only incoming calls are detected. Maybe you can help me?

And yes i think, eventually, i'll switch to VOIP. I really like the AVM FRITZ!Box Fon in that perspective.

Regards,
Robert
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

Monitoring Phonecalls

Post by Bwired »

Hi Robert,
I use the standard Capilog for outgoing ISDN Calls, this log is only showing that a outgoing call is made with date and time, no numbers. As for my understanding it's not possible to log outgoing calls with call-id just with one ISDN card. There are some solution on the internet with 2 isdn cards connected together, never tried this. On Linux yes there are solutions, but not for Windows [xx(]
Regards Pieter
User avatar
Willem4ever
Global Moderator
Global Moderator
Posts: 805
Joined: Mon Oct 30, 2006 3:48 pm
Location: Uithoorn / Netherlands

Monitoring Phonecalls

Post by Willem4ever »

In Germany there is a feature called COLP (Connected Line Identification Presentation ) which you can subscribe to. "You will receive feedback from your telecommunication company who picked up your outgoing call. Normally, you will get the same number as you dialed beforehand; however, with call diversion this could also be a different number" Not sure if this is available in other countries, Germany allways has been ahead with ISDN.

Willem.
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Monitoring Phonecalls

Post by RDNZL »

You are on windows, but when you use linux and get 2 ISDN cards which support the HFC chips, put one in NT-mode, use a dead NT1-box to power your inside phoneline and phones and have your own PBX, then you can log all incoming, outgoing and voicemail traffic to mySQL using Asterisk.
You're then also be able to ring your SIP software phone at work, when someone calls you at home... kinda neat!

I have 2 cards and an NT1 laying around doing nothing here after I switched over to analog PSTN. So if anybody is interested...

I'm using a Digium TDM400P card now to do the same on my PSTN line.
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Monitoring Phonecalls

Post by Digit »

Hi all,

Thanks for all the replies. But, after doing some 'research' the last few days i think i could spend more hours and money on ISDN call monitoring, but VOIP gets more interesting the more i read about it and what my ISP has to offer these days, so i decided to leave the call monitor as-is; i think it's better to start looking ahead towards VOIP and invest in that then in ISDN, what will probably become obsolete for me within a year or so anyway.

Nevertheless, thanks for your efforts!

Regards,
Robert.
hansieh
Starting Member
Starting Member
Posts: 25
Joined: Sun Nov 26, 2006 12:27 pm
Location: Netherlands
Contact:

Monitoring Phonecalls

Post by hansieh »

Hi All,
Does anybody now how to capture analogue telephone call information.
I am using the telephone service from my cable company.
This system is using the FSK method for number identification.
I have a cheap number identification device which I bought for 25 Euros.
This device is working fine, so it must be possible to read the number identification.

Regards Hans
User avatar
Snelvuur
Forum Moderator
Forum Moderator
Posts: 3156
Joined: Fri Apr 06, 2007 11:01 pm
Location: Netherlands
Contact:

Monitoring Phonecalls

Post by Snelvuur »

In my case i use asterisk for linux, which works fine. Although my lines are voip you can do the same with a correct card with a (i presume your case windows) card aswell. If you get a phone line from you internet provider, there even might be a chance that its allready voip. Then you can just use different software to grab it perhaps.

// Erik (binkey.nl)
hansieh
Starting Member
Starting Member
Posts: 25
Joined: Sun Nov 26, 2006 12:27 pm
Location: Netherlands
Contact:

Monitoring Phonecalls

Post by hansieh »

Hi Snelvuur,
FSK (Frequency Shift Keying) is not on the list of telephony interoperability.
But I will give it a try.
Thanks anyway.


Hans Hov
User avatar
Snelvuur
Forum Moderator
Forum Moderator
Posts: 3156
Joined: Fri Apr 06, 2007 11:01 pm
Location: Netherlands
Contact:

Monitoring Phonecalls

Post by Snelvuur »

Isn't FSK not changed to DTMF for .nl? Not sure though.

// Erik (binkey.nl)
hansieh
Starting Member
Starting Member
Posts: 25
Joined: Sun Nov 26, 2006 12:27 pm
Location: Netherlands
Contact:

Monitoring Phonecalls

Post by hansieh »

No FSK is mostly used by the cable companies.
My provider is multikabel.
There are some topics on the asterisk forum.
I will look in to that.

Hans Hov
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Monitoring Phonecalls

Post by Digit »

Finally, last Monday i made the switch to VOIP. And with the Fritz!Box FON 7170 installed as ADSL modem i managed to get monitoring of incoming calls back online. In notime actually.
The first thing i did was turning on the Telnet server on the Fritz; this can be done by picking up the phone and dialing <b>#96*7*</b>.
(you can kill it by dialing <b>#96*8*</b>)

In the past i've read a lot about Fritz! modems having syslogd on board, so i thought this would be a piece of cake; just tell syslog to send to my HA PC and pick it up from there and analyze it...
However, no more syslogd on the Fritz anymore, these days. Well not one i could recognize as such; since i'm not a real Linux guy, i just know the basics. A real bummer. Now what?

I could think of nothing else then just calling our own phone number and watch if any messages would appear in the telnet session or maybe other things were happening in the box that could give me a lead.

And it did [:)]; on the screen i saw messages appearing like 'script file /var/calllog not found', 'script file /var/flash/calllog not found', so that could be a good starting point.
I asked google if it could help me and i discovered some great german sites where there's a huge Fritz community doing all kinds of cool stuff with their Fritz boxes.
I stumbled upon some pages describing what this calllog script can be used for and i made a little script:

Code: Select all

#!/bin/sh
echo CALL $1 $2 $3 $4|nc <ip> <port>
exit 0
Apparently this calllog script is called with a few parameters like calling phone number, called phone number etc. The only thing the script does is send these parameters to my HA App using nc (netcat). With a TCP server built in my HA app listening on the same port as specified in the script i can now receive information coming from my Fritz. So after nearly 6 months of abscence, logging of incoming calls is back online.

Next: outgoing calls.[:p]
User avatar
TANE
Forum Moderator
Forum Moderator
Posts: 4806
Joined: Fri Apr 06, 2007 9:46 pm
Location: Netherlands
Contact:

Monitoring Phonecalls

Post by TANE »

I wonder if this is possible for the other Voip modems..
I have the Ziggo version.
Post Reply

Return to “Questions & Discussions Forum”