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:

#76 Post by smokey01 »

seaside wrote:smokey01,

Something like this-

Code: Select all


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: Select all

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.

seaside
Posts: 934
Joined: Thu 12 Apr 2007, 00:19

#77 Post by seaside »

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: Select all

 
#!/bin/sh
Psippy (Gtkdialog)
--close code here--
exit
Then no matter how PSIPPY was closed, the close code would always run.

Regards,
s

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

#78 Post by smokey01 »

seaside wrote: smokey01,

You could run it from a "helper script" like this -

Code: Select all

 
#!/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

seaside
Posts: 934
Joined: Thu 12 Apr 2007, 00:19

#79 Post by seaside »

smokey01 wrote:
seaside wrote: smokey01,

You could run it from a "helper script" like this -

Code: Select all

 
#!/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) :)

Regards,
s

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

#80 Post by dogle »

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

I was sniffing ekiga because Iptel says
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!). :-)

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

#81 Post by smokey01 »

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

I was sniffing ekiga because Iptel says
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!). :-)
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.

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

#82 Post by dogle »

Many thanks, now on board with Iptel.

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

#83 Post by smokey01 »

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.

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

#84 Post by smokey01 »

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.

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

#85 Post by Lobster »

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 :oops:
Attachments
psippy.zip
(40.76 KiB) Downloaded 285 times
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:

#86 Post by 01micko »

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
Attachments
psip_tray-0.1.tar.gz
(9.41 KiB) Downloaded 314 times
Last edited by 01micko on Sat 03 Sep 2011, 02:04, edited 1 time in total.
Puppy Linux Blog - contact me for access

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

#87 Post by smokey01 »

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?

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

#88 Post by 01micko »

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..
Puppy Linux Blog - contact me for access

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

#89 Post by smokey01 »

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

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

#90 Post by Caneri »

Hiya Mick,

Welcome aboard the psip train.

sip:caneri@iptel.org
[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:

#91 Post by smokey01 »

As I was doing some testing with caneri today it was obvious lobster is on the right track. We need to make Psip easier to use.

lobster has included a couple of important features such as sound playback and registration of a SIP server.

I have now taken that a bit further to ensure recording is working too. From my experience recording is normally muted and that can cause some issues especially for new comers.

I have now included lobsters ideas into the main GUI and included a recording test. This means you can open your default audio mixer and test your recording and playback.

I am still studying the information that seaside sent me and yet to look at 01micko's contribution.

Thanks

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

#92 Post by 01micko »

Hi all.

I think I'm having a sound card issue. It's really weird. I'll get it sorted, but one worrying thing is my cpu is nearly maxing out while negotiating with the sip server, seems to be stuck in a loop for awhile. Do we have the source for pjsua_custom_03-0.9.0 ??

The gtkdialog code needs a real cleanup, there are tons of stray processes! Just run top after you close Psip down to see. The problem is that children are starting from within processes and are forked.. these often don't end cleanly and we end up with a zombie. It's something I'm learning to deal with.

I think lobsters little wizard is great! It should run at first start (before the config files exist :wink: ).. and then maybe have it accessible from a menu entry. I'll PM you some more stuff Smokey.. soon.
Puppy Linux Blog - contact me for access

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

#93 Post by smokey01 »

Micko check your gmail account.

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

#94 Post by Lobster »

Hi guys

the enclosed file needs to be renamed help.html
and replaces
/usr/local/psip/resources/help.html

- Next to do - listen to voice messages and incorporate smokey suggestions

Welcome to Mick 8)

Puppy Linux
Dog and Bone
Attachments
help.zip
(2.71 KiB) Downloaded 285 times
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:

#95 Post by Lobster »

previous html was wrong - should be OK now
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Post Reply