Terminal Voip Seren


jackpulseflash2

 

Ok , there are many voip client etc but here there is a program , with

VERY GOOD AUDIO QUALITY.

ENCRYPTED CONVERSATION

VERY LOW CPU USAGE

TERMINAL ONLY PROGRAM ….SO YOU DON’T NEED X

IT’S AN UNKNOWN PROGRAM🙂

 

TEST SEREN , WITH VIRTUALBOX TINY CORE 32 bit 70 MB

 

Tiny core  based 32 BIT  virtualbox               80mb 

IF YOU ARE USING THIS VIRTUALBOX THAT DOESN’T PROVIDE UPNPC YOU NEED TO OPEN THE DOOR 8110 MANUALLY , and set port forwarding  see here 

 

wget --no-check-certificate https://googledrive.com/host/0Bxy7Wd7ZYDezVnVUQVdZX25ZcWs -O $HOME/tinyseren32bit.vmdk

 

 

TEST SEREN , WITH VIRTUALBOX DEBIAN WHEEZY 32 bit 300 MB

wget --no-check-certificate https://googledrive.com/host/0Bxy7Wd7ZYDezbEtCMmNHSERCVVE -O $HOME/debianseren32bit.vmdk
  • USERNAME  PASSWORD
  • serenuser  seren
  • root seren1

 

USING VIRTUAL BOX IMAGE PROPERLY

You need to select alsa audio driver ,  of course in your main machine i hope you are using pulseaudio , if not consider to use it , the most of distro has it by default but maybe minimalistic users

serenaudio1

You need to set bridget adapter in this way your virtual machine will get a lan ip address like your main manchine so upnpc will work correctly . IN MY CASE I SET WLAN0 because i am connected with a wifi router but if you have a ethernet connection you have to set eth0 (number can change wlan1 eth1 etc ..)

serennetwork

 

SO NOW YOU HAVE SET WELL THE VIRTUALBOX AND YOU CAN RUN IT , it will ask you for a keyboard layout , a nickname and a mic , you should select the first one …

USE OF SEREN IN VIRTUALBOX

you need to share the ip with your friend via mail or other system ,then finally type

/c FRIEND_IP

 

 

INSTALLING  SEREN IN YOUR MACHINE

 

install the dependences note if you have an old distro you may not have this libopus-dev just look down if you are in trouble with this libray

sudo apt-get install miniupnpc libgmp-dev libasound*-dev  libncurses*-dev  libncursesw*-dev ; sudo apt-get install libogg-dev libopus-dev build-essential pkg-config; sudo apt-get install build-essential pkg-config libasound2-dev libopus-dev libncurses5-dev libncursesw5-dev
 

just download it from here and compile it ..

cd /tmp; link="http://holdenc.altervista.org/seren/downloads/seren-0.0.18.tar.gz"; wget "$link"; tar xvzf seren*.tgz ; cd seren* ; make 

after that you have a binary called seren …

if libopus is not in your repository===> http://holdenc.altervista.org/seren/index.html


 

CONFIGURATION ROUTER MIC AND SPEAKERS

if you have virtualbox my script will do automatically all so you CAN SKIP THIS FOR VIRTUALBOX USERS

Router  with upnpc support (the most of them have upnp support …): 

 

upnpc -a $(hostname -I) 8110 8110 UDP

Router  without  upnpc support  UDP 8110 IN YOUR ROUTER … (OR USE ANOTHER ONE THAT IS OPENED IN YOUR ROUTER )  see here 

SPEAKERS MIC: 

You can download this script that will help you to launch the program

wget –

MY SYSTEM HAS PULSE INSTALLED:

./seren -n $USER -d pulse

I WANT TO USE ANOTHER DEVICE FOR MY MIC LIKE A WEBCAM MIC (LOGITECH)

./seren -n $USER -d pulse -D plughw:1

WTF I HAVE NOT PULSE CRAP IN MY SYSTEM

./seren -n username1234 # it will use alsa

WTF WITH ALSA IT SAYS ERRORS:

cat error.log

the most of time it says

[alsa] Cannot open audio device ‘hw:0,0’ (Device or resource busy)

1) close every program that could use audio , chrome chromium browsers …
2) lsof | grep -i pcm should list every program that is using audio… so kill the program that is using it….

WTF IT WORKS WITH ALSA BUT AFTER THAT I CAN’T USE ANOTHER AUDIO PROGRAM OH FUCK THIS IS  UNFAIR

YES man you used alsa. AND IT WORKS IN THIS WAY.
You don’t like pulse ? it’s your problem .

PAROLE CONFERENCE OPTIONS :

 help:	command	description	shortcut	range
/h	print help
/i	print info		[F4]
/m	toggle mic mute		[F5]
/l	toggle audio loopback	[F6]
/t	toggle chat tones
/T	toggle ringtone
/a	toggle autoaccept calls
/[r,R]	toggle call recording
/g	gain set software mic gain in dB	[-40,40]
/G	n gain set node	n gain in dB 		[-40,40]
/b	bitrate set bitrate 			[6000,512000]
/k	n kill	node n
/c	host[:port] call host
/C	abort calling
/H	hangup call
/e	mode set node	mode			[0-2]
0:clear, 1:secure, 2:psk
/X	algo set encryption	algorithm	[0-3]
0:XTEA,	1:CAST-128, 2:Blowfish, 3:Camellia
/x	key set	pre-shared key
/q	quit 			[CTRL-C]

HOW TO USE SEREN

ok now that seren works .. just tell to your friends YOUR Ip

he needs to run seren and after that he should type in the blue terminal If your ip it’s 1.62.13.201

/c 1.62.13.201

like you can see here …

parole-conference5

NOW YOU CAN TALK :d

ENCRYPTION

seren does the encryption automatically but if you need to change the password you can do it using this

 

/x my_key_to_encrypt

/X  2

/e

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: