| Author |
Message |
smokey01

Joined: 30 Dec 2006 Posts: 1603 Location: South Australia
|
Posted: Tue 30 Aug 2011, 16:25 Post subject:
|
|
dogle you are quite right.
I have identified this above at para 2 and some years ago.
It's one of the bugs I am going to try and fix as we never managed to last time. It's really not that much of an issue but it one all users should be aware of.
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1603 Location: South Australia
|
Posted: Tue 30 Aug 2011, 16:36 Post subject:
|
|
Lobster your little setup wizard is quite good except there is a huge delay before you hear the 2barks, 15 - 30 seconds.
I must have press the test sound button many times as I was getting barks every now and then for up two three minutes.
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Wed 31 Aug 2011, 00:16 Post subject:
|
|
The sound bug may be related to the delay
I don't have it - but not good
Maybe a forced close of pjsua for this part of the wizard?
Micko says 'aplay' does play .au files - on my system it does not
Maybe a solution would be to use 'defaultmediaplayer' - assuming there is such a command?
I will do some more work on the wizard and let you have any results soon
Crash?
Run Puppy!
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1603 Location: South Australia
|
Posted: Wed 31 Aug 2011, 07:22 Post subject:
|
|
I think I have found a solution to make the sound card play nice with Psip.
add the following line to /root/.psip/pjsua.cfg file:
This appears to release the sound card by Psip when not in use so you can play songs after using Psip without having to close it down.
More testing is required but this is how I tested it so far.
Test 1
Without the code inserted as above, check voice mail.
Now play a song with Psip running.
No sound
Test 2
Add the code to the pjsua.cfg file
Check voice mail
Now play a song
You should hear the song
Let me know if this works for you too.
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
dogle
Joined: 11 Oct 2007 Posts: 302
|
Posted: Wed 31 Aug 2011, 11:08 Post subject:
Subject description: Sound bug(s?) |
|
maybe there's more than one ...
The 'motorboating' one - which seems to be provoked by asking pjsua to make an invalid call (eg to 'voicemail' when not registered with Iptel) is not relieved for me (I'm running 4.3.1 BTW) by addition of the code Smokey kindly suggests.
Note, it can be provoked by telling pjsua to make an invalid call using the CLI, so probably not Psip-dependent at all.
If so this could be tough on the newcomer who has at present no indicator that pjsua is still running when he thinks his VoIP application has been shut down. (Tray anyone?).
|
|
Back to top
|
|
 |
dogle
Joined: 11 Oct 2007 Posts: 302
|
Posted: Wed 31 Aug 2011, 11:51 Post subject:
Subject description: Psip shutdown processes |
|
Hey, this might be something a bit more serious -
Just after posting, I noticed something very odd with the xload indicator ... red hills disappearing behind Venetian blind ... that brace!, brace! feeling.
Seems that my fiddling, ahem, testing session had left me with close on a dozen Psip processes (not pjsua) still running - that's with nothing on the desktops but the rxvt/topview tablet.
Bummer when one has to restart the X server to clear it.
Edit: Yes, seems Psip is not closed properly unless you do Phone=>Quit and shutdown. Yer average user is just going to hit the X-button, all unawares, like me ... possibly this was intentional to maintain presence for incoming calls? ... but still a big newbie-trap as it stands.
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Wed 31 Aug 2011, 16:32 Post subject:
|
|
Enclosed is the latest version 0.2 of the PSIP2 Setup wizard
It was designed on and for slacko
- so might need to change sound setter to something more universal than just retrovol
The enclosed zip file has two config.png's - you only need one
It should be simpler to use and understand . . .
| Description |
|

Download |
| Filename |
ps2wv0.2.tar.gz |
| Filesize |
35.55 KB |
| Downloaded |
112 Time(s) |
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1603 Location: South Australia
|
Posted: Wed 31 Aug 2011, 16:57 Post subject:
|
|
dogle the shutdown issue has been around since the beginning of development. I'm sure we have included this in the documentation so part of the solution is education. I have never had more than one instance of Psip running as I was always aware of the problem.
I guess clicking on X and making Psip minimize to the tray would be good except I have no idea how to program that, any ideas?
I know other developers have had the same problem such as zigberts Pmusic but he now has overcome the problem. I will have a look at his code and see what he did.
You are right, the releasing of the sound card is not 100% fixed but it's now much better than it was. I also noticed that if I made an unsuccessful call to someone who was offline it did not seem to release the card. If I then tried my voice mail it worked again and I could listen to music.
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1603 Location: South Australia
|
Posted: Wed 31 Aug 2011, 17:25 Post subject:
|
|
| Lobster wrote: | Enclosed is the latest version 0.2 of the PSIP2 Setup wizard
It was designed on and for slacko
- so might need to change sound setter to something more universal than just retrovol
The enclosed zip file has two config.png's - you only need one
It should be simpler to use and understand . . .  |
Looks pretty good. I don't know why aplay has such a long pause as it would be a better choice than using defaultmediaplayer or defaultaudioplayer.
I think we could make it the GUI a bit more compact too just by moving things around. There seems to be a fair bit of real estate not used.
Is it your plan to have this as a stand alone gui?, include it in the main gui? or invoke it from the main gui?
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 832
|
Posted: Wed 31 Aug 2011, 18:11 Post subject:
|
|
| smokey01 wrote: |
I guess clicking on X and making Psip minimize to the tray would be good except I have no idea how to program that, any ideas?
|
smokey01,
A possible option might be to make the dialog "undecorated" which would hide the minimize-close options.
Then a "quit" button with total close down code would assure a proper close. This would still allow a minimize/maximize toggle by clicking the tray item (in JWM).
Cheers,
s
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Wed 31 Aug 2011, 19:36 Post subject:
|
|
| Quote: | | Is it your plan to have this as a stand alone gui?, include it in the main gui? or invoke it from the main gui? |
I suggest it goes in its own directory for easy upgrading
I suggest a new 'Quick start wizard' button is added to the main GUI to invoke the wizard
I am leaving any mods to the main GUI to you for now - not looking at that at all
I intend to create a 'second page GUI' that will provide 'first call' wizard help.
I then want to explore the use of ffmpeg for video support which you suggested.
Have you any knowledge or idea of how to:
1. Display a video box of a connected webcam (using ffmpeg)
2. Also send the video box contents
3. Receive and display the video contents
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Thu 01 Sep 2011, 01:36 Post subject:
|
|
Will try and attend conference call on Sunday
- any apart from Smokey and Eric attending?
We may see a development of Bow wow . . .
http://puppylinux.org/wikka/BowWow
The twinkle SIP utility (5MB), seems to work and (of interest to me)
also has a wizard . . .
I sent Eric a voicemail - will try some more with twinkle
http://www.murga-linux.com/puppy/viewtopic.php?p=558837#558837
. . . will also try leaving messages on android phone perhaps
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1603 Location: South Australia
|
Posted: Thu 01 Sep 2011, 09:31 Post subject:
|
|
| seaside wrote: | | smokey01 wrote: |
I guess clicking on X and making Psip minimize to the tray would be good except I have no idea how to program that, any ideas?
|
smokey01,
A possible option might be to make the dialog "undecorated" which would hide the minimize-close options.
Then a "quit" button with total close down code would assure a proper close. This would still allow a minimize/maximize toggle by clicking the tray item (in JWM).
Cheers,
s |
Sounds like a reasonable solution. How do I do that?
Thanks
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 832
|
Posted: Thu 01 Sep 2011, 10:52 Post subject:
|
|
smokey01,
Something like this- | Code: |
export PSIPPY='
<window decorated="false">
<vbox>
<frame PSIPPY wrapper>
<tree>
<label>PSIPPY</label>
<height>250</height><width>200</width>
<variable>PSIPPY</variable>
<input>echo "PSIPPY dialog here"</input>
</tree>
</frame>
<hbox>
<button>
<input file icon="gtk-quit"></input>
<label>Quit</label>
<action>echo "shut down code here"</action>
</button>
</hbox> </vbox></window>'
gtkdialog3 -p PSIPPY |
This would give you a window that couldn't be closed by mouse action (but could be by key combination alt-f4) and still allow moving the window by alt-lclick.
NOTE: I haven't looked at PSIPPY, so I don't know if you can even put a wrapper or a helper script around it.
Regards,
s
EDIT: Just had a chance to look at PSIPPY and the code would look like this | Code: | export DIALOG='
<window decorated="false" window-position="1" icon-name="gtk-yes" width="800" BackgroundColor="ffffff"> |
Last edited by seaside on Thu 01 Sep 2011, 15:02; edited 1 time in total
|
|
Back to top
|
|
 |
Caneri
Joined: 04 Sep 2007 Posts: 1565 Location: Canada
|
Posted: Thu 01 Sep 2011, 11:55 Post subject:
|
|
Hi All,
@lobster...I got the voice message loud and clear from Twinkle
@Grant...your voice was broken and low with rasp/clipping .
Well I just had a set back.
My older lappy lost the monitor and it's the only one that runs psip so far.
I tried Slacko but no joy on my kit. Tried Twinkle and no joy as well.
I may try to hook up to my digital HDTV via monitor cable to try repairs or test further.
Grrrrr...bad timing and I really liked that old lappy.
I still have a few days until Sunday so hopefully a solution will present itself....I wish I had a spare monitor but that kit went to Computers for Kids.....should have kept a monitor.
E
_________________ Be not afraid to grow slowly, only be afraid of standing still.
Chinese Proverb
|
|
Back to top
|
|
 |
|