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 Tue 29 Jul 2014, 02:46
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 4 of 38 [557 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, ..., 36, 37, 38 Next
Author Message
Lobster
Official Crustacean


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

PostPosted: Fri 26 Aug 2011, 06:45    Post subject:  

Smokey we are talking at cross purposes . . . Confused
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 Smile

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

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


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

PostPosted: Fri 26 Aug 2011, 06:49    Post subject:  

Lobster wrote:
Smokey we are talking at cross purposes . . . Confused
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 Smile

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


Sorry. So is it working now?

_________________
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 26 Aug 2011, 06:53    Post subject:  

smokey01 wrote:

Sorry. So is it working now?


No

Quote:
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 . . . Rolling Eyes

_________________
Puppy WIKI
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 26 Aug 2011, 20:11    Post subject:  

Hey..just had a lovely live voice chat with Smokey on psip...hooray
_________________
Be not afraid to grow slowly, only be afraid of standing still.
Chinese Proverb

Back to top
View user's profile Send private message 
Lobster
Official Crustacean


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

PostPosted: Fri 26 Aug 2011, 20:43    Post subject:  

Good news Eric

I have received voicemail (via email) which I will listen to soon Smile
- 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 Cool
- 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/viewtopic.php?p=557149#557149

_________________
Puppy WIKI

Last edited by Lobster on Mon 29 Aug 2011, 16:19; edited 1 time in total
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 26 Aug 2011, 20:57    Post subject:  

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

_________________
Be not afraid to grow slowly, only be afraid of standing still.
Chinese Proverb

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


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

PostPosted: Fri 26 Aug 2011, 21:24    Post subject:  

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/profile.php?mode=viewprofile&u=4077

_________________
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: Sat 27 Aug 2011, 06:27    Post subject:  

Just listened to Eric and Grants messages. Eric yours are clear - Grant yours are speaking too close to the mic - but message was fine Smile Thanks guys

Quote:
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 . . .

_________________
Puppy WIKI

Last edited by Lobster on Mon 29 Aug 2011, 15:58; edited 2 times in total
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: Mon 29 Aug 2011, 00:05    Post subject:  

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?

_________________
Puppy WIKI
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: Mon 29 Aug 2011, 12:54    Post subject:  

I think (fingers and claws crossed) I was able to send a voice mail to Smokey Very Happy
- 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:
           <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:
           <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 . . .

_________________
Puppy WIKI
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: Mon 29 Aug 2011, 17:39    Post subject:  

OK have chatted to Eric and Grant now Laughing
- managed a conference call with Grant Cool
- that is something new and to use that you will need his
updated PSIP
http://www.murga-linux.com/puppy/viewtopic.php?p=555750#555750

OK have created a quickstart section and will add more to
http://puppylinux.org/wikka/Psippy
'Use PSIP as soft phone' section soon . . .

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

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


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

PostPosted: Mon 29 Aug 2011, 17:43    Post subject:  

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.

_________________
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: Mon 29 Aug 2011, 18:06    Post subject:  

Quote:
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 . . . Cool

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

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 Smile

_________________
Puppy WIKI
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: Tue 30 Aug 2011, 07:52    Post subject:  

Enclosed my PSIP 2 wizard

Code:
#!/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:
 RETVAL="`gtkdialog3 --program=PSIPPY 2>/dev/null`"
 eval "$RETVAL"
 [ "$EXIT" != "RUNALSA" ] && exit

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

Joined: 11 Oct 2007
Posts: 328

PostPosted: Tue 30 Aug 2011, 13:48    Post subject:  

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). :-))
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 38 [557 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, ..., 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.1045s ][ Queries: 12 (0.0075s) ][ GZIP on ]