|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
VonageSniff VOIP Caller ID Script
I have the script running on my system. Still some things aren't quite right but very close.
Can the script send to more than one client? Multiple IPs with different ports. The Daemon Switch -D doesn't seem to be working for me. Neal |
#2
|
|||
|
|||
Quote:
Quote:
There isn't really a great way to fork() in Windows to properly detach a running process from the console. I will though try again, and if not, I can remove the option from the help text and give simple instructions on how to install this as a Windows Service. Since you're my first official tester, I'll start adding in some more debugging info too Thanks for the help, glad to know it works |
#3
|
|||
|
|||
Apparently if you run SageTV as a service and then run SageTV on the same computer it is seen as a client device and in order to get the popups to work on the primary computer (in my case it is my primary HTPC) you have to call out a different port than what the main SageTV listener is listening on.
I'm very excited about getting this to work. What I've seen so far is great. I love getting the infopopup on the screen before I hear the phone ring. The household has gotten spoiled with YAC on all the PCs around the house. So I think they will enjoy getting the early notice of your script on their PCs. Below is a copy of one of my posts in the other thread. Quote:
Neal |
#4
|
|||
|
|||
Quote:
I'll take a look at that line in the source code to see if I can determine what the problem is, and when we're done, I'll post the source. |
#5
|
|||
|
|||
Here is a new version. This should support minimal logging to the Event Log (will be more useful once running as a service), support for multiple YAC listeners, should correct the perl58.dll problem, and should correct the error message from before.
Version 1.04 As usual, I have no way to test this, so there are portions of the code that don't even execute when I run this. I'm hoping that I wrote things correctly so this doesn't bomb out unexpectedly once you do have a call. edit: original posting with more details/instructions --- Quote:
Last edited by KJake; 01-05-2009 at 06:12 PM. |
#6
|
||||
|
||||
Quote:
__________________
Server Hardware: Intel Core 2 Quad Q6700 2.66GHz CPU, 4GB DDR2 RAM, NVIDIA nForce 780i SLI Motherboard, GeForce 8600 GT, Seagate Barracuda 7200.11 2.5TB Operating System: Windows XP Professional HTPC/DVR Software: SageTV 7 Capture Devices: 2 @ Hauppauge HD-PVR (1212), Hauppauge WinTV-HVR-1600 ATSC/QAM, HD Homerun Media Extenders: 2 @ Sage HD100 & 1 @ Sage HD200 Signals/Providers: AT&T UVerse, OTA ATSC Set-Top-Box: 2 @ Motorola Box VIP 1200 |
#7
|
|||
|
|||
A couple of other ideas for sniffing out a VOIP device:
On your windows system, install a second network card, if needed, connect the VOIP adapter to one network card and the rest of the network/internet to the other network card. Then, open your Network Adapters, highlight both adapters, right-click and choose bridge. This should allow the VOIP adapter access to the internet, and should allow you to either sniff the physical card connected to the VOIP adapter, or sniff the virtual bridge - try the VOIP card first since it will be less traffic. Also, if you have fancy switches in your home, you can setup a Monitor port on the switch that will allow, usually a single defined management station, to sniff the packets of any device connected to that switch port. You can only have one management port on at a time, as far as I know. You could also get real advanced with some nutso routing tables and setup everything on the network to route through a single PC with the vonageSniff application on it, then setup destination routes on that PC. The easiest is probably the second option if you have the equipment. I did the first option on my Linux system because it already had two network cards. |
#8
|
|||
|
|||
What I've done is run a softphone on the PC running VonageSniff and linked set it up with my home number. Now all incoming calls go to the softphone on the PC and the VOIP box. I'm running X-Lite softphone.
|
#9
|
|||
|
|||
Quote:
I am still getting the streaming error message if I use anything as a -f filter. With the previous version I had to put something in to be filtered to get it to detect anything. (I used -f='@CALL' but I think any text got it to work) The repeating message is: Quote:
Let me know if you need more details. |
#10
|
|||
|
|||
okay, i'm going to have to find a way to test this all before putting out new versions hold tight.
|
#11
|
|||
|
|||
Hey guys - I have Vonage (with the Linksys Adapter). I'd be glad to help test this out - this would be a great feature to install on my setup (Sage Server with HD100 Extenders). But, I don't know much about installing the plugins (I use the default SAGE GUI - and nothing else). If you would want to walk me through installing it, I would go for it...!!
|
#12
|
|||
|
|||
Quote:
so tonight, i'll try and figure out why you're having that -f(ilter) problem, the scrolling error, and whether i can get multiple listeners going. |
#13
|
|||
|
|||
Quote:
I didn't completely test it, but I trust that based on all of the good feedback on the console that it is detecting everything properly. A word on -f(ilter); this setting is for WinPcap. It tells the driver what kind of traffic to look for. On the Vonage devices, this is usually on port 10000, so I have it defaulting to looking at any traffic (udp and tcp) on port 10000. If you want the tool to look at all traffic, you should be able to pass -f='' on the command line to do so - or anything else if you know more about your service. New features: Code:
-C=<config file> to load settings from a file rather than typing them all on the command line --install <args> to install a service with <args> (example: --install -C=<full.file.path>) --remove to remove the installed service Known Issue: Issuing a Stop command for the service won't kill the process; there is a workaround to this that I started implementing, but then ran into a problem...so I need to look into a different method. You can kill the process from the task manager for now. The reason that this happens is because the WinPcap filter is running in a loop and once it enters it never leaves to evaluate whether a stop command was issued. Last minute thoughts: I have no idea if the filter= setting in the config file requires quotes around it or not. I don't think that it does, but I just noticed that there aren't any in the sample file. If I know the code well enough, this should still work since the quotes were really for the command line to help tokenize the arguments. http://kjake.net/vonageSniff.zip (same file name, might want to clear your cache) |
#14
|
||||
|
||||
Quote:
thanks dave |
#15
|
|||
|
|||
Quote:
http://www.counterpath.com/x-lite.html X-Lite for use with Asterisk: http://www.asteriskguru.com/tutorial...softphone.html Not sure if nstocke is using this with Vonage or not. I'll see if I can get it going later tonight if that's not what they are doing. |
#16
|
|||
|
|||
Quote:
|
#17
|
|||
|
|||
Quote:
I use "Via Talk" as my VOIP provider. I use the X-Lite softphone application referenced above. VIATalk provides all of the required SIP info to get the softphone working. Once the softphone is working on the PC and I was able to make and receive calls I was able to get the network caller-id packets on the computer. |
#18
|
|||
|
|||
Quote:
Thanks Just tried Alzip to extract the files. It can see them but still no luck. Last edited by nstocke; 01-10-2009 at 01:25 AM. |
#19
|
|||
|
|||
Quote:
I just downloaded it and opened it to be sure. Last edited by KJake; 01-10-2009 at 08:59 AM. |
#20
|
|||
|
|||
Also, nstocke, if the default filter setting doesn't work for you, try 'udp and tcp 5060' - i think that's the standard SIP port and it may work for Vonage too. If it does, I'll change that to be the default in the next release.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Caller ID modem for voip | tawd1992 | Hardware Support | 11 | 10-22-2009 06:17 PM |
Anyone have a script tp restart client ? | brewston | SageTV Software | 3 | 09-16-2008 08:02 AM |
Need a script to reboot MVP | deanm | SageTV Media Extender | 13 | 07-25-2008 01:32 AM |
comclean script with .edl files | joe123 | SageTV Customizations | 0 | 07-10-2007 10:08 AM |
Perl script to automatically grab movie thumbs | sundansx | SageTV Customizations | 0 | 01-10-2007 11:41 PM |