Puppy Phone - VOIP using SIP

Under development: PCMCIA, wireless, etc.
Message
Author
watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#561 Post 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",

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

#562 Post 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.

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

#563 Post by smokey01 »

Zandarian try fiddling with the sound settings in Psip aka Puppy Phone.
There are usually a number of choices.

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

#564 Post by zandarian »

Thanks, smokey01

I did it, with no success.

But doesn't matter.

Regards

dogle
Posts: 409
Joined: Thu 11 Oct 2007, 12:41

December solstice

#565 Post 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.

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#566 Post by peebee »

ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

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

#567 Post 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.

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#568 Post 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
# 
Attachments
psip-1.41.jpg
PSIP 1.41 compiles and works in Wheezy
(96.23 KiB) Downloaded 356 times
Oscar in England
Image

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#569 Post 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
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#570 Post 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.
Oscar in England
Image

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#571 Post 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.

Post Reply