|
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
|
|||
|
|||
Utility: sip2yac
I've decided to rename the vonageSniff project to sip2yac to more accurately reflect the use of this utility.
sip2yac is a Windows command-line or service that will analyze the traffic on your network looking for VoIP phone calls, typically using the SIP protocol. Then, as you've configured it to do, it will send Caller ID info to your YAC listener(s). This takes the place of a YAC server listening on a modem port. Please download the Zip file and take a look at the readme for more information on setup. There is also some relative historical info in the old tool's thread, linked below. Recently, it came to my attention that 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! Info: Old Project Thread: SageTV Forums Last edited by KJake; 08-29-2010 at 10:09 PM. |
#2
|
||||
|
||||
I'm successfully using the old vonagesniff program. Is there a reason I should change to this version?
|
#3
|
|||
|
|||
If the newer options don't interest you, feel free to keep using what you have!
|
#4
|
|||
|
|||
Can't seem to piece all of this together... is there a way to use this with Magic Jack (in WHS)?
|
#5
|
|||
|
|||
Indeed, there is someone using this with Magic Jack specifically! I will ask him to reply to this thread with some basic instructions.
|
#6
|
|||
|
|||
I use Sip2Yac on a XP eeepc with my magicjack, Not just for transmitting CID, But to improve on the in and out logging, and transmit both CID and CWID to my other pc's. Also to provide a name to the CID/CWID.
Download and install PCAP from http://en.wikipedia.org/wiki/Pcap Download Sip2yac Unzip it to a directory from command prompt execute sip2yac.exe and note probably the Device with the star next to it. Use this in your config file. Magicjack port is 'udp 52941' Edit the sip2yac.config file for your puposes. Plugin your Device, port and WPapi key. Here is the contents of my config file. Not Magicjack uses UDP port 52941. The device is going to be different for every system, Just run sip2yac in the dos command prompt without using any config options. dev=\Device\NPF_{4B7F2BE9-A91F-4041-9832-ADC5EAB8FB60} filter='udp 52941' y=127.0.0.1:10629,10.0.0.4:10629 logoutgoing=1 wpapi=9021f690crabf6ea7a2abb81eXXXXXXX updatecsv=1 ignore=4079023400 When everything is setup, Execute Sip2yac with the config file. I.E. Sip2yac.exe -C=sip2yac.cfg Hope this helps out a little.
__________________
|
#7
|
|||
|
|||
thanks traker1001! you might want to edit out your whitepages api key though
|
#8
|
|||
|
|||
Its not my actual key, I changed several char's to leave it looking like it should.
__________________
|
#9
|
|||
|
|||
Quote:
|
#10
|
|||
|
|||
I have what I hope is a simple question.
When I run the following from a cmd window: sip2yac -C=c:\sip2yac.config everything runs and I get the callerID popup in sageTV however the cmd window stays open on my desktop. I am looking to get rid of this window and i tried to install this as a service. I typed: sip2yac --install -C=c:\sip2yac.config and the service says it is installed, however I do not believe it is running my specified config file. What is the correct syntax to install as a service and use my config file? Or is there some other way to run this and not have a cmd window open? Thanks, Dan |
#11
|
|||
|
|||
Well not working here with MagicJack
I installed PCAP Ran sip2yac.exe from a command prompt. MagicJack is running Device is not found. Here is what is displayed: E:\!Downloads\sip2yac>sip2yac.exe sip2yac 1.16.0.0 (win32 impl. by Kevin Jacobson) Starting up... Device: * WinPcap Filter: udp and port 5060 Number to ignore: YAC listeners: Error opening libpcap: Error opening adapter: The system cannot find the device specified. (20) Use one of the following interfaces (try those with a * first): \Device\NPF_{B3DC5CEF-89B3-4CA2-A3D5-7EE2FD1B2FCA} * Any ideas why it does not find the MagicJack? Thanks GM |
#12
|
|||
|
|||
seaverd, I haven't tried running it as a service so I am shooting in the dark. I would think the service would start and kill over if it weren't running the config file. One thing I did notice was that your running the config in the root (c:\). Try placing the config file in the same directory as sip2yac.exe and running this instead.
sip2yac --install -C=sip2yac.config Before you do this, be sure to remove the service first, sip2yac --remove. Another option is is a program called Taskbar Helper, I don't have a link for it though because I haven't used it in a long time. George You need to load a config file. In the same folder where you unzipped sip2yac there is a file called sip2yac.config. Open this file with notepad. Put this info as: dev=\Device\NPF_{B3DC5CEF-89B3-4CA2-A3D5-7EE2FD1B2FCA} filter='udp 52941' y=127.0.0.1:10629 ignore=Your phone number goes here. Please note: y= is going to be the IP:Port of your yac clients. IE if you install Yac on the same computer as sip2yac it will be, y=127.0.0.1:10629. Or if you install yac client on the same computer and your sage server is 10.0.0.5 it will be y=127.0.0.1:10629,10.0.0.5:10629 for the ignore= line you need to place you phone number. So if your phone number is 1233214321 your ignore line should look like this w/o qoutes. "ignore=1233214321". Now save the file. In the same folder, Create a new text document, Edit the text document with notepad. In it place this, sip2yac -C=sip2yac.cfg Click File,SaveASave Change file type as All Files (*.*) Name it sip2yac.cmd (Or whatever you like, Only thing that matters is that it is in same folder as everything else.) Click save. Now there should be a sip2yac.cmd file in your sip2yac folder. Double click it. Also, One thing I forgot to mention that is important to note. Sip2yac needs to be either on the same computer as your magicjack is running. Or inline via a hub. otherwise the router will prevent it from seing the packets. Hope that helps.
__________________
|
#13
|
|||
|
|||
Thanks for trying to help. It didnt work. Here is what I get now.
E:\sip2yac>sip2yac -C=sip2yac.cfg sip2yac 1.16.0.0 (win32 impl. by Kevin Jacobson) Config file defined, trying to open: sip2yac.cfg Error opening config file, using defaults instead. readline() on closed filehandle CONFIG at sip2yac.pl line 382. Starting up... Device: * WinPcap Filter: udp and port 5060 Number to ignore: YAC listeners: Error opening libpcap: Error opening adapter: The system cannot find the device specified. (20) Use one of the following interfaces (try those with a * first): \Device\NPF_{B3DC5CEF-89B3-4CA2-A3D5-7EE2FD1B2FCA} * Here is my config file. I thought the Device was independent of each unit so didn't know how coping the one from your message would work. dev=\Device\NPF_{B3DC5CEF-89B3-4CA2-A3D5-7EE2FD1B2FCA} filter='udp 52941' y=192.168.0.75:10629 ignore=1234567890 <changed from my phone number> |
#14
|
|||
|
|||
[QUOTE=George M;445125]Thanks for trying to help. It didnt work. Here is what I get now.
E:\sip2yac>sip2yac -C=sip2yac.cfg QUOTE] im sorry, is the file re-saved as sip2yac.cfg or did you leave it as the original name sip2yac.config when you saved it? one thing that might confuse things, Kjake left the file extension as linux config file standard .config, for my purposes I renanamed it to dos file standard .cfg. So instead try sip2yac -C=sip2yac.config
__________________
Last edited by traker1001; 08-27-2010 at 02:49 PM. |
#15
|
|||
|
|||
that was it. Has to be .cfg
Thanks |
#16
|
|||
|
|||
Im glad you got it working.
__________________
|
#17
|
|||
|
|||
Quote:
see: http://forums.sagetv.com/forums/show...&postcount=103 |
#18
|
||||
|
||||
This sounds like a very cool utility. Will it display incomming calls on the HD200 clients?
__________________
SageTV User Since 2009 Server Hardware: AMD FX6100, 6 Cores, 3.3GHz, 8GB RAM, TA970XE MB, 3TB HD, HVR-2250, HD-PVR, nVidia 9600GT 512MB Server Software: SageTV 9, Windows 10 64bit, EventGhost Client Hardware: HD200 x2, INT-422-3 & WR7 Remote Service Provider: Cablevision (QAM to 2250, SamsungBox to HDPVR) |
#19
|
||||
|
||||
I just moved to this from vonagesniff. I noticed that the service didn't work until I had it run as a user with a password. It might have worked with just the interact with the desktop enabled.
|
#20
|
|||
|
|||
KJake
The syntax in post 103 is the exact same way I typed it. I also tried the other users suggestion of moving the config file to the same folder as sip2yac and that did not make any difference. For my main pc I have only one user with no password to avoid the login screen. Could this be my problem? At this point all I need is a way to run this without the cmd screen open all of the time. What does the promiscuous option do? Thanks Dan |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Utility: Comskip | erik | SageTV Customizations | 278 | 04-14-2016 08:13 PM |
Utility: SageMCEDisplay | Jere_Jones | SageTV Customizations | 37 | 04-13-2009 03:53 PM |
Utility: SendMessage v2.2 | Opus4 | SageTV Customizations | 29 | 08-10-2008 08:43 PM |
Which compression utility is the best? | davephan | General Discussion | 7 | 01-03-2007 06:57 AM |