The time now is Tue 02 Mar 2021, 10:17
All times are UTC - 4 |
Author |
Message |
smokey01

Joined: 30 Dec 2006 Posts: 2820 Location: South Australia :-(
|
Posted: Sat 08 Dec 2018, 20:17 Post subject:
|
|
@Mike, this is quite a good idea, in fact a few of us have been doing it this way for years. Instead of deleting the .psip.conf and copying another one we just used a script to symlink to the appropriate config file EG:
.psip.conf <--> mike.psip.conf
This process is no longer required. Recently I asked jamesbond if he could add a few command line switches to do exactly this. Type psip --help in a terminal and you will see what I mean.
Code: | # psip --help
psip [-c|--config-file config-file] [--log-file logfile] [--version|-v] [--expand-buddies]
|
Now you can have any amount of config files. Simply start them with a script.
Let's call the script Mike and the config file mike.psip.conf
#!/bin/bash
Code: | psip -c /root/mike.psip.conf --log-file /root/mike.psip.log --expand-buddies
|
You can also have a separate log file for Mike and expand the Buddies list if you wish.
Code: | psip -v will display:
PSIP version 1.42
Copyright © James Budiono 2011, 2015, 2018
|
Thanks jamesbond.
Sorry Mike
Mike Walsh wrote: | Evening, all.
Now; this may seem like a daft thing to say.....but you may, perhaps, wish to utilise multiple psip.conf files with PSIP. Not multiple accounts; PSIP is already capable of that. I'm talking about the settings for PSIP itself.
I've found it advantageous to use multiple psip.conf files myself. I had it demonstrated to me a couple or three weeks ago that you can, for example, run PSIP thru a VPN tunnel.....which requires a totally different set of configurations to that in use by PSIP when it's operating 'normally'.
You might wish to keep different config files for different groups of contacts, perhaps. Whatever the reasons, it's a PITA to have to keep swapping the files around in /root. PSIP can only make use of one .conf file at a time, otherwise it gets confused!
-------------------------------------
Anyway, I've thrown together a wee utility that permits this to be be carried out easily, via a YAD-powered GUI. It makes use of a hidden folder in /root, containing a number of sub-directories.
You manually place each of your psip.conf files into one of each of these numbered sub-directories (making sure you know which is which, naturally.) You select the utility from Menu->Network->PSIP Config Select, which looks like this:-
Prior to starting PSIP, just select the appropriate psip.conf file with the corresponding button. All this does is to delete the psip.conf file currently resident in /root, and to copy across the one you've selected. Nowt to it, really....it just makes an additional operation a bit easier to handle, that's all. Wait till the 'Success!' message pops up, and you're good to go.
The .pet for this is attached below. If you don't have YAD on your system (check to see if /usr/bin/yad exists), you can get the current version here.
Perhaps it'll be useful for some of you. I built it to fulfill a personal need.....as always, I don't mind sharing.
Mike.  |
_________________ Software <-> Distros <-> Tips <-> Newsletters
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Sat 08 Dec 2018, 20:28 Post subject:
|
|
Hello all.
I'm not sure the following question goes in this thread, but I believe it is
tangent.
Would anyone know if the Linux Ekiga service to connect PSIP to "ordinary"
phone lines & numbers still exists? I tried connecting to it a couple of hours
ago and got an error.
TIA.
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
OscarTalks

Joined: 05 Feb 2012 Posts: 2202 Location: London, England
|
Posted: Sat 08 Dec 2018, 21:08 Post subject:
|
|
musher0,
Isn't that the diamondcard service that watchdog was talking about a few posts back?
_________________ Oscar in England

|
Back to top
|
|
 |
Mike Walsh

Joined: 28 Jun 2014 Posts: 6397 Location: King's Lynn, UK.
|
Posted: Wed 02 Jan 2019, 07:33 Post subject:
|
|
Morning, boys & girls.
Just a wee bit of info for y'all.
For anybody who's trying out the new v3.0 of Smokey01's 'BackSeatDriver' (the one with BSDrvr & PSIP combined into one), you may find that it doesn't behave itself compared to the earlier v2.0.
It's quite possible that when you attempt to run the 'BSDrvr' part of the app, that the tunnel (as shown in the terminal) will quit on you after a few seconds. It's supposed to remain open all the time the tunnel is active.
As it happens, this is quite an easy 'fix'.
-------------------------------------
Like v2.0, v3.0 requires
n2n-edge
ncat
pv
ssvncviewer, &
x11vnc.
It turns out that v3.0 also requires the vnc client/server libraries, too. Plug
....into the PPM's search box, and hit 'Enter'; you should get 'libvncserver' come up as an option. This is in the Slackos; if you install this, it also pulls in 'libvncclient', too. Haven't done this in the 'buntu-based Pups, yet; these may well show libvncclient in the PPM as well.
After making sure to delete any previous 'bsdriver.conf' file from /root/.config, fire BSDrvr up again, and everything should now behave itself. It's quite possible that these extra libraries are already in FatDog as standard.....which is where BackSeatDriver was written. Puppies will need to add these for v3.0 to run properly.
Hope some of you may find this useful.
-------------------------------------------------
EDIT:- For those wanting to use this in Precise 571, libvncclient & libvncserver are already installed. However, you'll need to use the PPM to install a newer version of libgnutls - v26 is installed, v28 is required. This will also pull in libhogweed.
Mike.
_________________ MY 'PUPPY' PACKAGES

|
Back to top
|
|
 |
foxpup
Joined: 29 Jul 2016 Posts: 1141
|
Posted: Mon 30 Dec 2019, 17:12 Post subject:
psip listening on 2 ports |
|
@smokey01
From http://smokey01.com/psip/ I have downloaded psip-1.42.pet (32bit) and psip-1.42-x86_64.pet (64bit).
As reported on
http://murga-linux.com/puppy/viewtopic.php?p=1046001#1046001
http://murga-linux.com/puppy/viewtopic.php?p=1046144#1046144
the 32bit psip seems to be listening on port 5061 as well as on the usual port 5060.
Moreover, if I turn off tcp, it still listens to port 5061 for tcp!
Is this alright?
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|