Page 29 of 29

Posted: Wed 03 Sep 2014, 05:52
by watchdog
My internet provider uses NAT. Using psip32 I have to set the public ip in /root/.psip.conf (I also use stunserver.org). Read your public ip at:

http://www.indirizzo-ip.com/whois.php

Say it is xx.yy.zz.kk. Put in /root/.psip.conf the following line before stunserver:

Code: Select all

"public-ip":	"xx.yy.zz.kk",

Posted: Wed 03 Sep 2014, 16:51
by zandarian
Thanks, OscarTalks and watchdog.

I've done all that you have proposed but the STUN server setting but I still have no audio in PSIP. I do have audio in Puppy Linux: I can play songs and record with the mic. But no sound at all in PSIP.

But it's not very important because I don't need VoIP. I was just testing it. And if I need VoIP I can use Ekiga (with sound OK) in other Linux distros.

Posted: Thu 04 Sep 2014, 08:12
by smokey01
Zandarian try fiddling with the sound settings in Psip aka Puppy Phone.
There are usually a number of choices.

Posted: Fri 05 Sep 2014, 05:11
by zandarian
Thanks, smokey01

I did it, with no success.

But doesn't matter.

Regards

December solstice

Posted: Tue 16 Dec 2014, 11:24
by dogle
Bump .....

Season of goodwill and all that ..... technology permitting, I propose a meet in the Conference Room to celebrate the solstice, exchange Saturnalian greetings, and whatever.

http://www.timeanddate.com/worldclock/f ... ice%202014

This timing should give those in the Americas a more convenient chance to join in than was the case in our early 'official' conferences ... and perhaps rekindle some well-deserved interest in PuppyPhone.

Posted: Sun 02 Apr 2017, 09:20
by peebee

Posted: Mon 03 Apr 2017, 07:33
by smokey01
Although this topic has been very quiet for some time now, Psip has been upgraded to version 1.41. This version allows multiple configurations.

Read about it in the April 2017 Puppy Linux Newsletter. Link to the newsletter is on my signature below this post.

Posted: Mon 03 Apr 2017, 12:42
by OscarTalks
In the source file psip.glade - line 319
I find that increasing the default height to at least 370 allows the "Remove" button to appear nicely in the vertical column in the main GUI rather than appearing as an arrow with the button popping out on the right. I usually give it a little bit more, 400 or so, just to allow some breathing space.

PSIP 1.41 (0c3150ce6d) builds without problems in Wheezy. I used pjproject-1.14.2 and osxcart-1.1

However I did try compiling in Stretch and it gave an error.
My Stretch is now remastered to some degree including a recompile of glib and it is a highly experimental WoofCE build in the first place.
I wonder if anyone has been able to compile PSIP in Stretch?

Code: Select all

psip.c: In function ‘on_record_call_toggled’:
psip.c:1055:4: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
    if (psip_state->is_recording)
    ^~
psip.c:1057:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
     notify_all_active_calls(g_strdup_printf("NOTICE: %s has started recording the conversation.",gtk_entry_get_text(psip_state->account_sip_url_field)));
     ^~~~~~~~~~~~~~~~~~~~~~~
psip.c: In function ‘setup_window_icon’:
psip.c:1309:2: warning: ‘gdk_pixbuf_new_from_inline’ is deprecated [-Wdeprecated-declarations]
  app_icon = gdk_pixbuf_new_from_inline (-1, psip_icon, FALSE, NULL);
  ^~~~~~~~
In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34:0,
                 from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37,
                 from /usr/include/gtk-2.0/gdk/gdkcairo.h:28,
                 from /usr/include/gtk-2.0/gdk/gdk.h:33,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from /usr/include/osxcart/osxcart/rtf.h:20,
                 from psip.c:15:
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:355:12: note: declared here
 GdkPixbuf* gdk_pixbuf_new_from_inline (gint          data_length,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~
psip.c: In function ‘main’:
psip.c:1332:2: warning: ‘g_thread_init’ is deprecated [-Wdeprecated-declarations]
  g_thread_init(NULL);
  ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:107:0,
                 from /usr/include/osxcart/osxcart/rtf.h:19,
                 from psip.c:15:
/usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here
 void     g_thread_init                   (gpointer vtable);
          ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
<builtin>: recipe for target 'psip.o' failed
make: *** [psip.o] Error 1
# 

Posted: Mon 03 Apr 2017, 19:10
by CatDude
Hello Oscar
Error Message wrote:cc1: all warnings being treated as errors
I've seen that error message before mate.

Try changing line 17 of the psip Makefile
from this:

Code: Select all

CFLAGS  := -g -O0 -Wall -Werror \
	   -Wno-error=deprecated-declarations -Werror=implicit-function-declaration \
	   -Werror=implicit-int $(GTK_CFLAGS) $(PJPROJECT_CFLAGS) $(OSXCART_CFLAGS) $(CFLAGS)
to this:

Code: Select all

CFLAGS  := -g -O0 -Wall -Wno-error=deprecated-declarations -Werror=implicit-function-declaration \
	   -Werror=implicit-int $(GTK_CFLAGS) $(PJPROJECT_CFLAGS) $(OSXCART_CFLAGS) $(CFLAGS)
Then try building it again.

Hope this helps
CatDude
.

Posted: Mon 03 Apr 2017, 21:51
by OscarTalks
Hello CatDude,

Thanks for the advice. With the modification to the Makefile it does build to completion. There are some warnings along the way including the one near the top which showed as an error before. I don't get those in the earlier Puppies but I do have a binary which is the main thing. Running it from terminal produces a lot of chatter but again that is not necessarily anything to be concerned about.

I found I had to increase the width of the main gui as well as the height and also I increased the height of the call window to unsquash a couple of buttons, line 3321 of psip.glade

I still have your script which kills it if hung or running else starts it and I have included PSIP-1.41 into my Stretch remaster with my menu entry calling the script. I will conduct some tests with it over time. Thanks again.

Posted: Mon 18 Jun 2018, 19:05
by foxpup
OscarTalks wrote:My Stretch is now remastered to some degree including a recompile of glib and it is a highly experimental WoofCE build in the first place.
...
I have included PSIP-1.41 into my Stretch remaster with my menu entry calling the script. I will conduct some tests with it over time.
Thanks Oscar. I don't think your build looks highly experimental now, it is probably the best Puppy around now.
Anyway, I tried your PSIP Puppy Phone 1.41. It is my first try at sip and it works! :D
I use a sip account on iptel.org. I want to mention that I do need the STUN server stun.iptel.org.
I read in the help file that iptel.org does not need it. So that is wrong in my case. I am behind a NAT at home.