PSip - Puppy SIP

Browsers, email, chat, etc.
Message
Author
User avatar
WB7ODYFred
Posts: 169
Joined: Sun 14 Dec 2008, 02:15
Location: Oregon & Washington

Edit PSIP configuration file /root/.psip/pjsua.cfg file

#206 Post by WB7ODYFred »

  • # from file /root/.psip/pjsua.cfg
    #
    # All lines preceded with a "--" below is a valid config file command
    #
    # Logging options:
    #
    --log-file /tmp/psip/app-log
    #
    #
    # Network settings:
    #
    --local-port 5060
    # I think ice is important for maintaining routing information for those with dynamic internet ip addresses
    # ice seems to cause problems for may people
    # --use-ice
    #I think this might only work if you have a gizmo account
    # --stun-srv=stun01.sipphone.com
    #
    #
    # Media settings:
    #
    # using default --clock-rate 12000
    --quality 6
    # using default --ec-tail 200
    # using default --ilbc-mode 20
    --rtp-port 4000
    #
    # Some people have experienced problems with the speex codec
    # Uncomment the next three lines to fix
    # --dis-codec=speex/32000
    # --dis-codec=speex/16000
    # --dis-codec=speex/8000
    # --add-codec pcmu
    #
    # User agent:
    #
    # --max-calls 4
    --max-calls 2
    #
    #
    # Buddies: You need to establish an account with a sip provider before you can use this
    # --add-buddy=sip:yourname@proxy01.sipphone.com
    # --add-buddy=sip:yourname@realsip.com
    #
    # Account 0:
    # --id sip:yourname@proxy01.sipphone.com
    # --registrar=sip:proxy01.sipphone.com
    # --realm *
    # --username=yourname
    # --password=password
    # --reg-timeout=55
    #
    # Account 0:
    --id sip:fredfinster@sip7.vitelity.net
    --registrar=sip:sip7.vitelity.net
    --realm *
    --username=fredfinster
    --password=xxxxxx # get the password from your SIP line provider
    --reg-timeout=55
    #
    # Account 1: The "--next-account" line is required for each additional account
    # some where in the front or tail of the file you can hand edit add a buddy. or use PSIP button 'add buddy'
    --add-buddy sip:86@sip7.vitelity.net
    --add-buddy sip:13604031234@sip7.vitelity.net
    --add-buddy sip:15038511234@sip7.vitelity.net
    --add-buddy sip:15035917890@sip7.vitelity.net
    --add-buddy sip:15416725555@sip7.vitelity.net
    --add-buddy sip:fredfinster@sip7.vitelity.net
    --add-buddy sip:19712390140@sip7.vitelity.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2nd look about you can start the PSIP application from the command line in an open RSVT terminal. start ---> Utiltity ----> RXVT terminal

pwd /root
cd /usr/local/psip
pwd /usr/local/psip
ls -l pjs*
# execute the PSIP command manual to see what errors show up.

Code: Select all

./pjsua_custom_03-0.9.0  

or

# /usr/local/psip/pjsua_custom_03-0.9.0 --config-file /root/.psip/pjsua.cfg 
 15:22:43.887 os_core_unix.c pjlib 0.9.0-release for POSIX initialized 
 15:22:43.887 sip_endpoint.c Creating endpoint instance... 
 15:22:43.888          pjlib select() I/O Queue created (0xb7b6b098) 
 15:22:43.888 sip_endpoint.c Module "mod-msg-print" registered 
 15:22:43.888 sip_transport. Transport manager created. 
 15:22:43.914    pjsua_app.c Too many arguments specified in cmd line/config file 
#
#  Note, can not have more than 20 (twenty) --add-buddy lines in the pjsua.cfg file.
#
Hope this helps Kpfusr.

Testing from the command line, will help to see the hidden error messages
that get lost behind the GUI interface.

I did not setup a proxy or use STUN. I can dial out to regular telephones and when I have PSIP up and running people can call me, because I have a $35 account setup
with Vitelity, a SIP to PSTN provider.
http://www.vitelity.net


Give my SIP address a try for testing your SIP phone Kfpusr.
the telephone number will have to be something like sip:16785551212@xxx,sipphone.com Or whatever your SIP provider gives you.
Using the upper left hand call button.

kpfuser
Posts: 207
Joined: Sun 19 Mar 2006, 15:02
Location: Mt Pelion, Greece

#207 Post by kpfuser »

WB7ODYFred,

Thank you very much indeed for your reply! Please correct me if I am wrong, but I do not recall seeing the sort of info you posted in any PSIP or similar manual. Does this mean that the info is self-evident to the majority of newbies that try making calls using PSIP or that the manuals etc. leave a bit to be desired?

Anyway, before implementing your configuration, I would like to clarify something first. It follows from your info (as well as from other posts) that PSIP will probably behave better for a static ip address. But what kind of static ip address does this imply, a static ip address given to you by your ISP or an internal static ip address one can assign to his/her pc behind a router via the Puppy network setup wizard? If the former is the case, then I will have to live with the limitations of a dynamic ip address. If, however, the latter applies, it would be a simple matter to assign a static ip address to my computer each time I boot up.

zozu
Posts: 3
Joined: Fri 29 Jul 2011, 12:00

#208 Post by zozu »

I am new to Puppy, but I am getting amazed. I tried to configure PSIP 0.12 in lupu525 but I cannot get it work. I have a SIP account with a SIP provider, called jumblo. This is their SIP settings
http://www.jumblo.com/en/sipp.html
If I click to Configure/Edit Account to enter the detail for my SIP account, it does not work and I tried all combinations.r
The numpad stays greyed out and I cannot enter any number to call.
What do I do wrong?

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

#209 Post by smokey01 »

zozu wrote:I am new to Puppy, but I am getting amazed. I tried to configure PSIP 0.12 in lupu525 but I cannot get it work. I have a SIP account with a SIP provider, called jumblo. This is their SIP settings
http://www.jumblo.com/en/sipp.html
If I click to Configure/Edit Account to enter the detail for my SIP account, it does not work and I tried all combinations.r
The numpad stays greyed out and I cannot enter any number to call.
What do I do wrong?
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.

zozu
Posts: 3
Joined: Fri 29 Jul 2011, 12:00

#210 Post by zozu »

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.[/quote]

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.'

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]

Post Reply