Puppy Phone - VOIP using SIP

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#141 Post by smokey01 »

gcmartin wrote:
smokey01 wrote:I had a rethink of the little voice recorder I ...
Great! You may want to package this with PSIP. Further, you may also want to add a button/feature/menu on PSIP for running this clever utility.

I realize that this should be posted on the PSIP site instead of here. So, one may want to move this post there.

Thanks @Smokey01...Thanks.
It's already built in.

User avatar
WB7ODYFred
Posts: 169
Joined: Sun 14 Dec 2008, 02:15
Location: Oregon & Washington

PSIP2 Update Edit Account instrunctions from Sipphone to IPT

#142 Post by WB7ODYFred »

From a new 5.2.8 Lucid, I was starting Using PSIP 0.2 [thanks Lobster!!] I went to the configure "edit account" button, and saw notes/ links about sipphone website. These should be updated to refer to IPtel.org website and creating account webpage.

Great Job All for continuing updating PSIP. This is my tiny correction.
With a little more time, I would edit the GTK code it self and provide the change here.



Also Anyone look at website sipbroker.com. Maybe include a link on the wikka/psip2 wiki
http://www.sipbroker.com/sipbroker/acti ... WhitePages
Sipbroker, allows connections between different sip providers.
iptel.org is listed as *478
ekiga.net is listed as *673
sip.vitelity.net is listed as *7739
We might be able to make calls from one VoIP SIP to anther VoIP SIP provider. ie iptel to ekiga

Here in the USA, I use www.vitelity.net for my VoIP to Public Switched Telephone Network (PSTN) needs. Works great when using PSIP (puppy Sip or puppy sippy [ PSIP2]

Fred sip:wb7odyfred@ekiga.net

PS. I am glad to see the 13:00 GMT Sunday meeting conference call.
Will work at making my own wb7odyfred@iptel.org account.
Wondering if we can post a conference call phone number that works 24 hours a day for new users to meet and ask questions, although IRC chat (irc.freenode.org channel #puppylinux allows help to be given without distraction of audio interfering with your computing thoughts/work.
Attachments
PSIP2_update_Dialog_addaccount.png.png
Updated file dialog_addaccount with reference to iptel.
(24.3 KiB) Downloaded 1242 times
dialog_addaccount.tar.gz
mv /usr/local/psip/dialog_addaccount /usr/local/psip/dialog_addaccount_save
Xarchive extract file dialog_addaccount to /usr/local/psip. Check that you have the execute "x" permissions set.
Best wishes, and see if other items inside this
(1.24 KiB) Downloaded 411 times
PSIP2_GTK_Edit_Account_Msg.png
Edit Account function from PSIP 0.2 snapshot
Change notes from Sipphone to IPTel. Done in above file
/usr/local/psip/dialog_addaccount
(25.51 KiB) Downloaded 1138 times

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

#143 Post by dogle »

Whahey, good to hear from you Fred.
(CQ CQ CQ but I've not yet seen you flagged 'online' in PSIP 0.25 on IPTel or ekiga).

Hmm, IPtel implies that calls to/from ekiga are direct -
http://www.iptel.org/service
- anyone know whether the 'online' flag works across the two services?

The GUI numeric keypad doesn't seem to do anything for me - should it? (was it ever thus? - memory of 3 years ago is a bit vague).

Zombies - grrrrr - despite being well aware of the problem and intending to close PSIP/pjsua properly via the Phone menu, I still keep generating these by force of habit. This is a potential showstopper for those who are not aware .... I wonder, pending expert resolution of this issue, whether suppression of the GUI X-button might be do-able as a quick-n'-dirty fix?

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

Re: PSIP2 Update Edit Account instrunctions from Sipphone to IPT

#144 Post by smokey01 »

WB7ODYFred wrote:From a new 5.2.8 Lucid, I was starting Using PSIP 0.2 [thanks Lobster!!] I went to the configure "edit account" button, and saw notes/ links about sipphone website. These should be updated to refer to IPtel.org website and creating account webpage.
Fred good to see you back. I have already done this, look on page 8 for psip-gui-0.25.
WB7ODYFred wrote:Here in the USA, I use www.vitelity.net for my VoIP to Public Switched Telephone Network (PSTN) needs. Works great when using PSIP (puppy Sip or puppy sippy [ PSIP2]

Fred sip:wb7odyfred@ekiga.net

PS. I am glad to see the 13:00 GMT Sunday meeting conference call.
Will work at making my own wb7odyfred@iptel.org account.
Wondering if we can post a conference call phone number that works 24 hours a day for new users to meet and ask questions, although IRC chat (irc.freenode.org channel #puppylinux allows help to be given without distraction of audio interfering with your computing thoughts/work.
I have also created a #Psip chat room at Freenode.

I have also recompiled pjsua 1.10, the Psip engine, in 32 bit. It seems to work ok from the CLI but I am having problems making it interface properly with the current GUI.

For those of you who are using PJSUA from the CLI and can't see other online, this is what you do.

First you need to make sure PJSUA is using your pjsua.cfg file with the account details.

Code: Select all

./pjsua --config-file ./psip/pjsua.cfg
Now when pjsua is running type

Code: Select all

s [enter] -1 [enter]
Now when you press m to make a call, you will see who is online.

I rather like driving pjsua from the CLI it is quite easy.

If you want to try the new pjsua with gui, I will attach it here but you will need to rename it to pjsua_custom_03-0.9.0 to work with the current psip GUI.

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

#145 Post by smokey01 »

dogle wrote: The GUI numeric keypad doesn't seem to do anything for me - should it? (was it ever thus? - memory of 3 years ago is a bit vague).
dogle the keypad works fine here and always has. For example when you check your voice mail at IPTel you are asked to press 1 to listed to messages etc, does it not work?
dogle wrote:Zombies - grrrrr - despite being well aware of the problem and intending to close PSIP/pjsua properly via the Phone menu, I still keep generating these by force of habit. This is a potential showstopper for those who are not aware .... I wonder, pending expert resolution of this issue, whether suppression of the GUI X-button might be do-able as a quick-n'-dirty fix?
I am looking at this. I almost have it working but I could do with some help from a good coder. I can actually turn off the little X in the window, to force a proper shutdown, but it introduces other problems.

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

#146 Post by Caneri »

Conference call happening NOW.

GMT-5 for me...room 528
[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:

svr-1.1

#147 Post by smokey01 »

I have updated the simple voice recorder to ver 1.1.

All I added was some tool tips which provides some very basic help.

When your mouse hovers over the buttons it now tells you what they do. Done especially for caneri, however I learned another command. Thanks Zigbert.

pemesu suggested I could delete the .wav file after the .mp3 file was created. I originally did this however aplay can't play .mp3 files and I didn't want to call additional apps.

Enjoy
Attachments
svr-1.1.pet
Simple Voice Recorder with tool tips
(39.93 KiB) Downloaded 506 times

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

#148 Post by smokey01 »

More noobyproofing.

I have added tool tips to some of the buttons in Psip.

This will make it easier for first timers to understand what the buttons actually do.

Extract to /usr/local/psip
Attachments
Psip-0.26.tar.gz
Minor update.
(2.64 KiB) Downloaded 372 times

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

#149 Post by Lobster »

Maybe include a link on the wikka/psip2 wiki
OK done that 8)

Reminder:
Next conference call on Sunday 11th September 2011 at 1300h GMT daylight saving time

New recorder works well. Listened to all voice messages. Thanks guys.

Been looking at the new video tag in HTML5
However none of the tutorial examples work. Que?
The standard seems to be non standard.
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:

Psip

#150 Post by smokey01 »

I have petted up Psip after making quite a few changes.

I have removed those pesky call disconnected messages. We were always going to do that but it was handy for testing and we just never got around to it.

The first time you run Psip from a fresh install, Psip will present you with the account dialog. If you already have a SIP account you can enter the information right then and there.

Another function I have changed is the password field in the above dialog. It's all very nice having a password field that displays ***** instead of letter and numbers but you never know if you've made a mistake. You only ever type your password in when you enter a new account and that probably won't be too often.

The other reason I have made the change is there is some different behaviour with Thunar's dialog script changes. I'm sure he has made it better and I love the work he is doing but it does break a few commands in Psip. The password box is one and the other is gxmessage dialogs. Gxmessage no longer has scroll bars when the text is too big for the window. I fixed the problem by making the window larger so all of the text for setup instructions can be seen in the window, I hope.

Installation:

If you have a distro without Psip, simply click on the psip-0.26.pet file and install it as normal.

For people who are worried about breaking a working setup I suggest you test it on a live CD/DVD first and install as above.

For the rest of us brave dudes, simply delete the following:

/usr/local/psip (the entire directory)
/usr/sbin/psip (single file)

There is another directory at /root/.psip (hidden directory) which contains your pjsua.cfg file and PSIP_chatlog. I would recommend you leave this directory alone as it will already have your account details and buddy list. If you really do want to start afresh, delete it, however you will have to replace some information. No big deal really.

I think that's about it.

Let me know if it's good for you too. :lol:

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#151 Post by Sylvander »

1. I uninstalled ALL of the psip already existing in my Lupu-526, and installed the new version using psip-0.26.pet.

2. I then noticed the [empty] folder /.psip right at the top of the folder hierarchy. :(
I don't like it at the top; I want my /00 folder there.
Anything I [or you] can do about that?

3. When I run the command psip in a terminal, it reports:
# psip
# /usr/sbin/psip: line 3: ./psip: No such file or directory


4. /usr/local/psip is empty also.

5. /usr/sbin/psip is 42 bytes.
Attachments
00.jpg
(14.69 KiB) Downloaded 638 times
Last edited by Sylvander on Sat 10 Sep 2011, 12:40, edited 1 time in total.

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

#152 Post by smokey01 »

Sylvander wrote:1. I uninstalled ALL of the psip already existing in my Lupu-526, and installed the new version using psip-0.26.pet.

2. I notice the [empty] folder /.psip right at the top of the folder hierarchy. :(
I don't like it at the top; I want my /00 folder there.
Anything I [or you] can do about that?

3. When I run the command psip in a terminal, it reports:
# psip
# /usr/sbin/psip: line 3: ./psip: No such file or directory


4. /usr/local/psip is empty also.
You could rename 00 to .00

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#153 Post by Sylvander »

1.
(a) OK, renamed /00, /01, /02, /03, /04 to /.00, /.01, /.02, /.03, /.04

(b) And now I cannot set my "Firefox->Edit->Preferences->General->Downloads->Save files to..."
I'm not offered the option to save to /.00...
Can only save to unhidden files...
Therefore chose /00, and that folder was auto-made when I chose to re-download psip-0.26.pet to see if it was empty or not.

2. It was somewhat strange as follows:
Folders that had files in them...
When I did the rename....
Xfe crashed and had to be restarted.
Once open there were 2 copies of the folder:
One with the original name; one with the new name.
The new folder had only one of the files in it, and it was of zero size.
So I deleted the zero-size file, copied ALL the files over from old to new, and deleted the old folder including all its copies of the files.

3. psip still doesn't run...
Still gives the same error.

4. I notice the error mentions [folder or file?] ./psip, yet I have no hidden ./
What I have is unhidden /
Last edited by Sylvander on Sat 10 Sep 2011, 13:12, edited 1 time in total.

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

#154 Post by smokey01 »

Sylvander wrote:1. OK, renamed /00, /01, /02, /03, /04 to /.00, /.01, /.02, /.03, /.04

2. It was somewhat strange as follows:
Folders that had files in them...
When I did the rename....
Xfe crashed and had to be restarted.
Once open there were 2 copies of the folder:
One with the original name; one with the new name.
The new folder had only one of the files in it, and it was of zero size.
So I deleted the zero-size file, copied ALL the files over from old to new, and deleted the old folder including all its copies of the files.

3. psip still doesn't run...
Still gives the same error.

4. I notice the error mentions [folder or file?] ./psip, yet I have no hidden ./
What I have is unhidden /
I haven't tried it on Xfe.

I have tested on Lupu-525
midnightsunpup
Slacko-499.4

All works well on each distro

If you run it from the CLI it should work from /usr/sbin/psip or /usr/sbin/local/psip

Have you tried it running live from a CD?

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#155 Post by Sylvander »

1. I decided to reboot without saving the session, so that the installation would be gone.
Got back into Lupu-526, and "Menu->Internet->Psip VOIP + IM client" was in the menu system.
Clicked on that, and PSIP 0.26 appeared. :D
The I guess I must have saved the session right after I installed.
Is it necessary to reboot after installing this?

2. The changes I made to my folders had not been saved.
I think I'll leave them as-is since it's going to be difficult to get Firefox to save to any hidden folder.

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

#156 Post by smokey01 »

Sylvander wrote:1. I decided to reboot without saving the session, so that the installation would be gone.
Got back into Lupu-526, and "Menu->Internet->Psip VOIP + IM client" was in the menu system. It should have changed to Psip Puppy Phone
Clicked on that, and PSIP 0.26 appeared. :D
The I guess I must have saved the session right after I installed.
Is it necessary to reboot after installing this? Not normally

2. The changes I made to my folders had not been saved.
I think I'll leave them as-is since it's going to be difficult to get Firefox to save to any hidden folder.
Try logging into the conference tomorrow at 1300GMT DST. We will be using channel 528, under heading IPTel.

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

#157 Post by dogle »

I've just discovered that an incomplete buddy line in pjsua.cfg, thus

Code: Select all

--add-buddy
is sufficient to prevent pjsua logging in properly.

I was lucky, it only took me an hour or so to figure out what-the-heck because I happened to have working and non-working PSIPs running on different boxes. The trouble is that it is completely baffling to the newcomer - "me PSIP just don't work!" - yet all too easy to induce by over-hasty handling of Add Buddy menu item. Right now I'm a bit short of bright ideas for newbie-proofing this one.

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

#158 Post by smokey01 »

dogle wrote:I've just discovered that an incomplete buddy line in pjsua.cfg, thus

Code: Select all

--add-buddy
is sufficient to prevent pjsua logging in properly.

I was lucky, it only took me an hour or so to figure out what-the-heck because I happened to have working and non-working PSIPs running on different boxes. The trouble is that it is completely baffling to the newcomer - "me PSIP just don't work!" - yet all too easy to induce by over-hasty handling of Add Buddy menu item. Right now I'm a bit short of bright ideas for newbie-proofing this one.
dogle, that's a very old problem that has been discussed many times over the years. There is no error checking of the config file. I haven't been able to find a solution and neither has anyone else that I'm aware of.

I would be very happy if someone could produce some error checking code to solve this issue. Another gotcha is the additional blank line required on the last line of the config file. Without the extra line it sometimes causes problems however, not always.

Generally it won't log in to the server. This is the reason I keep saying put your own address in the buddies list. If you see your name on the status bar online then there is a good chance things are working properly.

It's always the first place I look when things aren't working. :?

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

#159 Post by dogle »

Thanks Smokey - hey, don't you ever sleep?

Although I shall attend tomorrow's conference, sorry folks if I am unable to participate ... reason is, at present my incoming sound is at times so badly square-waved that it takes my feeble brain a second or two to decrypt what is being said, and I can't keep up with the discussion! ... I'm working on it (the sound problem, I mean).

Sorry also to those whom I may have bothered today with duff calls - seems I have a gremlin in the mic channel on my test box.

In trying to troubleshoot the latter, I switched my headset for a handset and I was astonished to find that I could very easily induce acoustic feedback (howl) by e.g. cupping my hand across the handset .... wait for it ... with PSIP disconnected!

This should not be possible, without an electrical link to complete the feedback loop, so it has me puzzled and fascinated to know why. It is happening on different machines with Puppy 4.3.1/AlsaMixer and Wary 5.1.2/Retrovol, so maybe there are wider implications re. the all-important sound setup in PSIP.

AlsaMixer and Retrovol are (I think) cognate to some extent, is there something in their architecture which can permit spurious transfer across 'audio' output and mic input channels ... perhaps at the hands of a nincompoop like me? Any ideas here welcome, if not I'll raise it in another thread.

So far, PSIP 0.26 is looking just grand.

Conference: just to clarify, that's 1300GMT = 1300Z = 1300UST = 1400 BST (British Summer Time = daylight saving time), have I got that right?

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

#160 Post by smokey01 »

dogle wrote:Thanks Smokey - hey, don't you ever sleep?

Not enough ZZZzzzzz.....

Sorry also to those whom I may have bothered today with duff calls - seems I have a gremlin in the mic channel on my test box.

This is why the voicemail facility is so useful.

In trying to troubleshoot the latter, I switched my headset for a handset and I was astonished to find that I could very easily induce acoustic feedback (howl) by e.g. cupping my hand across the handset .... wait for it ... with PSIP disconnected!

That's a new one

So far, PSIP 0.26 is looking just grand. Thanks

Conference: just to clarify, that's 1300GMT = 1300Z = 1300UST = 1400 BST (British Summer Time = daylight saving time), have I got that right?
Same as last Sunday. 1300h BST.

Post Reply