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 Thu 27 Nov 2014, 03:06
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 5 of 38 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 36, 37, 38 Next
Author Message
smokey01


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

PostPosted: 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
View user's profile Send_private_message Visit_website 
smokey01


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

PostPosted: 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
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: 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 Smile

Crash?
Run Puppy!

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
smokey01


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

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

Code:
--snd-auto-close=0


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
View user's profile Send_private_message Visit_website 
dogle

Joined: 11 Oct 2007
Posts: 354

PostPosted: Wed 31 Aug 2011, 11:08    Post_subject:
Sub_title: 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
View user's profile Send_private_message 
dogle

Joined: 11 Oct 2007
Posts: 354

PostPosted: Wed 31 Aug 2011, 11:51    Post_subject:
Sub_title: 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
View user's profile Send_private_message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: 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 . . . Smile
ps2wv0.2.tar.gz
Description 
gz

 Download 
Filename  ps2wv0.2.tar.gz 
Filesize  35.55 KB 
Downloaded  204 Time(s) 

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
smokey01


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

PostPosted: 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
View user's profile Send_private_message Visit_website 
smokey01


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

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


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
View user's profile Send_private_message Visit_website 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: 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
View user's profile Send_private_message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: 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?

Smile
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
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: 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
View user's profile Send_private_message Visit_website 
smokey01


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

PostPosted: 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
View user's profile Send_private_message Visit_website 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: 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">

Edited_time_total
Back to top
View user's profile Send_private_message 
Caneri

Joined: 04 Sep 2007
Posts: 1580
Location: Canada

PostPosted: 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
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 5 of 38 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 36, 37, 38 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0957s ][ Queries: 12 (0.0071s) ][ GZIP on ]