PSip - Puppy SIP

Browsers, email, chat, etc.
Message
Author
User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#211 Post by smokey01 »

zozu wrote:Try this:
--id sip:username@sip.jumblo.com
--registrar sip:sip.jumblo.com
--realm *
--username username
--password password
--reg-timeout 55

What is your sip address? (zozu@sip.jumblo.com)

Add me to your buddy list at smokey01@realsip.com

If you see me online, give me a call to test.

I tried but still the same. I added you to my buddy list, tried to call you and it said. 'Call has been disconnected. Temporarily unavailable.'
it said Call has been disconnected. Temporarily unavailable. That's because I had gone offline. I need to be logged into my sip server for you to see me.

The good thing about psip is you don't have to be logged into a server to use it. For example: if you have Psip running and I know your IP address I could add it as a buddy and call you direct.

The buddy address entry would be something like sip:192.168.0.6

This is really good if you have a static IP address, not dynamic as it continually changes each time you log on.

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

#212 Post by Flash »

smokey01 wrote:...The good thing about psip is you don't have to be logged into a server to use it. For example: if you have Psip running and I know your IP address I could add it as a buddy and call you direct.

The buddy address entry would be something like sip:192.168.0.6

This is really good if you have a static IP address, not dynamic as it continually changes each time you log on.
I've wanted to try that, emailing my DHCP-assigned IP address to my brother after I've booted my computer for the day.

It is my understanding that a "client" program running in Puppy, such as Psip, won't accept a connection it didn't initiate. If I understand correctly, that's what makes it necessary to log into the intermediate server. Will Psip, running in my computer, somehow get around that if I try to make a direct connection with my brother? Do we have to attempt to connect with each other at pretty much the exact same time (so that each one thinks it initiated the connection?)

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

#213 Post by smokey01 »

Flash, it suppose to be able to do it. I've been thinking about making a very simple P2P version but I am having a similar problem.

Here is the manual http://www.pjsip.org/pjsua.htm

In particular here http://www.pjsip.org/pjsua.htm#basic

I can make it work within my own network eg: 192.168.0.3 etc but how to make it work on the internet is the issue.

I know what my dynamic IP address is but how do I make it translate to my internal network address? This is the problem I'm having.

I guess NAT should be able to sort it but I'm not sure how to define it in the config file.

Maybe we can work together to sort it out.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#214 Post by technosaurus »

This is kinda an old thread, is psip still being maintained?
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

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

#215 Post by smokey01 »

technosaurus wrote:This is kinda an old thread, is psip still being maintained?
It hasn't been for some time but I am considering doing some work on it.

I would like to get it working as a proper peer 2 peer VOIP application without using a sip server. The engine, pjsua, says it can be done as described in the docs in my last post.

I might even rework the GUI but I might need some help.

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

#216 Post by Flash »

smokey01 wrote:...I can make it work within my own network eg: 192.168.0.3 etc but how to make it work on the internet is the issue.

I know what my dynamic IP address is but how do I make it translate to my internal network address? This is the problem I'm having.

I guess NAT should be able to sort it but I'm not sure how to define it in the config file...
All I can contribute are some general thoughts based on my understanding of how the internet transmission protocol works. :lol:
When you enter an IP address in a browser window and click "go", an IP packet is sent from your computer through your router to the server at the internet address you entered. Your router has to somehow keep track of where that packet originated in your network so it can forward the reply back to the originating program (the browser.) Ports come into it somewhere, but I think at the very end, after your computer has received the packet from the router. The same general description must apply for VOIP applications such as Psip.

I think VOIP uses a different protocol from TCP, called UDP. UDP is the same protocol used for streaming internet video. UDP is used because it does not require the destination to acknowledge receipt of each packet, saving time and wear and tear on the network. :) Some packets might never make it, but for many applications such as VOIP, that's okay; you just hear a bit of noise.

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#217 Post by Aitch »

Smokey

Try dynamicDNS - it allows a fixed IP Address of your dynamically assigned one

http://www.dyndns.com/services/dns/dyndns/

I found PSIP to be unreliable, from memory, I only ever made brief connections to Eric, HairyWill and Lobster, I think

I now use skype, but it uses huge resources for what it gets used for.... :(

Aitch :)

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

#218 Post by smokey01 »

Aitch I've just heard from Benny, the author, who has given me a couple of avenues to explore.

I'm surprised that Psip was unreliable for you as Will and myself spent many hours communicating with it while we were in development.

Anyway I will also investigate your suggestion.

Thanks

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

#219 Post by smokey01 »

Aitch maybe you should try a free sip account from https://www.ekiga.net/

Your account in Psip would look something like:

--id sip:Aitch@ekiga.net
--registrar sip:ekiga.net
--realm *
--username Aitch
--password xxxxxx
--reg-timeout 55

Let me know a suitable time and we could test.

I'm GMT +9.5 hours.

tide
Posts: 56
Joined: Fri 13 Aug 2010, 04:33

#220 Post by tide »

Could some kind soul please please tell me how to configure PSIP?
I signed up with sipgate.co.uk but after trying for hours, google, forumsearch etc. just can't get it to work!

Sipgate tells me that:

Code: Select all

SIP-ID: 	               134xxxx 
SIP password: 	9xxxx 
Status: 	                offline 
Nickname:  No name was set 	Edit 

Registry: 	sipgate.co.uk (Port: 5060) 
Proxy: 	sipgate.co.uk (Port: 5060) 
NTP: 	ntp.sipgate.net 

SIP password: 	9xxxx
:?

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

#221 Post by smokey01 »

tide, PM me a copy of your ./psip/pjsua.cfg file and I will have a look for you.

User avatar
WB7ODYFred
Posts: 169
Joined: Sun 14 Dec 2008, 02:15
Location: Oregon & Washington

tide, on page 14 I posted a copy of /root/psip/pjsua.cfg

#222 Post by WB7ODYFred »

Hello Tide, and others. I posted a working copy of my pjsua.cfg in a previous forum entry, May 9 2008 WB7ODYFred in this forum thread, Page 14.
I also posted testing ideas, that I used to figure out why PSIP died/Hung with no errors reported. Start PSIP from command line in RXVT terminal window.
http://murga-linux.com/puppy/viewtopic. ... &start=205

Here is Tides quoted entry from above.
SIP-ID: 134xxxx
SIP password: 9xxxx
Status: offline
Nickname: No name was set Edit

Registry: sipgate.co.uk (Port: 5060)
Proxy: sipgate.co.uk (Port: 5060)
NTP: ntp.sipgate.net

SIP password: 9xxxx
Tide edit your /root/.psip/pjsua.cfg with Gedit or Geany. This is what I think your file should look like. Then start pjsua from a RXVT terminal window to see what it reports back during startup. Copy paste the line below (after the '#" prompt) into a terminal window. maybe the version of pjsua is different on your version of PuppyLinux. Use what works for you. Mine was from 4.1.11 version of Puppy Linux.
# /usr/local/psip/pjsua_custom_03-0.9.0 --config-file /root/.psip/pjsua.cfg

Code: Select all

# Account 0: Example settings
# --id sip:yourname@proxy01.sipphone.com 
# --registrar=sip:proxy01.sipphone.com 
# --realm * 
# --username=yourname 
# --password=password 
# --reg-timeout=55 
# 
# Account 0: for user Tide
--id sip:134xxxx@sipgate.co.uk
--registrar=sip:sipgate.co.uk 
--realm * 
--username=134xxxx 
--password=9xxxx # get the password from your SIP line provider 
--reg-timeout=55 
#
#  Test call  Freds voice mail for fun.  or call Ekiga Echo Test at 500.
--add-buddy sip:fredfinster@sip7.vitelity.net 
--add-buddy sip:500@ekiga.net
 
Let us all know (Smokey01 and WB7ODYFred and other readers) if the above works for you.

If you need to use a stun server with sipgate you might uncomment the last line which I modified to reflect your SIP provider, ie sipgate.co.uk.
#I think this example might only work if you have a gizmo account
# --stun-srv=stun01.sipphone.com
# --stun-srv=sipgate.co.uk

second look at creating a free Ekiga.net account at http://www.ekiga.net you can the use PSIP with your free ekiga.net account settings and call SIP 500@ekiga.net and play with echo test to verify your microphone settings.
Gizmo (ie sipphone.com ) was bought out and no longer provides free SIP accounts. Ekiga.net does provide free sip accounts and you don't have to use their Ekiga software to make ekiga.net calls. So this seems like a replacement for sipphone.com where Puppy PSIP users can talk with each other. I also wanted to try using a ekiga chat room channel to have a round table discussion with a few other PuppyLinux users on PSIP or Ekiga sip phones. At a set UTC time we could call room number 5012345@ekiga.net and have several people chat on an issue. Like testing PSIP or hearing what would you like different in the simple user interface.

from this web page https://www.ekiga.net/index.php?page=services
Dial the sip:501xxxx@ekiga.net (where x = any digits from 0 to 9). These rooms are public or private, anyone can join a conference at any time if he chooses the right number or you can protect the access with a PIN number. The first person to enter a 'room' may specify a PIN by entering a number (followed by #) to limit access to the conference room, just entering # will make this conference room public. When the last person leaves a conference room, the PIN will be cancelled and others may use the 'room'

Fred Finster WB7ODYFred 8) Waiting for your forum comments and PSIP test results via VoIP messages
SIP:wb7odyfred@ekiga.net
SIP:fredfinster@sip7.vitelity.net

ps. Smokey01, thanks for keeping PSIP going and answering questions.
Last edited by WB7ODYFred on Fri 26 Aug 2011, 21:35, edited 2 times in total.

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

#223 Post by Caneri »

Hi All,

there is a thread here as well
http://www.murga-linux.com/puppy/viewtopic.php?t=70867


Here is my psip.cfg that is working on an older 409 puppy.
http://www.murga-linux.com/puppy/viewto ... 441#556441

It's important to have the last line empty in a psip.cfg.
(dunno why to date but it needs it)

Be Well,
Eric
[color=darkred][i]Be not afraid to grow slowly, only be afraid of standing still.[/i]
Chinese Proverb[/color]

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

#224 Post by smokey01 »

Hi Fred, long time no see.

Is Psip-0.12 working for you with the latest Puppies?

Have you tried replacing the updated psip-gui?
http://www.murga-linux.com/puppy/viewto ... 750#555750

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

#225 Post by Caneri »

I'm online now..I just saw smokey01 but he disappeared.
sip:caneri@iptel.org
[color=darkred][i]Be not afraid to grow slowly, only be afraid of standing still.[/i]
Chinese Proverb[/color]

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

#226 Post by smokey01 »

Try Skype

mama21mama

#227 Post by mama21mama »

fix

Code: Select all

psip32: ../src/pjsua-lib/pjsua_pres.c:557: pjsua_buddy_update_pres: La declaración `pjsua_buddy_is_valid(buddy_id)' no se cumple.
Abortado
PSIP v1.3

raname ~/.psip.conf ~/psip.conf

work :shock:

edit: work

before

Code: Select all

{
			"category":	"puppy",
			"buddies":	[{
					"nick":	"nilsonmorales",
					"address":	"nilsonmorales@iptel.org"
				}]
now

Code: Select all

{
			"category":	"puppy",
			"buddies":	[{
					"nick":	"nilsonmorales",
					"address":	"sip:nilsonmorales@iptel.org"
				}]

chapchap70
Posts: 210
Joined: Thu 18 Nov 2010, 05:39
Location: The Island Of Long (NY, USA)

3 little letters

#228 Post by chapchap70 »

Yep those 3 little letters make a bit of difference.

Another note: I had to redo my sip:iptel.org account that I registered on July 6th. I tried to see if this was working and found iptel had no record of my account. I have made videocalls with it using linphone in early September. I still have the email from my account setup so I know I was putting in the right username and password. I reregistered with the same handle and password.

I never made a call with PSIP but I got it to show that I was Logged In.

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

#229 Post by smokey01 »

Yes, you must always precede your address with sip: just like it's explained in the help document.

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

Cheers

zandarian
Posts: 117
Joined: Wed 14 Oct 2009, 21:10

#230 Post by zandarian »

Newer thread about this: http://www.murga-linux.com/puppy/viewtopic.php?t=70867

NB: With some routers Puppy Phone (and Ekiga) seems not to be usable, at least without doing special things. (http://www.murga-linux.com/puppy/viewto ... 418#796418)

Post Reply