Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 25 Jul 2017, 20:32
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Puppy Phone - VOIP using SIP
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 38 of 38 [570 Posts]   Goto page: Previous 1, 2, 3, ..., 36, 37, 38
Author Message
redandwhitestripes

Joined: 02 Jan 2009
Posts: 157

PostPosted: Thu 01 Aug 2013, 08:28    Post subject:  

Thanks again everyone, I'll look at the help file and get calling!
PSIP is an excellent example of what Puppy is all about: all the efficiency, all the features, none of the bloat.

EDIT: A few things that would be awesome to see at some point in the future:

a) A way to save and/or switch between SIP profiles. (For example, I'm registered with Mouthmun and Localphone)

b) A default, automatic firewall action each time PSIP starts

c) Compatibility with Pmusic for recorded calls. Right now I have to use GMplayer to playback calls.

Keep up the great work with this superb piece of software Very Happy
Back to top
View user's profile Send private message 
KentC


Joined: 16 Sep 2012
Posts: 60

PostPosted: Sat 30 Nov 2013, 11:56    Post subject:  

I'll have a look to see what I can setup with Psip. I want to actually setup a Brekeke Sip Server which I've been able to complete successfully. I'll post a tutorial how-to today for everyone. I would like to use such to route a call from a DID provider which I will attempt to make Psip work.

I'll keep posted on details.


Kent C.
Back to top
View user's profile Send private message 
zandarian

Joined: 14 Oct 2009
Posts: 117

PostPosted: Sun 24 Aug 2014, 18:26    Post subject:  

With some routers Puppy Phone (and Ekiga) seems not to be usable, at least without doing special things.

After reading http://wiki.ekiga.org/index.php/Manual#Using_Ekiga_with_routers_and_firewalls I read http://wiki.ekiga.org/index.php/Enable_port_forwarding_manually (to be forwarded: 5000 to 5100 UDP, ... ports) and I finished in a page like http://portforward.com/english/routers/port_forwarding/ZyXEL/Prestige782/Ekiga.htm:
Quote:
The router_brand router_model will not allow you to forward enough ports, to run Ekiga.

... and ...
Quote:
You should try using the DMZ portion of this router if it is available. Alternatively you can try switching the router to bridged mode. You will need to contact your ISP to switch to bridged mode, so they can make the required changed on their end.

I don't see DMZ option and I don't wan't to contact my ISP (I'm not so interested in VoIP now).

When the router allows to forward enough ports, for example with http://portforward.com/english/routers/port_forwarding/Cradlepoint/CTR-500/Ekiga.htm you can see graphically how to do it.
Back to top
View user's profile Send private message 
zandarian

Joined: 14 Oct 2009
Posts: 117

PostPosted: Tue 02 Sep 2014, 15:15    Post subject:  

(I use a Live USB with Slacko Puppy version 5.7. on a Toshiba Satellite laptop with a Speedtouch residential gateway -modem, router, ...-)

Finally, I can connect to my VoIP account unbinding the SIP ALG and the UDP 5060 port. This way:
Code:

telnet xxx.xxx.xxx.xxx
nat unbind application=SIP port=5060
config save
system reboot

Thanks to smokey01: http://murga-linux.com/puppy/viewtopic.php?p=796421#796421

I can call for example to the iptel.org utilities but I listen no sound at all (I've tried different Setup-Audio-Input/Output options). And if PuppyPhone is closed I can listen to my music files and record my voice via microphone (I've configured the audio channels running retrovol and alsamixer). But if PuppyPhone is running I cannot. I've used Ekiga in other Linux distro successfully, with the audio OK (without sound problems).
Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 1554
Location: London, England

PostPosted: Tue 02 Sep 2014, 17:10    Post subject:  

Use sip:music@iptel.org to test for incoming audio and then sip:echo@iptel.org (and speak into the microphone) to test if audio is working both ways. You will need to make sure you have the correct playback and capture settings in retrovol or alsamixer. Also you need to make sure you are using the correct device settings in PSIP Puppy Phone.

Sometimes problems of no audio or one-way audio can be resolved by setting a stun server.

If you are using a sip provider it is probably best not to set up any port forwarding in your router. The sip protocol (along with the stun server if needed) is supposed to handle the opening of all the correct ports to establish the call.

_________________
Oscar in England

Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1387
Location: Italy

PostPosted: Wed 03 Sep 2014, 01:52    Post subject:  

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:
"public-ip":   "xx.yy.zz.kk",
Back to top
View user's profile Send private message 
zandarian

Joined: 14 Oct 2009
Posts: 117

PostPosted: Wed 03 Sep 2014, 12:51    Post subject:  

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.
Back to top
View user's profile Send private message 
smokey01


Joined: 30 Dec 2006
Posts: 2578
Location: South Australia

PostPosted: Thu 04 Sep 2014, 04:12    Post subject:  

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

_________________
Software <-> Distros <-> Tips <-> Newsletters
Back to top
View user's profile Send private message Visit poster's website 
zandarian

Joined: 14 Oct 2009
Posts: 117

PostPosted: Fri 05 Sep 2014, 01:11    Post subject:  

Thanks, smokey01

I did it, with no success.

But doesn't matter.

Regards
Back to top
View user's profile Send private message 
dogle

Joined: 11 Oct 2007
Posts: 384

PostPosted: Tue 16 Dec 2014, 07:24    Post subject: December solstice  

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/fixedtime.html?iso=20141221T2303&msg=December%20Solstice%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.
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 2774
Location: Worcestershire, UK

PostPosted: Sun 02 Apr 2017, 05:20    Post subject:  

See:
http://murga-linux.com/puppy/viewtopic.php?p=949983#949983

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
smokey01


Joined: 30 Dec 2006
Posts: 2578
Location: South Australia

PostPosted: Mon 03 Apr 2017, 03:33    Post subject:  

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.

_________________
Software <-> Distros <-> Tips <-> Newsletters
Back to top
View user's profile Send private message Visit poster's website 
OscarTalks


Joined: 05 Feb 2012
Posts: 1554
Location: London, England

PostPosted: Mon 03 Apr 2017, 08:42    Post subject:  

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:
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
#
psip-1.41.jpg
 Description   PSIP 1.41 compiles and works in Wheezy
 Filesize   96.23 KB
 Viewed   180 Time(s)

psip-1.41.jpg


_________________
Oscar in England

Back to top
View user's profile Send private message 
CatDude


Joined: 03 Jan 2007
Posts: 1562
Location: UK

PostPosted: Mon 03 Apr 2017, 15:10    Post subject:  

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

_________________

Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 1554
Location: London, England

PostPosted: Mon 03 Apr 2017, 17:51    Post subject:  

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

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 38 of 38 [570 Posts]   Goto page: Previous 1, 2, 3, ..., 36, 37, 38
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1081s ][ Queries: 13 (0.0301s) ][ GZIP on ]