The time now is Sun 22 Apr 2018, 08:48
All times are UTC - 4 |
Author |
Message |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15238 Location: Paradox Realm
|
Posted: Mon 23 Jun 2008, 01:28 Post subject:
|
|
Update - this rudimentary program now available for testing
see first post in this thread for latest release
Now updated 25 June to merge with CEL's code and drop the FreeBasic Part
CEL's code implemented - not tested
Smokey01 aka Grants config file with extra SIP numbers . . .
you should change the cofig1.cfg
to match your details, like so:
Code: | --id sip:crusty_lobster@proxy01.sipphone.com
--registrar sip:proxy01.sipphone.com
--reg-timeout 300
--realm *
--username crusty_lobster
--password *********** |
_________________ YinYana AI Buddhism
Last edited by Lobster on Tue 01 Jul 2008, 02:24; edited 4 times in total
|
Back to top
|
|
 |
Caneri
Joined: 04 Sep 2007 Posts: 1569 Location: Canada
|
Posted: Mon 23 Jun 2008, 10:23 Post subject:
|
|
Ok...I got past the registering on PuppySip
my login is caneri@proxy01.sipphone.com
All I have heard so far is machine guns but maybe my local router is in the way as NAT is not working/configured I think...I guess...doh..hmmm
By the way @ Lobster...I love the front end gui picture
Eric
_________________ Be not afraid to grow slowly, only be afraid of standing still.
Chinese Proverb
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15238 Location: Paradox Realm
|
Posted: Mon 23 Jun 2008, 11:37 Post subject:
|
|
Glad you liked the Sip pic Eric,
had a go connecting with Tom and we also got the machine gun effect
not sure what parameters to change though - so advisement welcome . . .
It is getting the right commands here maybe . . .
http://www.pjsip.org/pjsua.htm
_________________ YinYana AI Buddhism
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 2681 Location: South Australia
|
Posted: Mon 23 Jun 2008, 17:08 Post subject:
|
|
I spent another few hours trying to get the voice to work. I still have machine gun affect.
I have been scouring through the FAQ and help on the PJSIP site but no solution yet.
I wonder if the Gizmo server might be the problem. Maybe we could try another SIP server, anyone got any suggestions.
Has anyone tried an IP to IP connect yet?
I'm also going to post a message on the PJSIP site and try and find someone with experience. This may save us some time, although it is fun to play it's starting to get frustrating.
Smokey
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 2681 Location: South Australia
|
Posted: Tue 24 Jun 2008, 07:43 Post subject:
|
|
Lobster, have you checked this out?
http://www.murga-linux.com/puppy/viewtopic.php?t=24342
Twinkle. Is quite small and open source.
|
Back to top
|
|
 |
HairyWill

Joined: 26 May 2006 Posts: 2946 Location: Southampton, UK
|
Posted: Tue 24 Jun 2008, 07:48 Post subject:
|
|
smokey01 wrote: | Twinkle. Is quite small and open source. | but it has a dependency on qt
_________________ Will
contribute: community website, screenshots, puplets, wiki, rss
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 2681 Location: South Australia
|
Posted: Tue 24 Jun 2008, 08:39 Post subject:
|
|
Not only that it keeps on locking up on puppy 4.
Will, what is the issue with QT dependencies?
I do like pjsip, if I could only get it to work properly. I do like the single file + config file.
Smokey
|
Back to top
|
|
 |
HairyWill

Joined: 26 May 2006 Posts: 2946 Location: Southampton, UK
|
Posted: Tue 24 Jun 2008, 08:55 Post subject:
|
|
smokey01 wrote: | Will, what is the issue with QT dependencies? | Only size, the qt package for puppy4 is 4MB. This would probably put it out of Barry's shopping list for inclusion in an official puppy.
_________________ Will
contribute: community website, screenshots, puplets, wiki, rss
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6747 Location: hobart
|
Posted: Tue 24 Jun 2008, 09:27 Post subject:
|
|
Smokey & Will,
Twinkle is currently dependent on qt3. On his website the developer has migration to qt4 on his roadmap.
|
Back to top
|
|
 |
Caneri
Joined: 04 Sep 2007 Posts: 1569 Location: Canada
|
Posted: Tue 24 Jun 2008, 12:35 Post subject:
|
|
Hi All,
I have contacted a free Canadian stun/turn server with regards to accessing their service to be used for Puppy.
look here http://numb.viagenie.ca/
I'm not educated as to how this all works but maybe something can come of this...who knows...or am I totally off track here?
Best,
Eric
_________________ Be not afraid to grow slowly, only be afraid of standing still.
Chinese Proverb
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15238 Location: Paradox Realm
|
Posted: Tue 24 Jun 2008, 13:00 Post subject:
|
|
Good idea Eric
I have registered with them
but not quite sure how to make use of their service as is
within twinkle?
_________________ YinYana AI Buddhism
|
Back to top
|
|
 |
Aitch

Joined: 04 Apr 2007 Posts: 6815 Location: Chatham, Kent, UK
|
Posted: Tue 24 Jun 2008, 13:21 Post subject:
|
|
Hello folks
I've so far only had one successful gizmo chat with puppyluvr,
though I've had messages successfully left on peoples answering m/c thingy
eric, hairywill & lobster have contacted me, but can't hear me - I can't
explain it - as I txted to lobster maybe because i'm stuck in win at the
moment
maybe its the sipserver itself
I've done a bit of trawling & found these links
http://www.voip-info.org/wiki-Linux
http://www.pernau.at/kd/voip/bookmarks-sip-stacks.html
http://www.pernau.at/kd/voip/bookmarks-sip-apps.html
and this looks promising
http://www.openser.org/mos/view/Features/
here's more info - linux voip howto
http://www.linux.org/docs/ldp/howto/VoIP-HOWTO.html
anyone fancy porting trixbox to puppy?
http://www.voip-info.org/wiki/view/trixbox
Aitch
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15238 Location: Paradox Realm
|
Posted: Tue 24 Jun 2008, 14:11 Post subject:
|
|
Good links Aitch
Maybe this Sip Server could be set up? - anyone up for it?
http://www.voip-info.org/wiki/view/SIP+Express+Router
_________________ YinYana AI Buddhism
|
Back to top
|
|
 |
Aitch

Joined: 04 Apr 2007 Posts: 6815 Location: Chatham, Kent, UK
|
Posted: Tue 24 Jun 2008, 18:41 Post subject:
|
|
Lobster
Just a thought
Could that SIP server or the OpenSer I linked to, or maybe Freeswitch, be somehow added to the community website, so that the Puppy community has it's own VOIP phone server?
Quote: | OpenSER can run on embedded systems, with limitted resources - the performances can be up to hundreds of call setups per second
OpenSER can be used in geographic distributed VoIP platforms
on systems with 4GB memory, OpenSER can serve a population over 300 000 online subscribers |
Anyone got any knowledge or experience with this type of thing?
Aitch
|
Back to top
|
|
 |
CEL

Joined: 02 Sep 2007 Posts: 24
|
Posted: Tue 24 Jun 2008, 23:26 Post subject:
Subject description: bunch o info |
|
smokey01 wrote: | I wonder if the Gizmo server might be the problem. Maybe we could try another SIP server, anyone got any suggestions. |
Gizmo's server is problematic. When I try to make calls through it, the sound quality is garbage. When I use a different server, it's much better, but still has the constant jitter.
If all you want to do is call a sip address, I don't think you need a server at all. You can run pjsua without a config file, maybe just with an --id argument for identification and --stun-srv in case stun is needed, and you should be able to make calls.
smokey01 wrote: | Has anyone tried an IP to IP connect yet? |
I've done this over my local network; it works well. The address just looks like sip:x.x.x.x
Using a STUN server with pjsua didn't help my calls. But then again, most of my calls were in my LAN and stun is basically for getting around firewalls... To try for yourself, add this line to your config file (this is to use Gizmo's stun server):
--stun-srv=stun01.sipphone.com
Aitch wrote: | Could that SIP server or the OpenSer I linked to, or maybe Freeswitch, be somehow added to the community website, so that the Puppy community has it's own VOIP phone server? |
I think a SIP server for the puppy community is a really nice idea. But would one of us be able to host it? It can't be embedded into a website, it's its own process. We also probably would not be able to dial out to regular phones from it.
Lobster,
here's a script we can add to PuppySIP. It uses a gtkdialog to allow easy set up of the account info in pjsua's config file. It could probably be optimized more, but it's functional right now. It uses /root/.pjsua as the location of the config file because I couldn't figure out how to reference the one inside the PS package. Also, the buttondialog window might need to be reorganized a little because when I tried adding another button, the window became too tall for my screen (800x480).
Code: | #!/bin/bash
#
# pjconfig.sh - Set up SIP account options for pjsua
export PJCFG='/root/.pjsua' # config-file
export DIALOG='
<vbox>
<hbox>
<text>
<label>Your SIP URL:</label>
</text>
<entry>
<input>sed -rn /^--id/s/^--id.//p /$PJCFG</input>
<variable>SIP_ID</variable>
</entry>
<text>
<label>ex: sip:yourname@proxy01.sipphone.com</label>
</text>
</hbox>
<hbox>
<text>
<label>Registrar URL:</label>
</text>
<entry>
<input>sed -rn /^--registrar/s/^--registrar.//p /$PJCFG</input>
<variable>SIP_REGISTRAR</variable>
</entry>
<text>
<label>ex: sip:proxy01.sipphone.com</label>
</text>
</hbox>
<hbox>
<text>
<label>Auth Realm:</label>
</text>
<entry>
<input>sed -rn /^--realm/s/^--realm.//p /$PJCFG</input>
<variable>SIP_REALM</variable>
</entry>
<text>
<label>ex: *</label>
</text>
</hbox>
<hbox>
<text>
<label>Username:</label>
</text>
<entry>
<input>sed -rn /^--username/s/^--username.//p /$PJCFG</input>
<variable>SIP_USERNAME</variable>
</entry>
<text>
<label>ex: yourname</label>
</text>
</hbox>
<hbox>
<text>
<label>Password:</label>
</text>
<entry invisible_char="*" visibility="false">
<input>sed -rn /^--password/s/^--password.//p /$PJCFG</input>
<variable>SIP_PASSWORD</variable>
</entry>
</hbox>
<hbox>
<button ok></button>
<button cancel></button>
</hbox>
</vbox>'
I=$IFS; IFS=""
for STATEMENTS in $(gtkdialog3 --program DIALOG --name PuppySIPConfig); do
eval $STATEMENTS
done
IFS=$I
if [ "$EXIT" = "OK" ]; then
sed -e /^--id/d -e /^--registrar/d -e /^--realm/d -e /^--username/d -e /^--password/d $PJCFG > /tmp/puppysiptmp
mv /tmp/puppysiptmp $PJCFG
echo "
--id $SIP_ID
--registrar $SIP_REGISTRAR
--realm $SIP_REALM
--username $SIP_USERNAME
--password $SIP_PASSWORD" >> $PJCFG
fi |
|
Back to top
|
|
 |
|
|
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
|