Page 3 of 29

Posted: Thu 25 Aug 2011, 07:50
by Lobster
BTW you need to activate your voice mail IPTel.org then I will be able to leave you messages.
I believe I have now done that - voice messages welcome :)

I want to go through some of the history of the PSIP project
that I hope is relevant. We did look at a great variety of software from Skype (Now a Balmer detergent software product) to Gizmo (bought and abandoned) and many others such as 'teamtalk' . . .
Most were too big, hogged bandwidth etc

I wrote the first prototype front ends using the current command line pjsau, to get the whole system working. HairyWills efforts later on very much surpassed my programming aptitude and I was no longer able to comprehend the code . . . Smokey and Evil20071 were also coding and working on the look and feel (from what I remember). Others such as Eric were kindly testing . . .

Part of the problem for Will was making a variable (config file) available to the gtkdialog3 front end and Will had to do all sort of programming gymnastics to get this working . . .

A lot of initial work was done with the configuration file
(a text file) where we edited in a text editor (as Smokey has kindly offered to do and I may have to take him up on).

Later on this configuration file became dynamic and automated.

So my efforts are now to try and manually get the config text files
working as suggested by Eric and Grant (Smokey)

Thanks guys for your patience.
I will hopefully leave voice messages soon. :)

Puppy Linux
Speak Boy!

Posted: Thu 25 Aug 2011, 17:01
by gcmartin
Lobster wrote: ... I have got a SIP client on my Android phone ...
Did anyone ever get PSIP to Android going over your WiFi (P2P)?

And on this site would you post the location for the current PSIPs (both 32bit and 64bit)

Thanks in advance

Posted: Fri 26 Aug 2011, 03:02
by Lobster
It's a little hard to automate it more it than this as you need to add your details, servers and buddy's.

This can all be done manually with a text editor but it can also be done under menu item configure.
Thanks guys - getting closer . . . to a working system . . .

Thanks Grant for the modified config file :)
The buddies are not appearing on the right where they should
. . . the 'item configure' is not working in slacko
(as far as I can see)

My mic is now working in Slacko I did a pawedcast
(in the announcements section)
- sorry did mean to mention PSIP but forgot :roll:

Has anyone got VOIP working in Lucid as expected?
Do I need to turn off my firewall?
(tried turning off firewall, as we did this for a while during development)

Here is how to edit the wiki for those wishing to help 8)
http://puppylinux.org/wikka/UsingThisWiki

May try SIP from Android but that is secondary
to getting Puppy version working. :)

I must admit that these troubles are what I had
3 years ago
It was working fine during development
and then the 'improvements' meant it was no longer working (for me)
during the last two weeks (aprox) of development
That is the situation I still find myself in . . .

I have no idea what I am doing wrong . . .
Smokey has kindly edited my config file
- and given some useful pointers

when putting in details:
sip URL: lobster@iptel.org (your iptel registered name replaces 'lobster')
registrar URL: sip.iptel.org

It has to be easier than this . . . :roll:

Posted: Fri 26 Aug 2011, 09:47
by smokey01
Lobster wrote:
It's a little hard to automate it more it than this as you need to add your details, servers and buddy's.

This can all be done manually with a text editor but it can also be done under menu item configure.
Thanks guys - getting closer . . . to a working system . . .

Thanks Grant for the modified config file :)
The buddies are not appearing on the right where they should
. . . the 'item configure' is not working in slacko
(as far as I can see)

My mic is now working in Slacko I did a pawedcast
(in the announcements section)
- sorry did mean to mention PSIP but forgot :roll:

Has anyone got VOIP working in Lucid as expected?
Do I need to turn off my firewall?
(tried turning off firewall, as we did this for a while during development)

Here is how to edit the wiki for those wishing to help 8)
http://puppylinux.org/wikka/UsingThisWiki

May try SIP from Android but that is secondary
to getting Puppy version working. :)

I must admit that these troubles are what I had
3 years ago
It was working fine during development
and then the 'improvements' meant it was no longer working (for me)
during the last two weeks (aprox) of development
That is the situation I still find myself in . . .

I have no idea what I am doing wrong . . .
Smokey has kindly edited my config file
- and given some useful pointers

when putting in details:
sip URL: lobster@iptel.org (your iptel registered name replaces 'lobster')
registrar URL: sip.iptel.org

It has to be easier than this . . . :roll:
Lobster you still haven't got it quite right, notice the "=" signs.

--id sip:lobster@iptel.org
--registrar=sip:iptel.org
--realm *
--username=lobster
--password=xxxxxxxxxx
--reg-timeout 55

Posted: Fri 26 Aug 2011, 10:16
by smokey01
I think I mentioned iVisit a few years back.

It truly is a an amazing bit of software for it size, unfortunately there is not a Linux version, just Windows and Mac.

It does however run quite well in Wine except for two very important features, Sound and Video.

Why is it so amazing, take a look. It will fit on a floppy disk in it's compressed EXE file and it does audio and video.

It's all propriety though just like Skype but heaps smaller.

http://www.ivisit.com/products

http://www.ivisit.com/classic The small classic version.

Posted: Fri 26 Aug 2011, 10:45
by Lobster
Smokey we are talking at cross purposes . . . :?
If you configure from the menu and have registered
with iptel you need to know that
registrar URL: sip.iptel.org
- so that is general info for others
that I was unaware of when I came to fill the info :)

I Have not altered the config file which you sent - that is something different and requires the settings you mention 8)

Posted: Fri 26 Aug 2011, 10:49
by smokey01
Lobster wrote:Smokey we are talking at cross purposes . . . :?
If you configure from the menu and have registered
with iptel you need to know that
registrar URL: sip.iptel.org
- so that is general info for others
that I was unaware of when I came to fill the info :)

I Have not altered the config file which you sent - that is something different and requires the settings you mention 8)
Sorry. So is it working now?

Posted: Fri 26 Aug 2011, 10:53
by Lobster
smokey01 wrote: Sorry. So is it working now?
No
It does however run quite well in Wine except for two very important features, Sound and Video.
Que?
On that basis PSIP is working quite well . . . :roll:

Posted: Sat 27 Aug 2011, 00:11
by Caneri
Hey..just had a lovely live voice chat with Smokey on psip...hooray

Posted: Sat 27 Aug 2011, 00:43
by Lobster
Good news Eric

I have received voicemail (via email) which I will listen to soon :)
- thanks guys appreciate efforts
- once we get a few more people phoning we might be able to stage a conference call?

Theoretically the process of VOIP in Puppy should be:

1. Ensure working sound and Mic
2. Register Sip address
3. Configure PSIP with registered details
4. Use PSIP as soft phone

I am somewhere around 3 and 4 - Update - Was able to receive call from Eric - we have contact
We are getting there 8)
- smokeys modified links (updated PSIP file is already an improvement)

Once we know the procedure works we can maybe set up a help wizard/tutorial/video to help the procedure . . .
Update I will be working on this next

there are programs for direct (non server communication) but
using PSIP would be the ideal
http://www.murga-linux.com/puppy/viewto ... 149#557149

Posted: Sat 27 Aug 2011, 00:57
by Caneri
Hi Ed,

I confirm Fatdog does not work with psip.
The program (psip) will run with 32bit libs but there are no pop-up alerts to a phone call and calls (with the "m" command) produce a HUGE 50% cpu load....sadly so far nadda with FDog.

BUT....my old 409 install and Smokey's newer install co-operate and the call was crystal clear.

Very nice to speak with the pups again in live voice..Eric

Posted: Sat 27 Aug 2011, 01:24
by smokey01
I know this is a bit adventurous of me but I'm going to try and figure out how to compile the source.

What I would really like is a GUI built into the source so there is only one file plus the config file of course.

I think this may be beyond my capabilities but it's nice to dream.

Maybe someone with the skills will offer to assist.

I wonder if BaCon would be useful to achieve this. Maybe vovchik is our man? http://www.murga-linux.com/puppy/profil ... ile&u=4077

Posted: Sat 27 Aug 2011, 10:27
by Lobster
Just listened to Eric and Grants messages. Eric yours are clear - Grant yours are speaking too close to the mic - but message was fine :) Thanks guys
I wonder if BaCon would be useful to achieve this.
It would and we are likely to find the code easier (and kosher)

Eric thanks for confirming whether 64bit Puppy was PSIP compatible
Really PSIP should be working on all Puppys once pjsua had been compiled for that version . . .

Posted: Mon 29 Aug 2011, 04:05
by Lobster
OK some more info:

In Slacko I can not input the password, when doing the configuration
I thought this was a security feature - not so, as I tried in Lucid.
Lucid was equally frustrating for me but the password could be added.

Grant has a new mic much clearer (still only able to receive voice messages)

Been doing USB camera experiments. On a reasonably modern system a program that runs the video cam could be installed or suggested and run as a multitask option? Could not remember which is the best program for Puppy webcam support (I got the video working in the Skype from http://portablelinuxapps.org/Puppylinux - but not the sound)?

Also been looking at SIP on Android. Any recommendations if you use this over wifi?

Posted: Mon 29 Aug 2011, 16:54
by Lobster
I think (fingers and claws crossed) I was able to send a voice mail to Smokey :D
- tried Eric several times but only iptel has voice messages . . .

So I think PSIP is working (yep) but needs some type of wizard
. . . rather complex to get working . . .

Once you have a SIP number
and configured your setup
you click on start pjsua
then refresh buddies
then click on a buddy and call

Grant
if you do a further update . . .
with regards the file /usr/local/psip/psip-gui

if you change line 89

Code: Select all

           <action>gxmessage "$(echo -e "Opening config file for editing. \nAfter editing you will need to stop and start pjsua\nusing the phone menu")"; Nicoedit '$PJCFG' &</action>
to

Code: Select all

           <action>gxmessage "$(echo -e "Opening config file for editing. \nAfter editing you will need to stop and start pjsua\nusing the phone menu")"; defaulttexteditor '$PJCFG' &</action>

that is one word Nicoedit to defaulttexteditor
It should then be possible to edit the config file (using geany) in most Puppy
Nicoedit is not in Slacko

. . . getting there . . .
thanks guys - sorry it has taken me so long . . .

Posted: Mon 29 Aug 2011, 21:39
by Lobster
OK have chatted to Eric and Grant now :lol:
- managed a conference call with Grant 8)
- that is something new and to use that you will need his
updated PSIP
http://www.murga-linux.com/puppy/viewto ... 750#555750

OK have created a quickstart section and will add more to
http://puppylinux.org/wikka/Psippy
'Use PSIP as soft phone' section soon . . .
Quickstart
Ensure working sound and Mic
Right click on the speaker icon (bottom right)
Ensure mic is turned on and working
Register Sip address
when putting in details:
sip URL: lobster@iptel.org (your iptel registered name replaces 'lobster')
registrar URL: sip.iptel.org
Configure PSIP with registered details
It is suggested you register and use iptel has this has a voicemail facility
Use the test call features Under the Iptel menu item Echo and music tests
Try a test call to one of the contact numbers
sip:smokey01@iptel.org, sip:lobster@iptel.org, sip:caneri@iptel.org
Use PSIP as soft phone

Posted: Mon 29 Aug 2011, 21:43
by smokey01
I just had a nice, clear long chat with lobster on Psip.

In the revised GUI I have included a conference channel, no 528.

We both hung up and entered the conference channel and it worked brilliantly. It would be interesting to see how well this works with a number of callers.

On this weekend coming I might announce a time where we can have a conference so we can test.

Known issues at the moment are:
1. Can not hear the calling sound from the call initiator. The person receiving the call can hear the beep beeps ok though.

2. Has problem sharing the sound card. You might find that you don't get sound after using Psip. It doesn't seem to release control of the driver. Once you close Psip you get use the of your card sound back.

I will make the change from nicoedit to defaulteditor that lobster has suggested above.

I will create a pet package for both a GUI upgrade and the complete package, probably on the weekend.

Posted: Mon 29 Aug 2011, 22:06
by Lobster
gcmartin wrote:
Did anyone ever get PSIP to Android going over your WiFi (P2P)?
You sent a couple of questions (this may have been one)
as a PM. My priority has been getting PSIP running
and using that as a means of communication whilst we develop . . . 8)

I was not really in a position to answer questions until I had PSIP working in Slacko :)

Next will be Android to PSIP, conference call (as mentioned by Grant)
and starting some sort of wizard to integrate with Grants work.

So to answer your question - no not yet :)

Posted: Tue 30 Aug 2011, 11:52
by Lobster
Enclosed my PSIP 2 wizard

Code: Select all

#!/bin/sh
#Lesser GPL licence v2 (/usr/share/doc/legal/lgpl-2.1.txt). 2007 www.puppylinux.com
#PSIP 2 Wizard written by Lobster Sept 2011 for Slacko Puppy 5.3

AUDIOICON='/usr/local/lib/X11/mini-icons/mini-speaker.xpm'

export PSIPPY="
 <window title=\"PSIP 2   S E T U P   WIZARD\" window_position=\"1\">
  <vbox>
  
   <frame 1: Ensure SOUND AND MIC settings are working>
    <hbox>
     <text><label>   Click button for mixer:</label></text>
     <vbox><button><input file>${AUDIOICON}</input><action>/usr/local/bin/defaultaudiomixer & </action></button></vbox>
     <text><label>Having adjusted the levels, click this button to play a test sound:</label></text>
     <vbox><button><input file>${AUDIOICON}</input><action>/usr/bin/aplay /usr/share/audio/2barks.wav &</action></button></vbox>
     </hbox>
   </frame>
  
   <frame 2: REGISTER SIP address>
     <text><label>Register with iptel for voicemail and conferencing using browser</label></text>
     <vbox><button><action>defaultbrowser http://serweb.iptel.org/user/reg/ &</action></button></vbox>
   </frame>
  
   <frame 3: CONFIGURE PSIP add SIP details to PSIP2 - Configure / Edit Account>
    <text><label>add details including password:</label></text>
    <text><label>sip URL: lobster@iptel.org (your iptel registered name replaces 'lobster')</label></text>
    <text><label>registrar URL: sip.iptel.org</label></text>
   </frame>
  
    <hbox>
     <button><label>Details</label>
        <action>defaultbrowser http://puppylinux.org/wikka/Psippy &</action>
     </button>
     <button>
       <label>EXIT</label>
       <action type=\"exit\">EXIT</action>
     </button>
    </hbox>

  </vbox>
</window>
"
 
 RETVAL="`gtkdialog3 --program=PSIPPY 2>/dev/null`"
 eval "$RETVAL"
 [ "$EXIT" != "RUNALSA" ] && exit

The last bit should be cleaned up as is not required but it seems to work as is . . .

Code: Select all

 RETVAL="`gtkdialog3 --program=PSIPPY 2>/dev/null`"
 eval "$RETVAL"
 [ "$EXIT" != "RUNALSA" ] && exit

Posted: Tue 30 Aug 2011, 17:48
by dogle
A word of warning about a pjsua gotcha which has bitten me a couple of times.

A short time ago, in preparation for getting going with Psip, I put a music CD on pCD in order to check my audio setup (which I don't use regularly). I was alarmed to find that sound was being chopped at ~~10Hz, but fortunately memory was on my side for once.

The cause is pjsua trying to do something in the background - normal service was resumed as soon as pjsua was closed via the Psip GUI or killed from the CLI.

No big deal, perhaps, but it is a newbie-trap. When I was trying to use old-Psip many moons ago it had me looking for a replacement sound card before going any further (the effect is so like 'motorboating', as in, decoupling cap failure, I was quite convinced that I had a dud on my hands). :-))