Page 1 of 16

PSip - Puppy SIP

Posted: Sun 06 Jul 2008, 17:18
by Lobster
Image

This is the .pet of our Softphone package for Puppy Dingo
It may also work with earlier versions of Puppy
Check further on for latest release (currently at 0.9.12)
PSIP included in Puppy 4.1

Latest Info:
latest version
http://www.tmxxine.com/sip/psip-0.12.pet

wiki
http://www.puppylinux.org/wiki/applicat ... -pets/psip

developers thread
http://www.murga-linux.com/puppy/viewto ... 813#206813



The .pet install all files into
/usr/local/psip

and when you restart JWM a

Menu / Internet / Psip VOIP + IM client
entry is created

How do you get started? - check wiki for latest info

You will need to have a Gizmo account or SIP details
https://signup.sipphone.com/new-users/a ... proc=start

Click on configure / Edit Account from main menu

Change 'Your Sip URL:'
eg. sip:charnisingh@proxy01.sipphone.com

and 'Username' to for example
charnisingh

add your gizmo password
other settings stay the same

then click on [OK]

Posted: Sun 06 Jul 2008, 19:29
by Evil20071
Where do you get a gizmo account to use for this? Or other SIP account?

Scratch that.

I went to sipphone.com and got it set up. :D

Posted: Sun 06 Jul 2008, 19:43
by Lobster
One way is to register a phone - see first post in this thread
another is to install gizmo - this is the smallest
William Mcewan Gizmo Mini
then you will be provided with the details when you register
(they are in one of the menus)
http://tmxxine.com/wik/wikka.php?wakka= ... xxineGizmo

Will Davies (HairyWill) has also compiled pjsip (our open source PSIP base code) for windows
Maybe there is a ready made windows program we can phone across to?

Posted: Sun 06 Jul 2008, 20:11
by HairyWill
Lobster wrote:Maybe there is a ready made windows program we can phone across to?
pjsua works fine with the windows version of gizmo. I haven't tested the latest version of psip with WinGizmo.

Posted: Sun 06 Jul 2008, 20:49
by Evil20071
Or do like I did.

https://signup.sipphone.com/new-users/a ... proc=start

Just register with them there. You don't have to install anything but the PSIP program. It registers you as if you've already got your SIP hardware or Softphone, which is exactly what PSIP is! This prevents the need for Gizmo installations.

Posted: Sun 06 Jul 2008, 21:01
by HairyWill
excellent, that needs to go into the help.
Sip phone for puppy in under 600K.
Can anyone see what the performance is like on dial up.
How low can we go for cpu use I get up 20% on my 1200MHz with the default quality setting of 6.

Posted: Sun 06 Jul 2008, 21:56
by Evil20071
Cool, I'm glad I could contribute. If I find anything else, I'll let you know. Could you link me to the SIP listings page? I forgot where it was.

Posted: Mon 07 Jul 2008, 01:20
by Lobster
Evil20071 wrote:Could you link me to the SIP listings page?
this page?
http://tmxxine.com/wik/wikka.php?wakka=PSIP

your info and basis of help file here
http://tmxxine.com/wik/wikka.php?wakka=PuppySip

Posted: Mon 07 Jul 2008, 02:53
by HairyWill
here are some comments from smokey01 and my replies in case anyone else has an opinion

> The icons look great. They need to be resized to 80x80 then they will
> align with the buttons.
>
yes it does look wonky at the moment also the icons are not self explanatory
alternatively, the numbers need resizing ;) they seem to take up a lot
of space for something that is not used that often

> The pet file did not install properly, not sure why yet. I had to do it
> manually.
>
not sure why this is, I've installed the pet several times without a problem
I created the pet in the same way that I usually do

> The buddy change status popup seems very slow, displays minutes after
> actually being online.

this seems like an old problem, what do you get for
find . -name "pjsua-i686*" -exec md5sum {} \;

> The chat window looks good and seems to work well now. I think both
> windows need to shut at the same time but not a big deal.

what if you are doing chat with more than one person and just want to close one

> It would be nice if the data entry window held focus. Each time you
> press send you need to click back in the data entry window. It would
> also be nice if you could press [enter] to send rather than having to
> click on the send button.

limitations of gtkdialog, I find TAB, ENTER, SHIFT-TAB fairly quick

PSip 9.8

Posted: Mon 07 Jul 2008, 04:26
by charnisingh
Hi,

please have a look at PSip after change of icon size to 80x80.

Posted: Mon 07 Jul 2008, 06:57
by Lobster
Dialpad icons removed :)
Image

a further set of main icons is being designed by rastapix - we may use both
or just one set - will have to see what he comes up with . . .

so alignment (Will may add text at the base) for the next release
is not an issue as yet

Posted: Mon 07 Jul 2008, 08:37
by HairyWill
Lobster has been having problems with recent versions of psip dropping his calls after a few minutes, here are some comments I emailed to him.
me wrote:> A lot of the issues started with the new pjsip code
> Is there any mileage in compiling the old pjsip with the same parameters?

I've changed one line in the entire source to flush the debug output. My version will definitely use more cpu and io. I don't know exactly how the interface to a named pipe behaves, it is possible that if the consumer (pjsua-output-reader) doesn't read fast enough then there could be a buffer overflow or the emitter (pjsua) could block in some way. Without the flush then events such as IM, buddy status change and incoming call notification (to popup the window) can take minutes to be recognised. You can probably test if this is the problem by starting a call, opening the buddy status window and then hitting refresh lots of times. If the the pipe buffer is the problem then this should cause the call to crash. Your CPU speed may be an issue, turning down the call quality in the cfg file might help.

After a hung call you could tar up the entire of /tmp/psip and I'm happy to have a look. It will contain all the contents of any chat messages since you last rebooted but will not have your password.
I spent way too much time working on psip last week and don't intend on doing anything further with it in the short term except fixing any reported problems (hopefully the changes for these will be minor).

If anyone else wants to modify it and release another version then feel free, I'm certainly not going to be offended, it would be really helpful. In particular I'm not going to work on GUI arrangement, icons or the contents of the help.

One very minor bug fix:
Each new "Buddy Status Change" popup should kill all previous ones, to achieve this you need to modify /usr/local/psip/dialog_buddystatuschanged line 11

Code: Select all

for PID in $(ps -efw  | grep 'PSIP Buddy Status Changed' | grep -v 'grep' | cut -f 1-2 -d ' '); do
needs the field count in the cut command changed from 2 to 6 and should read

Code: Select all

for PID in $(ps -efw  | grep 'PSIP Buddy Status Changed' | grep -v 'grep' | cut -f 1-6 -d ' '); do
I think there may be a couple of other instances of this problem in other dialogs.
Make it so.

Posted: Mon 07 Jul 2008, 13:18
by Caneri
Hi All,

I wonder if the various screens can be arranged to open in a more logical arrangement?

Also a ringer sound would be great for incoming calls...alas I'm not a coder.

So far the 0.9.8 version is working quite well...thanks for all the work...loving this.

Best,
Eric

Posted: Mon 07 Jul 2008, 13:51
by HairyWill
Caneri wrote:Hi All,

I wonder if the various screens can be arranged to open in a more logical arrangement?
not whilst we are using gtkdialog
Caneri wrote: Also a ringer sound would be great for incoming calls...alas I'm not a coder.
would be nice
Caneri wrote: So far the 0.9.8 version is working quite well...thanks for all the work...loving this.
glad its working for you, lobster, smokey and I are having problems :(

As it seems to work OK for you could you tell me whether you use xorg or xvesa?

Posted: Mon 07 Jul 2008, 14:20
by Caneri
Hi Will,

I'm using xorg with dingo beta1. (I'll try other puplets soon) but I always use xorg.

I think the voice call with puppyluvr was more than 10 minutes...but maybe he can confirm the time...we didn't get cut off until we tried to go into conference calling....but it seems the limitation on time didn't affect us in the N American area but again maybe puppyluvr can confirm this.

I've tested most of the options and they seem to work as they should with 0.9.8 July 6 2008 version.

Best,
Eric

Posted: Mon 07 Jul 2008, 23:38
by Evil20071
That's kind of what I meant. There was once a forum thread that everyone was adding their sip id to, but I don't remember where it was at. That's more what I was looking for.

Everyone can add me to their buddy list:

sip:Evil20071@proxy01.sipphone.com

Posted: Tue 08 Jul 2008, 02:04
by Lobster
Latest version, new code paradigm, please update and test
http://tmxxine.com/sip/psip-0.9.9.pet

Posted: Tue 08 Jul 2008, 03:00
by puppyluvr
:D Hello
@ Downloaded the new one. Looks nice, will test asap.
Called my Wife ( on her Gizmo in Windows) and it worked fine.

@ Feature / Bug ??
The Buddy status notifications. Seems like a great feature, OK. But...earlier I went off and left psip running by accident, (sorry if I didnt answer LOL). When I returned, I had
like 100 notifications on my desktop!!!! Took a few minutes clicking to close them all..
Also, I occasionally get one that reads " D.11" but thats all???? Also, about half the time they dont say the status. Mine just say " Crusty_Lobster `s status is ?" ..ect...

@ Nice Buttons!!!!

Posted: Tue 08 Jul 2008, 04:00
by Lobster
Thanks Jay
I think we are very near to a breakthrough with PSIP

Yesterday HairyWill was very near to breakdown
- said his head was ready to explode . . .
I recommended a paper bag over the head to protect the wallpaper

More PSIP users required :)

Posted: Tue 08 Jul 2008, 16:45
by prit1
I downloaded the latest 0.9.9 and tested this out on a fresh frugal Puppy Dingo. I tried checking voice mail messages, it started one message and then went blank. After this, I tried calling Lobster (Jason) and there was no tone at all. Changing the availability status did not work either.Is this the same problem mentioned already?

Maybe I should try out 0.9.8 next to see if this works well. Saw Will's comment on Puppylinux.org that 0.9.8 is better than 0.9.9.