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 Mon 20 Oct 2014, 23:59
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 6 of 38 [564 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 36, 37, 38 Next
Author Message
smokey01


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

PostPosted: Thu 01 Sep 2011, 17:28    Post subject:  

seaside wrote:
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">


seaside it worked fine. Thanks for that. I couldn't find any reference to "decorated" in my search on the web.

I think it would be nice to make it close fully from the X but your solution will do fine for the moment.

I might also remove, or hide from noobs, the other shut down options under the file menu.

It might be best to keep the options very limited for simplicity.

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

Joined: 11 Apr 2007
Posts: 887

PostPosted: Thu 01 Sep 2011, 17:46    Post subject:  

smokey01 wrote:


I think it would be nice to make it close fully from the X but your solution will do fine for the moment.

I might also remove, or hide from noobs, the other shut down options under the file menu.

It might be best to keep the options very limited for simplicity.


smokey01,

You could run it from a "helper script" like this -
Code:
 
#!/bin/sh
Psippy (Gtkdialog)
--close code here--
exit


Then no matter how PSIPPY was closed, the close code would always run.

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


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

PostPosted: Thu 01 Sep 2011, 17:56    Post subject:  

seaside wrote:

smokey01,

You could run it from a "helper script" like this -
Code:
 
#!/bin/sh
Psippy (Gtkdialog)
--close code here--
exit


Then no matter how PSIPPY was closed, the close code would always run.

Regards,
s


seaside your coding skills are obviously superior to mine. Are you able to provide the code.

I have had a look at Pmusic and studied the func_kill function which seems to kill all likely running process but my knowledge is limited to understand what is actually means.

I'm also not sure how the function is called from the X on the window.

In this case I guess we only need to kill pjsua.

Very happy to take advice and offerings.

It might even be useful to have a chat, on Psip no less.

Thanks

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

Joined: 11 Apr 2007
Posts: 887

PostPosted: Thu 01 Sep 2011, 19:05    Post subject:  

smokey01 wrote:
seaside wrote:

smokey01,

You could run it from a "helper script" like this -
Code:
 
#!/bin/sh
Psippy (Gtkdialog)
--close code here--
exit


Then no matter how PSIPPY was closed, the close code would always run.

Regards,
s


seaside your coding skills are obviously superior to mine. Are you able to provide the code.

I have had a look at Pmusic and studied the func_kill function which seems to kill all likely running process but my knowledge is limited to understand what is actually means.

I'm also not sure how the function is called from the X on the window.

In this case I guess we only need to kill pjsua.

Very happy to take advice and offerings.

It might even be useful to have a chat, on Psip no less.

Thanks


smokey01,

Yes, you need to kill psua which I assume is done by this line in the dialog "<action>'$PJAPPDIR'/func_shutdownpjsua</action>"
However, I don't see the additional "functions" file that contains the shutdown and other functions code?

As far as the "x close" of the window goes, if you use a "helper script" as above, when the Gtkdialog window is clicked to close, the lines following the "Psippy" command line of the script will execute the killing of psua. (hmmm. that sounds like a good title for a movie) Smile

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

Joined: 11 Oct 2007
Posts: 332

PostPosted: Fri 02 Sep 2011, 07:57    Post subject:  

The ekiga registration engine is broken (Captcha problems - not for the first time, I see).

I was sniffing ekiga because Iptel says
Quote:
By default, voicemail2email is enabled for offline users and not answered calls.

Ye who have taken the plunge with Iptel, does the usage "enabled" mean that there is a user-accessible means to disable that garbage?

(If not, that could be a real PITA, IMHO especially if there be no way to deregister!). :-)
Back to top
View user's profile Send private message 
smokey01


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

PostPosted: Fri 02 Sep 2011, 08:48    Post subject:  

dogle wrote:
The ekiga registration engine is broken (Captcha problems - not for the first time, I see).

I was sniffing ekiga because Iptel says
Quote:
By default, voicemail2email is enabled for offline users and not answered calls.

Ye who have taken the plunge with Iptel, does the usage "enabled" mean that there is a user-accessible means to disable that garbage?

(If not, that could be a real PITA, IMHO especially if there be no way to deregister!). Smile


dogle it's not true.

by default the voice mail is not enabled. You have to log in after you have registered and enable it. You can redirect to voice mail for busy and no answer. You can also disable redirection if you wish.

I don't know about deregistering.

So far iptel has been great. All works very well with Psip.

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

Joined: 11 Oct 2007
Posts: 332

PostPosted: Fri 02 Sep 2011, 09:13    Post subject:  

Many thanks, now on board with Iptel.
Back to top
View user's profile Send private message 
smokey01


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

PostPosted: Fri 02 Sep 2011, 09:17    Post subject:  

dogle wrote:
Many thanks, now on board with Iptel.


I have already assumed your sip address and put you in my buddies list so I can see when you are online.

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


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

PostPosted: Fri 02 Sep 2011, 10:50    Post subject:  

Reminder - We will attempt a conference call on Sunday 4th September at 1300h GMT daylight saving time.

From the menu item IPTel, click on conference to enter then introduce yourself or just listen.

_________________
Puppy Software <-> Distros <-> Puppy Linux Tips
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


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

PostPosted: Fri 02 Sep 2011, 18:45    Post subject:  

The contents of the enclosed (still being worked on - Not yet linked from PSIP 2) replace the files in
/usr/local/psip/resources/

run
/usr/local/psip/resources/psip2_wizard
to set up and run PSIP and PSIP2

need to work on the help.html
which is out of date . . .

also have not yet started on suggestions made by smokey Embarassed
psippy.zip
Description 
zip

 Download 
Filename  psippy.zip 
Filesize  40.76 KB 
Downloaded  167 Time(s) 

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7831
Location: qld

PostPosted: Fri 02 Sep 2011, 19:34    Post subject:  

Grant

I'm logged in as sip:micko01@iptel.org.. trying to call you

Mick

_____________________________

I packed up a little tarball with some code for you Wink It's structured as a pet, source in /usr/share/doc
psip_tray-0.1.tar.gz
Description 
gz

 Download 
Filename  psip_tray-0.1.tar.gz 
Filesize  9.41 KB 
Downloaded  164 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |

Last edited by 01micko on Fri 02 Sep 2011, 22:04; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
smokey01


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

PostPosted: Fri 02 Sep 2011, 22:02    Post subject:  

01micko wrote:
Grant

I'm logged in as sip:micko01@iptel.org.. trying to call you

Mick


I can't see you online. Are you sure you are logged in?

can you play music from the IPTel menu item?

_________________
Puppy Software <-> Distros <-> Puppy Linux Tips
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7831
Location: qld

PostPosted: Fri 02 Sep 2011, 22:17    Post subject:  

smokey01 wrote:


I can't see you online. Are you sure you are logged in?

can you play music from the IPTel menu item?


I logged out for awhile .. back in now (bought a new router.. nope it's going back!)

Can't hear any music from iptel menu!
Hmmmm... I just got a "?" next to you and Ed in the buddy list..

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
smokey01


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

PostPosted: Fri 02 Sep 2011, 22:22    Post subject:  

01micko wrote:
smokey01 wrote:


I can't see you online. Are you sure you are logged in?

can you play music from the IPTel menu item?


I logged out for awhile .. back in now (bought a new router.. nope it's going back!)

Can't hear any music from iptel menu!


try the #Psip channel on freenode

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

Joined: 04 Sep 2007
Posts: 1580
Location: Canada

PostPosted: Fri 02 Sep 2011, 22:36    Post subject:  

Hiya Mick,

Welcome aboard the psip train.

sip:caneri@iptel.org

_________________
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 from previous:   Sort by:   
Page 6 of 38 [564 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 36, 37, 38 Next
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.1008s ][ Queries: 12 (0.0096s) ][ GZIP on ]