From: James A. <ja...@ar...> - 2005-09-13 19:34:54
|
> > I was thinking of just doing that for the CID/call log stuff with my * > box I have for my ISP, since I have a spare 1 line zaptel card just > sitting in the box, but that sorta defeats the whole purpose of Vonage, at > least for the inbound lines. I use connect.voicepulse.com for my business > IAX-based lines. > > Well, that'd be a start, just to pick up the CID. That can then be sent to > my MythTV frontends, as there is usually one playing *somewhere* in the > house. > > Tim I still have an old perl script on my website that listens to the vonage traffic and sends caller id to mythtv. I have vonage going through my linux firewall, but I think someone else had it working by just listenin g on the network. >>> >>>> Just cleaned it up some. Thinking about making it a C program >>>> instead of >>>> Perl script. Here are the Perl Modules needed: >>>> >>>> IO::Socket >>>> Net::Pcap >>>> NetPacket::Ethernet >>>> NetPacket::IP >>>> NetPacket::TCP >>>> NetPacket::UDP >>>> Unicode::String >>>> Proc::Daemon >>>> Proc::Simple >>>> Unix::Syslog >>>> >>>> The perl script can be downloaded from: >>>> >>>> http://www.thearmstrongs.org/mythtv/vonageSniff.pl >>>> >>>> Options: >>>> To use: >>>> -d=dev <-The device to capture packets from >>>> -f='filter string' <-String to filter on enclosed in >>>> single quotes >>>> (DEFAULT: 'udp and port 5061') >>>> -ip <-IP Address to send mythnotify to >>>> -p <-Place the device into promiscuous mode >>>> -to=integer <-Read timeout in ms >>>> --quiet <-Do not print anything but errors to STDOUT >>>> -D <-Run as daemon >>>> >>>> Defaults: >>>> -d=eth0 >>>> -f='udp and port 5061' >>>> -p >>>> -ip='192.168.1.252' >>>> -to=1000 >>>> >>>> You need to specify the ip address of your mythfrontend with the -ip >>>> parameter, the rest of the defaults should be ok. >>>> |