Puppy Phone - VOIP using SIP

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#101 Post by Lobster »

Caneri wrote: I have this problem with FatDog64 as well. The only way to stop the cpu maxing out is to close psip from the drop down box...(Phone > Quit and shutdown pjsua).

I had a "critical overheating" shutdown with Lupu...wow..scary stuff.

Eric
From jamesbond:
I've uploaded a 64-bit pjsua here:

website: http://mydrive.ch
userid: dotpet@puppyshare
password: puppylinux

(under fatdog64 folder).
replace this pjsua compile file (use the same name) to test
/usr/local/psip/pjsua_custom_03-0.9.0 :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#102 Post by Lobster »

Just heard from JamesBond
He got PSIP working in the newly released 64 bit Fatdog
with his 64 bit compiled pjsua - and the CPU usage was low

. . . that is good news 8)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

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

#103 Post by smokey01 »

Lobster wrote:Just heard from JamesBond
He got PSIP working in the newly released 64 bit Fatdog
with his 64 bit compiled pjsua - and the CPU usage was low

. . . that is good news 8)
I'm downloading fatdog64 atm.

I wonder what source code he used?

Something to talk about in about two hours.

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#104 Post by jamesbond »

I used 1.10 series from www.psjip.org.
To be exact, this: http://www.pjsip.org/release/1.10/pjpro ... 10.tar.bz2
EDIT: Grant, does your new PSIP gui requires gtkdialog4 (thunor's gtkdialog) or standard gtkdialog3?
EDIT: It's gtkdialog3 - should have peeked into the source before asking :D
EDIT: ah that's just the GUI - there is a ton other functions hidden somewhere ... where do I get those?
cheers!
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

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

#105 Post by smokey01 »

jamesbond wrote:I used 1.10 series from www.psjip.org.
To be exact, this: http://www.pjsip.org/release/1.10/pjpro ... 10.tar.bz2
EDIT: Grant, does your new PSIP gui requires gtkdialog4 (thunor's gtkdialog) or standard gtkdialog3?
EDIT: It's gtkdialog3 - should have peeked into the source before asking :D
EDIT: ah that's just the GUI - there is a ton other functions hidden somewhere ... where do I get those?
cheers!
jamesbond you are correct it's gtkdialog3.

All of the functions can be found in /usr/local/psip in most puppies from 4.3.1

The active pjsua.cfg file is in /root/.psip

Caneri
Posts: 1513
Joined: Tue 04 Sep 2007, 13:23
Location: Canada

#106 Post by Caneri »

The pjsua file from jamesbond works....the permissions need to be set to
rwx r-x r-x before it worked for me.

The pop up messages still no joy but the sip:music@iptel.org plays nicely and the cpu is good on Fatdog64-beta5. (1% cpu) hooray. Now to get the FD final!!

Now to get the gui setup....thanks All!!

Eric

PS @jamesbond,
This is as far as the gui will proceed with your new pjsua file. It's most likely a gui problem though. I can't see the buddy list or see incoming call alerts...THANKS!!
Attachments
64bit-pjsua-jamesbond.png
(30.98 KiB) Downloaded 818 times
[color=darkred][i]Be not afraid to grow slowly, only be afraid of standing still.[/i]
Chinese Proverb[/color]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#107 Post by 01micko »

jamesbond wrote:I used 1.10 series from www.psjip.org.
To be exact, this: http://www.pjsip.org/release/1.10/pjpro ... 10.tar.bz2
EDIT: Grant, does your new PSIP gui requires gtkdialog4 (thunor's gtkdialog) or standard gtkdialog3?
EDIT: It's gtkdialog3 - should have peeked into the source before asking :D
EDIT: ah that's just the GUI - there is a ton other functions hidden somewhere ... where do I get those?
cheers!
jamesbond.. any special configure options? (can you post them anyway?)

the gtkdialog version should make no difference.

Cheers :)
Puppy Linux Blog - contact me for access

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

#108 Post by smokey01 »

A very successful conference call was achieved on Psip with the following participants:

Lobster
Caneri
Dogle
Smokey01

Same time next week. Sunday 11 Sept @ 1300h GMT daylight savings time.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#109 Post by Lobster »

Thanks smokey01 for arranging

Smokey is now heading the project
(this being a do-acracy and he is currently making the improvements)
I will be working a on Quickstart guide
and the latest news on the wiki
http://puppylinux.org/wikka/Psippy

PSIP2 now works on Slacko, Lucid (derivative), 64bit
and maybe in Wary and your fav puplet too?

Conference calling and Iptel as our SIP number provider
is working out well

Eric is smoking and drinking Columbian coffee as his contribution (and testing)
Thanks to Dogle for turning up
Volume was a bit of an issue but we done it . . .

:)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#110 Post by Lobster »

I had envisioned PSIP2 as having a 'wizard button'
- see the enclosed picture . . .

Smokey is going for a 'configure' menu item
that will include the ability to record and playback (thus testing the mic)
that will have a 1. 2. 3. set of procedures

Once we have something, an offline helpfile (I'll do)
will allow people to set up and familiarise themselves
before using PSIP

Also the menu items will be simplified

Just to let you guys know the way things are heading :)
Attachments
info.jpg
(37.77 KiB) Downloaded 861 times
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#111 Post by jamesbond »

01micko wrote:jamesbond.. any special configure options? (can you post them anyway?)

the gtkdialog version should make no difference.

Cheers :)
Mick,
No magick here, just the bog standard --prefix /usr --libdir /usr/lib64 --sysconfdir /etc ... I presume with 32-bit compile you can even drop the libdir :D
BTW - since I'm new to this - where can I get a pet that contains all those functions in /usr/local/psip?
Lobster, sorry can't make the call last night, thanks for the invite though.

cheers!
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#112 Post by 01micko »

Thanks jamesbond.. I'll check it out.

http://distro.ibiblio.org/pub/linux/dis ... p-0.12.pet That's the pet currently in Slacko

Cheers
Puppy Linux Blog - contact me for access

User avatar
russoodle
Posts: 707
Joined: Fri 12 Sep 2008, 17:36
Location: Down-Under in South Oz

Great development!

#113 Post by russoodle »

This continued development of Psip is fantastic, guys....what a fine job you are all doing!

I would like to get on board in the near future.

I have no programming/coding skills but i could give feedback..
[i][color=Green][size=92]The mud-elephant, wading thru the sea, leaves no tracks..[/size][/color][/i]

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#114 Post by mcewanw »

It is a pity Skype doesn't use SIP since so many home computer users and businesses use Skype a great deal. I've been using Skype, on Wary, for that reason, along with Precord for recording conversations.

Nevertheless, I'd much prefer using an app based on pjsip (or the reference commandline app pjsua) to using the heavy weight proprietary Skype, so I'm certainly interested in the developments going on here in that direction. One of my daughters is heading off to university soon, so I'll try and encourage her to use a pjsip based app to keep in touch. Like the rest of my family, she uses Puppy Wary when at home, but her studies require some programs which only run on MS offerings. Nevertheless she would be able to use some MS windows pjsip-based clients. I note that there are several referred to here (as well as Puppy's Psip):

http://www.pjsip.org/apps.htm

For my own use, at least, if I end up using Psip itself, I'll probably simply add a button for accessing Precord (should it be installed) such as is done in 01micko's pupRadio/Telly.

Precord is currently set to use alsamixer for setting volume levels, since that is available in even quite old Puppy distributions, and I don't know if they had a script for "defaultaudiomixer". I could always modify that one line in Precord so that it uses defaultaudiomixer (which in Wary is retrovol) instead though, if anyone was interested in that.

As far as peer to peer NAT traversal is concerned, maybe you'll find something to help here:

http://www1.cs.columbia.edu/~salman/peer/

"The OpenVoIP project uses STUN, TURN, and ICE features in PJNATH for its NAT traversal"

The OpenVoIP project looks pretty complicated but the PJNATH library part seems to come from psip.org (as with pjsua)
Last edited by mcewanw on Mon 05 Sep 2011, 07:45, edited 1 time in total.
github mcewanw

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#115 Post by Lobster »

but i could give feedback
Very useful. :)
We will have another conference call next week.
Once you have a registered Sip address
add here.
http://puppylinux.org/wikka/Psippy
You could also do some research into
a small program that provides a webcam pic
which we might be able to send and receive as an option.
If you have a smart phone, try using that to contact a puppy user

Many ways to experiment . . .
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

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

#116 Post by smokey01 »

I have made the changes as discussed at the conference on Sunday.

Extract the three files from the attachment into /usr/local/psip

Lobster I think you are going to like the instructions under setup. I have updated this one to use defaulttexteditor when editing the config file.

I have also provided some notes within the instructions that will hopefully explain some unusual behavior.

Please give it some testing.

I do need some help with some of the Zombie behavior in some of the scripts.

Over the next few nights I might package it up and include lobsters modifications.

I will need to make some significant changes to the main help file. gcmartin are you reading this. :lol:
Attachments
Psip-0.25.tar.gz
Updated GUI and setup plus Instructions.
(25.17 KiB) Downloaded 357 times

Caneri
Posts: 1513
Joined: Tue 04 Sep 2007, 13:23
Location: Canada

#117 Post by Caneri »

Hi Grant,

The new file of yours looks good.

When I hit replay from the drop down box I can't get it to stop and needed to shutdown psip.

I have a working mic but I didn't hear my playback. It could be Fatdog as I still can't see buddies online or see incoming call pop up.

Cheers.

EDIT: oh bugger...I had my mic muted....sorry it does work with replaying my voice....still will not stop after using replay though.
[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:

#118 Post by smokey01 »

Caneri it should only play for ten seconds as that is the length of the recorded file, or is it recycling?

It is a very simple script. To record, it uses a little file called arecord. You can test it from the CLI by typing this:

Code: Select all

arecord -r 16000 test
You will need to press CTRL+C to stop recording. The recording can be set for specific times. I chose 10 seconds. Type

Code: Select all

arecord --help
for help.

To play back the file try:

Code: Select all

aplay test

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#119 Post by Lobster »

smokey01 wrote:It is a very simple script. To record, it uses a little file called arecord. You can test it from the CLI by typing this:

Code: Select all

arecord -r 16000 test
This is what I get in Slacko - do not know what it means?
Except not working . . . :?

Code: Select all

# arecord -r 16000 test
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
arecord: main:660: audio open error: Invalid argument
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#120 Post by 01micko »

Ed.. try deleting /root/.asoundrc (hidden file, actually, just rename it :wink: ) in Slacko.. then reboot.. then try to record, then let us know!!!
Puppy Linux Blog - contact me for access

Post Reply