(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 02 Mar 2021, 09:25
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Please sugest: Internet Phone SIP
Moderators: Flash, Ian, JohnMurga
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 1 of 2 [24 Posts]   Goto page: 1, 2 Next
Author Message
enrique

Joined: 09 Nov 2019
Posts: 601
Location: Planet Earth

PostPosted: Sat 21 Dec 2019, 23:06    Post subject:  Please sugest: Internet Phone SIP  

1rst allow me to explain what I am looking for. I do have knowledge on Cellphone, Skype & WhatsApp etc. I am not even looking into go Underground like tor, etc.

The Idea is to simply have a few good friends hook together without been ties to the Social network apps. See the point, we try to get away of the scrutiny of the Social Network but not necessary been hidden.

One option I has seen is puppyphone.
http://distro.ibiblio.org/puppylinux/pet_packages-bionic64/puppyphone-1.41-x86_64.pet
http://smokey01.com/software/internet/psip-1.42-x86_64.pet

I had never used it an do not know if applicable. But I have read
Quote:
The Public IP address field is for true peer to peer communications. This is where you enter your
unique public IP address. ...

at http://www.smokey01.com/help/psip/psip-help.html.

So PSIP is my 1rst candidate. I will be testing it. Meanwhile i will be looking forward to your suggestions.

Please suggest also an android app that is compatible with this setup. As always thanks in advance.
Back to top
View user's profile Send private message 
williams2

Joined: 14 Dec 2018
Posts: 337

PostPosted: Sat 21 Dec 2019, 23:56    Post subject:  

There are alternatives to Facebook, Twitter, etc.

https://en.wikipedia.org/wiki/Comparison_of_software_and_protocols_for_distributed_social_networking
https://en.wikipedia.org/wiki/Comparison_of_microblogging_services
https://en.wikipedia.org/wiki/GNU_social

(forum won't let me post links to these web pages:)
Diaspora
Mastodon

I think you can just go to a website already running one of these social media servers, and create your own group.
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 601
Location: Planet Earth

PostPosted: Sun 22 Dec 2019, 00:28    Post subject:  

Thanks for the replay. No Social Network. The Idea is to stay away from it. While we work. But we are in different countries. So Chat/SIP. I know there are a few. In the past I done torchat. Quite nice but tor some times fails so I do not want to rely on it. Plus there is no need for hiding. Just stay away form social net.

Lets start with puppyphone. What will be a good Android app to chat/talk with a Puppy running puppyphone or puppychat.

Edit:
After reading a little GNU Social can be setup to run on private server. But seems a lot of work now. This may be a future project.

Edit2:
From what I see I think psip puppyphone may fit my needs. Now I need an android app to go with it. I tried the basic "CSipSimple" but as it old it hangup on new androids. Any one can suggest one?

Last edited by enrique on Sun 22 Dec 2019, 11:21; edited 1 time in total
Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 2202
Location: London, England

PostPosted: Sun 22 Dec 2019, 08:09    Post subject:  

I suggest you try Linphone
http://linphone.org
It is available for Android as well as desktop.
I have compiled it from source for various Puppies in the past, but not for Bionic64 so you may need to try installing via PPM which will probably be a lot larger but should work.
You have audio and video with optional encryption, plus text messages.

PSIP Puppy Phone works very well but is audio only.
Theoretically any SIP phone should be able to communicate with any other SIP phone so you should be able to talk to Linphone on Android from PSIP on Puppy, but that may not always work in practice.

_________________
Oscar in England

Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 601
Location: Planet Earth

PostPosted: Sun 22 Dec 2019, 11:20    Post subject:  

I tried 1st Misudroid but had trouble on new androids. App seem to fail to connect.

Then I tried downloading linphone from linphone.org work in my Android 5.1 but new androids did not wanted to sideload. So I was force to download from the market. This linphone seems to do the job now. Will stick to it for now.

Thanks OscarTalks for you suggestion.
Back to top
View user's profile Send private message 
gcav


Joined: 25 May 2012
Posts: 105
Location: Ontario

PostPosted: Sun 22 Dec 2019, 18:21    Post subject: with android try 3cx  

with android try 3cx.

g
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 601
Location: Planet Earth

PostPosted: Mon 23 Dec 2019, 04:06    Post subject:  

I saw some suggestions to that 3cx. But I thinks I saw something about PBX. That is what I did not tried. Now that you mention I may try it. Thanks
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 601
Location: Planet Earth

PostPosted: Sun 29 Dec 2019, 14:55    Post subject:  

I am moving this to this thread to prevent/stop hijacking HowTo!!! Verify that your VPN is hooking you up correctly



Flash wrote:
... should be used to make a P2P PuppyPhone call?...


Possibly correct. Now this is the address assigned NOT to You!!! It is the address assigned to your local gateway ( the route to the Internet ). Most likely your Home/ Residence modem. Now Here is the important part. To use it for PuppyPhone you need to tell the Router that when it receives a call using Port [X] to PLEASE Forward X to your local address in your PC. And In some routers you need to Open that Port X.

So you need to know your PC IP
Code:
ip route | grep default
or more exactly
Code:
ip route | grep default | awk '{print $3}'


Now you need to know the Port PuppyPhone is using:
Code:
netstat -peanut | grep psip

or more exactly
Code:
netstat -peanut | grep psip | awk '{print $4}'


So lets resume. 1rst make sure PuppyPhone is running. The info needed for myself is:
Code:
root@live:~/netinfo# ip route | grep default | awk '{print $3}'
192.168.40.1
root@live:~/netinfo# netstat -peanut | grep psip | awk '{print $4}'
0.0.0.0:5060
0.0.0.0:5060
root@live:~/netinfo# curl ifconfig.me
107.72.165.74


This mean:
1) I have to go to the router and allow a Port Forward of 5060 to my PC Local IP 192.168.40.1. In some routers you need to separately OPEN that port 5060.

2) In my PC Firewall Port I need to OPEN also Port 5060.

Opening this port are necessary to allow Someone else to call us. This mean wee need to allow this call to come throu our security.

Now that we are ready we can tell our Friends that our PUBLIC IP is 107.72.165.74.

So you thinks this is all !!! NOOOO... Most likely your router assign you a different address every time you hook to internet. This means that today's LOCAL address is different that before!! So when your call try to come in it will NOT reach you as you are in different address!!!. To resolve this issue you need to Set Your PC with a STATIC LOCAL IP Address. And in some routers. You need to also go and allow that to happen.

Waooo what a monospeach. Hope it helps

Last edited by enrique on Sun 29 Dec 2019, 15:41; edited 1 time in total
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 601
Location: Planet Earth

PostPosted: Sun 29 Dec 2019, 15:01    Post subject:  

This question was made on another thread [quote To prevent/stop Hijack I will respond it here. HowTo!!! Verify that your VPN is hooking you up correctly Then if we have to extend no one will be able to complain.

foxpup wrote:
@enrique very nice instructions for puppyphone with IP!!

enrique wrote:
Now you need to know the Port PuppyPhone is using:
Code:
netstat -peanut | grep psip

When I try this I get 2 ports, 5060 and 5061:
Code:
root# netstat -peanut | grep psip
tcp        0      0 0.0.0.0:5060            0.0.0.0:*               LISTEN      0          91578      29175/./psip64     
tcp        0      0 0.0.0.0:5061            0.0.0.0:*               LISTEN      0          91582      29175/./psip64     
udp        0      0 0.0.0.0:5060            0.0.0.0:*                           0          91575      29175/./psip64
Any idea what this means?
I don't use VPN.


See below for my answer
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 601
Location: Planet Earth

PostPosted: Sun 29 Dec 2019, 15:18    Post subject:  

I run in BusterDog64.

I believe I downloaded http://smokey01.com/software/internet/psip-1.42-x86_64.pet And transform the pet into a debian deb package.

After executing PSIP I get
Code:
root@live:~# netstat -peanut
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name             
tcp        0      0 0.0.0.0:5060            0.0.0.0:*               LISTEN      0          23514      3853/psip                     
udp        0      0 0.0.0.0:5060            0.0.0.0:*                           0          23511      3853/psip



If I make a call I see
Code:
root@live:~# netstat -peanut
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name             
tcp        0      0 0.0.0.0:5060            0.0.0.0:*               LISTEN      0          23514      3853/psip           
tcp        0      0 192.168.45.235:60791    192.168.45.235:5060     ESTABLISHED 0          32406      3853/psip           
tcp        0      0 192.168.45.235:5060     192.168.45.235:60791    ESTABLISHED 0          33315      3853/psip                   
udp        0      0 0.0.0.0:4000            0.0.0.0:*                           0          32407      3853/psip           
udp        0      0 0.0.0.0:4001            0.0.0.0:*                           0          32408      3853/psip           
udp        0      0 0.0.0.0:5060            0.0.0.0:*                           0          23511      3853/psip 


After I Hung the Call
Code:
root@live:~# netstat -peanut
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name             
tcp        0      0 0.0.0.0:5060            0.0.0.0:*               LISTEN      0          23514      3853/psip           
tcp        0      0 192.168.45.235:60791    192.168.45.235:5060     TIME_WAIT   0          0          -                           
udp        0      0 0.0.0.0:5060            0.0.0.0:*                           0          23511      3853/psip



After waiting a while I see
Code:
netstat -peanut
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name         
tcp        0      0 0.0.0.0:5060            0.0.0.0:*               LISTEN      0          23514      3853/psip             
udp        0      0 0.0.0.0:5060            0.0.0.0:*                           0          23511      3853/psip 


MY executable is
Code:
root@live:~# file /usr/bin/psip
/usr/bin/psip: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, stripped


This is the about
Code:
PSIP 1.42
PSIP - Puppy SIP Phone
A simple GTK GUI for PJSIP

(psip-2018-12-05.tar.bz2)
(Built with pjsip 2.4 and osxcart 1.2.0)
(Built in Fatdog-800b.iso)
Copyright © James Budiono 2011, 2015, 2018


Now as you see the initial port use is 5060. I guess used to contact SIP Provider. But once I make a call a few other pids get used on Listening by PSIP 4000, 4001. I do not its purpose. Then 1 more are generated 60791. I assume this last one us use for the Forward and Return voice channels.

IN Spanish we say "El que busca encuentra". "If you search, you will find". Yes we can speculate as to what this 5061 pid is used. I can not tell you as I have not inspect the source code.

1rst try again. Turn Poweroff of PC and reboot. Do netstat. Then Call the program, do netstat. Then generate a call. Do netstat. One more after hangup and some time latter.

Then lets us now what you see, with the version and where you got pet.

Finally If it bather you. Go ahead and download the one I did use and test that one too for comparison.

Last edited by enrique on Sun 29 Dec 2019, 15:35; edited 1 time in total
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 601
Location: Planet Earth

PostPosted: Sun 29 Dec 2019, 15:29    Post subject:  

Let me clarify one more time about opening the port 5060. 1rst I am new to puppy and to PuppyPhone. I can only guess how it works. I may be wrong in my assumptions. If I am correct then then this is how it works.

You can use the PSIP in two ways.

1) Thru an SIP operator. For example iptel.org. If you call your buddies this way you should not need to open any ports. You only need to call PSIP and your firewall & home router should allow the call go thru.

2) The original question was how is done using our public ip. In this method we do not use a SIP operator. So chances are that you may need then to open an inbound port from internet to your PC. This means setting your router and PC to forward that port 5060 from router to your PC. This will then allow and incoming call to arrive at your PC.


I hope not to be wrong and to clarify your questions. But maybe we can find a dedicated thread in this forum with the correct answer.
Back to top
View user's profile Send private message 
foxpup

Joined: 29 Jul 2016
Posts: 1141

PostPosted: Mon 30 Dec 2019, 15:48    Post subject: 2 ports listening  

Hello @enrique, thank you for taking the time for such a detailed answer.
enrique wrote:
I run in BusterDog64.

I believe I downloaded http://smokey01.com/software/internet/psip-1.42-x86_64.pet
I run mainly Bionicpup64 or dPupStretch 32bit (from radky).
I went to the repo of Smokey01 and dowloaded the proper pets for this to pups.
I found that the 64bit pet you use in BusterDog64 behaves the same in Bionicpup64: only port 5060 is listening.
The 32bit pet from the same repo (in dPupStretch and in Slacko6.9.9.9 from norgo) behaves as I have reported: both ports 5060 and 5061 are listening.

I intend to report this in the psip thread.
Back to top
View user's profile Send private message 
foxpup

Joined: 29 Jul 2016
Posts: 1141

PostPosted: Mon 30 Dec 2019, 16:27    Post subject: 3rd way for psip  

enrique wrote:
You can use the PSIP in two ways.
I would say there is a third way.
Smokey has explained in the PuppyLinuxNewsletters from august 2018 and january 2019.
He calls it a psip VPN. It works with n2n/edge.
Instead of a SIP operator you use a provider of a supernode to make the connection,
which is (probably) more reliable.
Additional advantage is that your 'coordinates' do not change, as can happen to your IP.
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 601
Location: Planet Earth

PostPosted: Mon 30 Dec 2019, 18:14    Post subject: Re: 3rd way for psip  

I love to learn. What is the link for those PuppyLinuxNewsletters? Thanks
Back to top
View user's profile Send private message 
foxpup

Joined: 29 Jul 2016
Posts: 1141

PostPosted: Tue 31 Dec 2019, 05:04    Post subject: Re: 3rd way for psip  

enrique wrote:
I love to learn. What is the link for those PuppyLinuxNewsletters? Thanks
Look on Smokey's website: http://smokey01.com/ Smile

By the way. I have CsipSimple on a small android tablet.
CsipSimple is EOL for a few years now and it is not on Google Play any more.
It still works fine for me though.
I'm sure you could still find it on other apk providers.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [24 Posts]   Goto page: 1, 2 Next
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

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
[ Time: 0.5544s ][ Queries: 12 (0.3979s) ][ GZIP on ]