Puppy Phone - VOIP using SIP

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

Puppy Phone - VOIP using SIP

#1 Post by Lobster »

Image

http://puppylinux.org/wikka/PuppyPhone
New interface and compile available
compiled 32bit and 64 bit NEW versions

Hi Guys,
I have not used PSIP for 3 years :oops:
We need to get the existing PSIP working in Slacko, Lucid etc
and then move to new serverless SIP feature of PJSUA
and then release PSIP2/PSIPPY end of Sept with Puppy 5.3 Final 'Slacko'

Can we do it? We can certainly try :)
Update: Reported working on Slacko,
Midnight Sun
http://www.murga-linux.com/puppy/viewto ... 517#538517
and Puppy 4.13
Last edited by Lobster on Mon 03 Oct 2011, 08:50, edited 6 times in total.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#2 Post by Flash »

Serverless SIP feature? Would that mean direct computer-to-computer connection over the internet?

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#3 Post by Lobster »

It may be possible . . .
http://www.murga-linux.com/puppy/viewto ... 336#548336

I have registered a new sip address with Ekiga
https://www.ekiga.net/

sip:crustylobster@ekiga.net

Now to get it running on something
Skype did not download from Iblio on Slacko . . .
Gonna try Android next,
still working on getting my mic working in Puppy . . .
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Caneri
Posts: 1513
Joined: Tue 04 Sep 2007, 13:23
Location: Canada

#4 Post by Caneri »

Hi Ed,

Ok...I'll bite.

sip:caneri@ekiga.net

I'll prolly regret posting this in public but what the 'ell.

I'm on FatDog64....I may need to load another iso/version....any ideas?

Eric

PS
@kirk,
Can a version of Ekiga's sip software be compiled for FD64?
[color=darkred][i]Be not afraid to grow slowly, only be afraid of standing still.[/i]
Chinese Proverb[/color]

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#5 Post by ttuuxxx »

let me know if you get it going without a server, I probably won't use it but I'll added it :)
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#6 Post by Lobster »

Thanks for the interest guys
This is what Smokey (Grant) wrote to the creator of pjsua
which is the 'engine' behind PSIP
> What I am trying to do now is make it a peer to peer voip application which
> apparently it can do, according to your documentation. I have managed to get
> it to recognise various IP addresses on a local network but not the IP
> addresses on the internet.
>
> For example my home network has three of four computers connected at any one
> time with IP addresses like 192.168.0 3 and 192.168.0.4 etc. It works fine
> between each of these addresses.
>
> My real or external address on the internet is something like 118.210.*.*
>
> Is there some way to make pjsua see these external ip addresses if they are
> online like the local network?
>
> Thanks
>
> Grant
and this is the reply
Hi Grant,

We do support various NAT traversal techniques, for example STUN, ICE,
and TURN. Have a look at these protocols (start with STUN) and then
how to use them with pjsua.

Best regards,
Benny
It sounds to me like 'geekity-geek-geek-geek'
If anyone with a bit of brain can help with translation or what we should be doing, that would be great (I only speak the lesser geek dialect)
Last edited by Lobster on Mon 29 Aug 2011, 23:20, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#7 Post by Lobster »

My progress so far:

I have got a SIP client on my Android phone
http://code.google.com/p/csipsimple/
and installed Slacko on an Eeepc
- this will be my test rig - initially I will try phoning myself

The beauty of the Woof system is if we upgrade PSIP to PSIPPY
( m m m maybe we should keep the original name - depends how much change we incorporate)
- anyway any upgrade will be available on future woof builds such as Spup (slacko) Dpup, Wary, Drake and so on.

Our first priority is seeing what we have
and getting it working . . .

Ideally we would be able to communicate across platforms
- so for example to SIP phones, Ipad, other distros, Windows
and so on . . .

Grant seems very amenable to Puppys phoning him - as soon as I am confident enough, that my mic and config is right,
then we might update the list of SIP powered Puppys that we had.
Is Google Talk a SIP system?

We should also have manuals and considerable documentation
that I will be looking for next.
Any working links?
Maybe a Youtube or Wink tutorial?

Just getting up to speed here . . . 8)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#8 Post by smokey01 »

I think the name Psip is still relevant.

Psip still works fine on Lucid. It just needs some tidying up.

It would be nice to get P2P working though.

It works fine within my network but I would like to be able to get it to work with NAT. Not having to use a sip server would be very cool especially if it could display who is online.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#9 Post by Flash »

Lobster wrote:
Hi Grant,

We do support various NAT traversal techniques, for example STUN, ICE,
and TURN. Have a look at these protocols (start with STUN) and then
how to use them with pjsua.

Best regards,
Benny
It sounds to me like 'geekity-geek-geek-geek'
If anyone with a bit of brain can help with translation or what we should be doing, that would be great (I only speak the lesser geek dialect)
Here's what I came up with by Googling 'NAT traversal STUN'
http://en.wikipedia.org/wiki/STUN
http://www.voiptraversal.com/
http://searchunifiedcommunications.tech ... -STUN-work
http://calthrup.blogspot.com/2009/02/st ... ersal.html

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#10 Post by smokey01 »

Excellent flash, but do you understand it, because I don't. I've done lots of reading but the penny won't drop.

I get the basic idea but how does one implement this in pjsua.

Have a look at the pjsua manual under the help menu in Psip.

Thanks

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#11 Post by Flash »

Understand it? I haven't even read much of it yet. :lol:
This page seems very instructive. It may also explain why some people have had problems with the forum logging them out after just a few minutes.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#12 Post by smokey01 »

Looks like a good article. I will have a good read of it later.

Thanks

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#13 Post by Lobster »

hi lobster nice to hear from you. Feel free to do whatever you want.
HairyWill aka Will has just confirmed that we can
change the code anyway we see fit.
He is busy being at leisure . . .

I am having difficulty getting my mic (always had problems)
working with precord-7.0.1.pet (as a test)
http://www.murga-linux.com/puppy/viewto ... 446#370446

The code for PSIP is in
/usr/local/psip/psip

I won't being making any modifications until
mic working
So for now, if any easy changes to broken links in the GUI etc
just give us the code file and we will add to our PSIP directory :)

We can stick with PSIP name as Smokey suggests
but use Psippy to refer to this initiative and any modifications/improvements/updates 8)

. . . now where is that USB headset . . . :roll:
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

gcmartin

#14 Post by gcmartin »

I have 2 questions which seem to be key for me
  • Why are we trying to change the name of PSIP. Why aren't we just calling it SIP? What up?
  • If you do NOT have a server, where is the registration going to come from for the caller to contact the callee?
SIP is a protocol that is kinda similar to Internet. It relies on some authority who know where things are so that connections can traverse for an end to end tunnel for 2-way audio-video traffic.

For example: has this been used on a local LAN to get one telephony to connect to another? For a client to client operation, this will help anyone understand what is happening at which point you will begin to see why there is an Asterisk (and others that exist).

I do not have the skills for programing a STUN or any other NAT traversal techniques for getting past your router into the iNet to support audio communication connection services. But, before I step that far, I would most certainly insure that I can pick up a telephone on my LAN and talk to some other LAN user to insure that much of the system you envision is operating with the clarity you want.

Trying to help with this posting by providing a starting point for a roadmap.to successful implementation.

If need, and there is some document which points me to doing this on the local LAN using the product your reference, please steer me so that I can get the 1st step for direct SIP to SIP communication going.

BTW aren't there some SIP to SIP or SIP to POTS implementations already available off-the-shelf?
Last edited by gcmartin on Sat 20 Aug 2011, 18:56, edited 1 time in total.

gcmartin

SIP registration and use on Puppy desktops.

#15 Post by gcmartin »

A starting point for this community is to have some one of us (@Lobster or @Smokey01 or etc) to add Puppy instructions here for the Ekiga client's use.
If there's some reason why we should NOT offer an update to that webpage, please share in this thread.

Also, please share why we are planning to go around using Ekiga after they have agreed to provide a free opportunity to users (meaning us)?

Thanks in advance

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#16 Post by smokey01 »

gcmartin wrote:I have 2 questions which seem to be key for me
  • Why are we trying to change the name of PSIP. Why aren't we just calling it SIP? What up?

    It seems the name will remain as Psip.
  • If you do NOT have a server, where is the registration going to come from for the caller to contact the callee?
I suggested we remain with Psip, it appears lobster has agreed.
gcmartin wrote: SIP is a protocol that is kinda similar to Internet. It relies on some authority who know where things are so that connections can traverse for an end to end tunnel for 2-way audio-video traffic.

For example: has this been used on a local LAN to get one telephony to connect to another? For a client to client operation, this will help anyone understand what is happening at which point you will begin to see why there is an Asterisk (and others that exist).
Apparently pjsua, the engine of Psip, is able to conduct peer to peer communications without a sip server. There are a number of people who would like this functionality including myself. I'm just having a few problems working out how to configure it. I understand if I was to put your IP address into my buddy's list I could see when you were online and I could call you. Of course this is more useful if you have a static IP address rather than dynamic one.
gcmartin wrote: I do not have the skills for programing a STUN or any other NAT traversal techniques for getting past your router into the iNet to support audio communication connection services. But, before I step that far, I would most certainly insure that I can pick up a telephone on my LAN and talk to some other LAN user to insure that much of the system you envision is operating with the clarity you want.
Neither do I yet but I'm working on it.

With the current Psip I am able to communicate between my current network on 192.168.0.* without a sip server.

For example: on computer A, with an IP of 192.168.0.3, I can communicate with computer B, with an IP address of 192.168.0.4. This works very well. What I am trying to do is communicate with someone outside of my local network in the same manner.
gcmartin wrote:
Trying to help with this posting by providing a starting point for a roadmap to successful implementation.

If need, and there is some document which points me to doing this on the local LAN using the product your reference, please steer me so that I can get the 1st step for direct SIP to SIP communication going.
The pjsua manual can be read from the existing Psip under the help menu item or here http://www.pjsip.org/pjsua.htm
gcmartin wrote: BTW aren't there some SIP to SIP or SIP to POTS implementations already available off-the-shelf?
Yes but they are all quite large. Psip is way under a Meg which fits better with the Puppy vision.

Psip sound quality is also brilliant. It's probably better than all of the rest I have tried.

It can also be used on dialup, try that with Skype.

Register an ekiga account here. https://www.ekiga.net/?page=register

Here is the list of changes that I am currently working on:
  • Tidy up the menu system
    Remove and update redundant links
    Include a username along with the sip address in the buddy list
    Include the text-chat in main dialog instead of floating windows
    Peer to Peer communications
I don't know what lobster has in mind as we have not spoken at length about it yet.

If I was really skillful I would like build the entire GUI into the C code of pjsua.

It would be nice just to have two files, the main and the config file.

I hope that answers your questions.

Regards smokey

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#17 Post by smokey01 »


gcmartin

#18 Post by gcmartin »

NAT traversal is done in your router. Contact your router vendor if you are unsure about how.

Hope this helps

gcmartin

#19 Post by gcmartin »

Could someone share a location of the steps to connect one user with another. Is this just audio or is it video as well.?
Can a single SIP user connect to a SIP telephone on the LAN?
Can a SIP user connect to a SIP device which can ring telephones in the home?
Can the SIP user connect to another SIP user via VPN?

The power of SIP is not how small it is...Its its functionality for audio communications to any/all SIP compliant devices. This is what attracts people to SIP clients....functionality! functionality!! functionality!!! and of course clarity.

One of is problems is that the specs has been TOO loose such that vendors would NOT create proprietary islands and platforms. That has been one of the major issues to date. The patents has stifled a lot of what was planned.

Thanks in advance
Last edited by gcmartin on Sun 21 Aug 2011, 17:50, edited 1 time in total.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#20 Post by Flash »

I don't understand why a router or NAT server doesn't seem to have the problems when I connect PSIP or another VOIP client to a server that it apparently has if I try to connect PSIP directly to another computer (with the NAT server or router between them.) If having a server between the two computers will make the NAT server or router happy, why not configure one of the servers that comes with Puppy to do the job, and then connect PSIP or whatever through it? I'm asking this in order to demonstrate that I am completely ignorant of anything to do with servers or VOIP. How hard can it be? :lol:

Post Reply