Puppy Phone - VOIP using SIP

Under development: PCMCIA, wireless, etc.
Message
Author
nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#381 Post by nooby »

dogle wrote:With due respect to those who are worried about recording, I consider the ability to record to be very useful (especially when there is stuff e.g. numbers, code etc. to be written down, and particularly when voice transmission is imperfect).
Good that it actually warns.

What happens if one start up Bacon Recorder or Precorder or Mwave or whatever name it has.

Can one not record using them and then none know one have done it?
I mean so it does not help much even if it is very nice and friendly to warn first? People could still record from the sockets analogically even to an old Reel to Reel Tape Recorder?
I use Google Search on Puppy Forum
not an ideal solution though

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

#382 Post by Lobster »

:? oh well . . .

not much success for me this week
apparently conference was down and a party line was set up
Briefly heard micko (sounded ready for Lobster fishing). a few people breaking up and Grant :)

Tsk tsk

For the record I tried 1.2pre - could not find 1.3 which is out?
then I tried 1.1 which is in slickpet Slacko rc and got through briefly with that . . .

So:
1. What is the iptel conference number
2. Where is 1.3

Thanks guys -

Old Lobster saying:
Sometimes you are the fisher
Sometimes the bait

. . . today I was sushi . . . :?

Next Sunday :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Stripe
Posts: 658
Joined: Wed 23 Jun 2010, 05:18
Location: In a field. England

#383 Post by Stripe »

Hi all

:oops: sorry I have been thinking again :oops:

instead of using a central sip server, could the network not be run P2P with each end node sending/receiving handshakes to establish who is on line(acting both as a client and a server), dont know how this would work with isp's that rotate isp addresses (yet). perhaps have a small database to show who is on line and their current addresses (maybe not as this would require a separate server). or getting a free web domain (something like dyndns so you had a permanent address the client could automatically contact to see if someone was on line)

cutting out a separate server would increase security with traffic not having to be routed through a third party and could be encrypted to ensure that intercepts would not work, and there would be no problems if the third party server went down.

hope this rubbish makes sense :lol:

just an idea

don

Lobster could you please pop into the future and see if this would work :lol:

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#384 Post by Sylvander »

1. Installed...
Psip32-1.2RC2-Slacko
Within...
Slacko-5.29.5 RC (k2.6.37.6)
Running on 2003 hardware.

2. Attempting to setup the Puppy Phone for use:
(a) Sound seems to be working OK.
(b) The phone setup program auto-disabled the firewall.
(c) When attempting to use "Setup", once I'd typed my "Account" details, the program froze with blank dialog windows.
Actually, even before typing in any details, the window won't close.
And now they've gone blank and frozen.
Need to use "Crtl+Alt+backspace" and xwin to come back in.

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

#385 Post by Lobster »

Lobster could you please pop into the future and see if this would work
In the future Puppy and PuppyPhone™ are recognized as works of art

Image

Puppy Linux
The OS for a future
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#386 Post by jamesbond »

Sylvander wrote:(c) When attempting to use "Setup", once I'd typed my "Account" details, the program froze with blank dialog windows.
I just tested in Slacko RC++ - I used my binary compiled in Wary 5.0, it crashed just like Sylvander said. The function that crash is internal pjsip library's set-sound-device :shock:
Smokey01 will come up with one that is compiled properly in Slacko - hopefully this will mitigate the issue.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

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

#387 Post by smokey01 »

Psip32-1.2 has been released.

Versions for Lucid and Slacko have been complied and can be found at http://www.smokey01.com/menu under Psip Icon.

Yes, they are a little bigger as optimization has been removed for the moment.

Thanks to James

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#388 Post by Sylvander »

1. Uninstalled the previous Psip mentioned above, then...

2. Installed the latest...
Psip32-1.2-Slacko.pet
Within...
Slacko-5.29-5 RC (k2.6.37.6)

3. Attempted to set up this new Puppy Phone version for use.
Previous problems were gone.
Was able to use "Setup" to enter all my details, and move on to the next step, where I had problems as follows:

4. Used "Add+" to add smokey01 as a buddy, which succeeded, but...
(a) His "Nickname" was displayed as "Puppy" [rather than the text I entered as his nickname], when I entered that text as "Category".
(b) Highlighted/selected the line and tried to use "Edit", but the program was/is frozen.
Won't "Remove" either.
(c) Am I doing something wrong?

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

#389 Post by dogle »

jamesbond wrote: The function that crash is internal pjsip library's set-sound-device
What logging tool is best for determining the cause of crashes like this?

Stripe
Posts: 658
Joined: Wed 23 Jun 2010, 05:18
Location: In a field. England

#390 Post by Stripe »

hi all

I am trying the new Psip32-1.2-slacko.pet from http://www.smokey01.com/menu/

I am still suffering from the slight problem I have encountered with all versions of psip (even ones I have compiled) I have been running Psip from terminal so that I could catch any error messages. (see attached files) (text files with a .gz extension added so that I could post, just remove the .gz and you will have a text file)

The problem.
when I am talking on psip, occasionally the line goes quiet but the call is still connected in the call window, after some trial and error I have discovered that if I check the hold box for that call, then uncheck it, the call returns to normal. (without dropping the call) (according to the terminal window I have just suspended the call and then made it active, there is no entry for the line actually going quiet)

hope this helps

Don

what I have tried so far: different versions of puppy, different versions of psip, different router (all lan connections), different pc,s (incase it is hardware related). have even portfowarded the routers on 5060/5061 all without sucsess

edited to add: have also tried disabling the firewalls (puppy and the routers) and have used all 3 connection methods (SNS Frisbee and the standard network wizzard)

edited to add (again): have even contacted ISP to check that my connection is ok and that it will work with the protocols that psip is using
Attachments
toggle hold box.gz
(180 Bytes) Downloaded 248 times
startup error messages.gz
(1.88 KiB) Downloaded 447 times

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

#391 Post by smokey01 »

Sylvander wrote:1. Uninstalled the previous Psip mentioned above, then...

2. Installed the latest...
Psip32-1.2-Slacko.pet
Within...
Slacko-5.29-5 RC (k2.6.37.6)

3. Attempted to set up this new Puppy Phone version for use.
Previous problems were gone.
Was able to use "Setup" to enter all my details, and move on to the next step, where I had problems as follows:

4. Used "Add+" to add smokey01 as a buddy, which succeeded, but...
(a) His "Nickname" was displayed as "Puppy" [rather than the text I entered as his nickname], when I entered that text as "Category".
(b) Highlighted/selected the line and tried to use "Edit", but the program was/is frozen.
Won't "Remove" either.
(c) Am I doing something wrong?
Sylvander try starting without a .psip.conf file. There have been many changes and the later .psip.conf files are different, quite different.

In other words make sure you delete /root/.psip.conf before you run Psip32-1.2 for the first time.

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

#392 Post by smokey01 »

Stripe I thought James had fixed the problem you are experiencing.

He did say it was a rough work around and wasn't happy with it.

Maybe he has some other ideas. I don't, for the moment.

Sorry

Stripe
Posts: 658
Joined: Wed 23 Jun 2010, 05:18
Location: In a field. England

#393 Post by Stripe »

hi all

@smokey01 dont worry about it, I am now running in console log level 6 to see if I can get more info for james

cheers

don

Stripe
Posts: 658
Joined: Wed 23 Jun 2010, 05:18
Location: In a field. England

#394 Post by Stripe »

hi all

I have managed to get two logs both ending when the sound went quiet (but still the call was not dropped and sound was enabled again after the hold checkbox was checked then unchecked)

again these are text files with .gz added, to read just remove the .gz and open in a text editor

Hope this helps

Don
Attachments
mode 6 log error 2.gz
(9.02 KiB) Downloaded 321 times
mode 6 log error 1.gz
(6.01 KiB) Downloaded 297 times

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

#395 Post by smokey01 »

Stripe have you tried disabling TCP in the network tab under setup?

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#396 Post by jamesbond »

dogle wrote:
jamesbond wrote: The function that crash is internal pjsip library's set-sound-device
What logging tool is best for determining the cause of crashes like this?
Well, in this particular case, I put print statements inside the code and re-compile. You could in theory enable maximum logging level in the setup dialog, but in this case the crash happens before you even have the chance to set the log-level ...

That being said:
jamesbond wrote:
Sylvander wrote:(c) When attempting to use "Setup", once I'd typed my "Account" details, the program froze with blank dialog windows.
I just tested in Slacko RC++ - I used my binary compiled in Wary 5.0, it crashed just like Sylvander said. The function that crash is internal pjsip library's set-sound-device :shock:
Smokey01 will come up with one that is compiled properly in Slacko - hopefully this will mitigate the issue.
I need to eat back my words. The binary compiled in Wary works. It failed in Slacko when I run Slacko inside VirtualBox - so it's VirtualBox problem.
Stripe wrote:The problem.
when I am talking on psip, occasionally the line goes quiet but the call is still connected in the call window, after some trial and error I have discovered that if I check the hold box for that call, then uncheck it, the call returns to normal. (without dropping the call) (according to the terminal window I have just suspended the call and then made it active, there is no entry for the line actually going quiet)
When this happens, please use the "Stats" button on the call window, and notice the lines after RX and TX line - which shows the number of network packets you have received. These numbers should increase with time, it they don't, you're not getting them --> something wrong with your network.
Stripe wrote:what I have tried so far: different versions of puppy, different versions of psip, different router (all lan connections), different pc,s (incase it is hardware related). have even portfowarded the routers on 5060/5061 all without sucsess
Don't port-forward your routers, this is unnecessary except in the most extreme circumstances.

Options to try:
a) check "Disable TCP" option in network settings (as smokey01 said)
b) check "Disable Optional SRTP" option in network settings
c) worse comes to worst, use "stun.iptel.org" in the STUN server setting. (Note: STUN server, not TURN server. Don't touch the TURN server settings - there is no known public TURN server that we can use).

Let me know how you go with this.

I'm going to see at your logs to see if I can sniff anything ...

EDIT: The only thing I can see from your log is that you are experiencing a lot of packet loss (ie your network connection seems to be unstable, for whatever reasons) ... and after enough packet loss, psip just give up and drop the entire voice call. Using "hold" and "unhold" basically is the same as "drop and then call again" - so it re-starts the voice call again.
You're saying you're on LAN, so this is impossible? Try to change your SIP port from the default 5060 to say 5070 or something else, and see if that helps.

cheers!
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#397 Post by Sylvander »

1. "Sylvander try starting without a .psip.conf file"
Having just now uninstalled Psip32-1.2-Slacko [working within Slacko-5.29.5 RC]...
Tried to "Find" a file named .psip.conf without success.
Then searched for psip, and the only file found was the PET file used to install the program.

2. Now having re-installed Psip32-1.2-Slacko...
I disabled the firewall, and the sound check was OK....
But...
The program is freezing when I attempt to enter my details. :(

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#398 Post by CatDude »

Hi

The attached .pet Psip32-1.2-Wary512.pet
is a repackaged Psip32-1.2-Lucid.pet, but the actual psip binary was compiled in Wary-5.12 especially for dogle

It was working OK for me on my Acer laptop, i was able to listen to the iptel Music test,
and also run the echo test too, and i even sent a voice mail to dogle
to let him know that i have posted this here (i hope he received it :roll: )

CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

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

#399 Post by dogle »

Thanks a bucket, CatDude.

Not good news though - I still get the same error messages re. Psip32's attempts to setup its initial audio configuration, and it still freezes when I attempt to put in data, without establishing a /.psip.config file.

Anyway maybe this is progress ... whatever the problem is, seems it is not resolved by recompiling as you have so kindly done. (I'm running a bit short on ideas right now).

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#400 Post by technosaurus »

has anyone else notice that Wary's devx is missing several .so files? ... causes some severe bloatage (cairo, png,rsvg, xvidcore ...) or maybe I have the wrong devx? the binaries are a lot smaller without a static cairo

btw I just stumbled on this:
http://www.creytiv.com/baresip.html
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Post Reply