SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #101  
Old 03-19-2010, 11:49 PM
hitechguy hitechguy is offline
Sage User
 
Join Date: Mar 2010
Location: Lanham, MD
Posts: 5
KJake,

Thanks, it works great with the proper information supplied. It seems I was having a senior moment when I looked at the configuration settings for the program.
__________________
Server: Intel Core 2 Duo E6600 2.4 GHz Processor 6 GB PC2 6400 Memory 1 - 500 GB hard drive, 1 Pinnacle USB HDStick
VISTA 64 bit Home Premium all updates applied, SageTV V6.6.2.218 : SageMC 6.3.9a
Just beginning to build SageTV Network got to get WAF to > 90%
  #102  
Old 05-18-2010, 10:59 PM
flschmp flschmp is offline
New Member
 
Join Date: May 2010
Location: Miami Beach, FL
Posts: 2
Question

KJake,

Thank you very much for your vonageSniff program. It works great for my setup.

However, I would love to be able to run it as a service instead of a standalone program, but I can't seem to get the service to accept a device (it always uses the default *). It looks to me that when I use the --install argument as the first argument, all other arguments are ignored so I can't use -C=<file> or -d=<dev>. If I try to use --install as any argument other than the first, it's ignored and it doesn't run as a service.

Is there a trick to run vonageSniff as a service?

Thank you!
  #103  
Old 05-19-2010, 08:44 AM
KJake KJake is offline
Sage Icon
 
Join Date: May 2003
Location: West Michigan
Posts: 1,117
Hi flschmp,

It is probably best to keep the vonageSniff program and config file in a path without any spaces in the folder names - I don't think I handle that well. And I think I do recall that the -C should specify the full path to the config file.

Setup your config file and then try the command like this:
Code:
vonageSniff.exe --install -C=C:\vonageSniff\vonageSniff.config
  #104  
Old 05-19-2010, 09:08 AM
flschmp flschmp is offline
New Member
 
Join Date: May 2010
Location: Miami Beach, FL
Posts: 2
Quote:
Originally Posted by KJake View Post
Hi flschmp,

It is probably best to keep the vonageSniff program and config file in a path without any spaces in the folder names - I don't think I handle that well. And I think I do recall that the -C should specify the full path to the config file.

Setup your config file and then try the command like this:
Code:
vonageSniff.exe --install -C=C:\vonageSniff\vonageSniff.config
Thank you so much!

It was exactly both of those things, I had vonageSniff in Program Files (with a space) and I wasn't specifying the full path to the config file.

I appreciate your help very much.
  #105  
Old 06-23-2010, 07:20 PM
priority's Avatar
priority priority is offline
Sage User
 
Join Date: Apr 2003
Location: Texas
Posts: 33
Thanks!!!! I have been running a separate pc with an external modem to get caller id to show up on my networked devices given the way my house is wired.

For those running the current version of dd-wrt (I am using v24-sp2, SVN 13064) that allows port mirroring, here's what I used to set up dd-wrt (via SSH) to forward the SIP packets to the machine running VonageSniff:

iptables -t mangle -A POSTROUTING -d 10.0.0.100 -j ROUTE --tee --gw 10.0.0.101

iptables -t mangle -A PREROUTING -s 10.0.0.100 -j ROUTE --tee --gw 10.0.0.101

These commands will make a copy of network traffic that have source and destination 10.0.0.100 (your vonage or SIP adapter) and will send it to 10.0.0.101 (pc running VonageSniff).

To check that the port mirroring is set up, use:
iptables -t mangle -L -v -n

And you should see something like:
Chain PREROUTING (policy ACCEPT 4510K packets, 2555M bytes)
pkts bytes target prot opt in out source destination
....
219 152K ROUTE 0 -- * * 10.0.0.100 0.0.0.0/0 ROUTE gw:10.0.0.101 tee

....

Chain POSTROUTING (policy ACCEPT 17M packets, 7764M bytes)
pkts bytes target prot opt in out source destination
....
206 82184 ROUTE 0 -- * * 0.0.0.0/0 10.0.0.100 ROUTE gw:10.0.0.101 tee

....


Of course, once you have this working for your setup be sure to add the proper lines to your Startup Commands to avoid having to set this up every time you reboot dd-wrt.

Voila...a YAC server without a modem or a hub.

A couple of other notes, I used port 10000 to capture the caller id info in VonageSniff. My Vonage adapter is pretty old (pre-2005); I used windump to find the right port/guid.
  #106  
Old 06-23-2010, 10:09 PM
QueOnda's Avatar
QueOnda QueOnda is offline
Sage Icon
 
Join Date: Jan 2008
Posts: 1,093
Anyone using this with Win7 64 bit?
__________________
Server: HP AMD64 dual core running Win7 64bit (MCE disabled) with 4G memory Tuners: 2 PVR-500(disabled), 3 HDHR and 1 HDPVR Clients: 2 HD200 and 1 HD100 TV: 70" and 52" and 42" Media Storage: ReadyNas 8TB Recording media: 300GB + 200GB+ 250 GB Network: Gigabit backbone'

Thanks to all the developers who work on SageMC, code, utilities and plug-ins to make SageTV better!!!
  #107  
Old 06-24-2010, 11:17 PM
QueOnda's Avatar
QueOnda QueOnda is offline
Sage Icon
 
Join Date: Jan 2008
Posts: 1,093
On my vista 32bit laptop, I've tried to skim through the 6 pages of this thread but think I've missed something. I have the yak listener (not the sever) installed on the same computer. Do I need to setup a port on the yac listener??? or is the port 1069?

The 3 NPF devices, How do I find out what is what?

Quote:
Please use one of the following interfaces (try the one with a * first):

\Device\NPF_{0CCD25D2-BD9D-4079-A98B-4DB0A4FA11D2}
\Device\NPF_{50F49C2D-4AAD-4135-9F84-BF8D0474CCDE}
\Device\NPF_{E508F000-8BAD-4254-9BE8-D991600D0C59}*
my config file:
Quote:
dev=\Device\NPF_{E508F000-8BAD-4254-9BE8-D991600D0C59}
filter='udp and port 5060'
y=192.168.0.9:1069
quiet=0
ignore=2125550000
Here's one of my running of the vonagesniff.exe then I get no comand prompt (running?):
Quote:
C:\Users\QueOnda\Desktop\VonageSniff>vonageSniff.exe -C=C:\Users\QueOnda\Desktop
\VonageSniff\vonageSniff.config
VonageSniff 1.09 (Windows implementation by Kevin Jacobson)
Config file defined, trying to open: C:\Users\QueOnda\Desktop\VonageSniff\vonage
Sniff.config
Starting up...
Device: \Device\NPF_{50F49C2D-4AAD-4135-9F84-BF8D0474CCDE}
WinPcap Filter: udp and port 5060
Number to ignore: 2125550000
YAC listeners: 192.168.0.9:1069

Is there a way to test without making the phone ring through command prompt? Sometimes the kids are sleeping and don't want the phone to ring.

Is this the correct rule for my router?
Quote:
Port forward for 192.168.0.9 TCP=1069 UDP=5060


Do you need the vonage device connecting to one computer nic and coming out the other? I don't have it set up that way.
I also read you can use port mirroring on your router. I have a DI-615, how would I do that? (if needed)??
__________________
Server: HP AMD64 dual core running Win7 64bit (MCE disabled) with 4G memory Tuners: 2 PVR-500(disabled), 3 HDHR and 1 HDPVR Clients: 2 HD200 and 1 HD100 TV: 70" and 52" and 42" Media Storage: ReadyNas 8TB Recording media: 300GB + 200GB+ 250 GB Network: Gigabit backbone'

Thanks to all the developers who work on SageMC, code, utilities and plug-ins to make SageTV better!!!

Last edited by QueOnda; 06-25-2010 at 01:03 AM.
  #108  
Old 06-25-2010, 11:21 AM
priority's Avatar
priority priority is offline
Sage User
 
Join Date: Apr 2003
Location: Texas
Posts: 33
Quote:
Originally Posted by QueOnda View Post
Is this the correct rule for my router?
No. Port forwarding is an altogether different animal than port mirroring. Port forwarding will NOT work for what you are trying to do and is not needed for this setup. See wikipedia if you want to understand how different these two animals are.

As far getting your router to do port mirroring, I would be very surprised if the stock firmware supports it. You will have to load dd-wrt or another firmware on your router that allows to to mess around with the iptables in a way that will allow for port mirroring. Not something I would recommend just for caller id.

If you go down the two NIC path to avoid these issues, keep in mind that if the computer between vonage box and the internet goes down, then so will vonage.

Quote:
Originally Posted by QueOnda View Post
Is there a way to test without making the phone ring through command prompt? Sometimes the kids are sleeping and don't want the phone to ring.
Not with vonagesniff (or at least not that I can find). If you want to test your listeners, load YAC as a server on one computer and have it do a "test call" (in the listener setup dialog box) to see that the listeners are working. However, this will not test the sip sniffing.


Quote:
Originally Posted by QueOnda View Post
The 3 NPF devices, How do I find out what is what?
windump; run it on each of the devices one at a time an see which one is getting the traffic you need after you have port mirroring set up. This will also let you locate the port vonage is using.

You can also dig into the registry to match a guid with a physical device.
Search something like "Network Adapter GUID" for more info. This will not help with locating the right port for vonage.

Quote:
Originally Posted by QueOnda View Post
Here's one of my running of the vonagesniff.exe then I get no comand prompt (running?):
You should get your command prompt back-- use the --install option when invoking vonagesniff

Quote:
Originally Posted by QueOnda View Post
...port on the yac listener??? or is the port 1069?
YAC listeners, by default, are on 10629.
  #109  
Old 06-25-2010, 01:35 PM
QueOnda's Avatar
QueOnda QueOnda is offline
Sage Icon
 
Join Date: Jan 2008
Posts: 1,093
Quote:
Originally Posted by priority View Post
You will have to load dd-wrt or another firmware on your router that allows to to mess around with the iptables in a way that will allow for port mirroring. Not something I would recommend just for caller id.

Thanks Priority! I guess I will just use my modem (i have one coming today which will work on my win7 64bit) to get my caller ID working again. I always wanted to use DD-wrt but at the time my router Trendnet tew-652-brp wasn't supported. I actually flashed it with the dlink firmware to give me more capability. Now I think dd-wrt now supported but don't have time to take it down and play.
__________________
Server: HP AMD64 dual core running Win7 64bit (MCE disabled) with 4G memory Tuners: 2 PVR-500(disabled), 3 HDHR and 1 HDPVR Clients: 2 HD200 and 1 HD100 TV: 70" and 52" and 42" Media Storage: ReadyNas 8TB Recording media: 300GB + 200GB+ 250 GB Network: Gigabit backbone'

Thanks to all the developers who work on SageMC, code, utilities and plug-ins to make SageTV better!!!
  #110  
Old 06-25-2010, 02:22 PM
priority's Avatar
priority priority is offline
Sage User
 
Join Date: Apr 2003
Location: Texas
Posts: 33
QueOnda,
No problem; I spent more than a few hours myself getting this working.

Hopefully our posts will help others interested in this option understand the nuances of VonageSniff.

This is a bit off topic, but when you decide to take the plunge on dd-wrt, get a router that supports the mega build. Over time, I am continuing using more and more of dd-wrt's capabilities; running the mega build has saved me more than a few upgrade hassles.
  #111  
Old 07-01-2010, 08:30 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
I've already got this working with dd-wrt using port-mirroring on my existing server. I'm setting up a new server and I can't remember what to set the dev line to if I'm not using a modem. Any help for my memory?
  #112  
Old 08-24-2010, 08:26 PM
KJake KJake is offline
Sage Icon
 
Join Date: May 2003
Location: West Michigan
Posts: 1,117
Talking New Version, New Name, New Features!

Hi all!

Recently, someone here on the board (it's all traker1001's fault!) contacted me about adding some new functionality to this program.

This program seems to work with just about every SIP-based VoIP provider out there, but some of them do not provide the name of the caller to help save on the overall cost of your service. Enter, reverse lookups! No more will you have to wrack your memory trying to remember if 2154441122 is your ex-lover's phone number!

With that, I'd like to close this thread!

Continue on to the new, more relative thread:
http://forums.sagetv.com/forums/showthread.php?t=50403
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 10:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.