Posted: Tue 24 Jun 2008, 11:48
but it has a dependency on qtsmokey01 wrote:Twinkle. Is quite small and open source.
but it has a dependency on qtsmokey01 wrote:Twinkle. Is quite small and open source.
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.smokey01 wrote:Will, what is the issue with QT dependencies?
Anyone got any knowledge or experience with this type of thing?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
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.smokey01 wrote:I wonder if the Gizmo server might be the problem. Maybe we could try another SIP server, anyone got any suggestions.
I've done this over my local network; it works well. The address just looks like sip:x.x.x.xsmokey01 wrote:Has anyone tried an IP to IP connect yet?
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):Caneri wrote:look here http://numb.viagenie.ca/
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.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?
Code: Select all
#!/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
Code: Select all
--id sip:crusty_lobster@proxy01.sipphone.com
--registrar sip:proxy01.sipphone.com
--realm *
--username crusty_lobster
--password *******
Code: Select all
#!/bin/bash
# GPL v3 License
# PS v 0.5 June 25 008
# created by Lobster, CEL, HairyWill
###################
export PJCFG='config2.cfg' # config-file
export DIALOG='
<window title="PS" window-position="1">
<vbox>
<hbox>
<text><label>PS5 ~ frontend for PJSUA VOIP ~ Puppy Community June 25 2008</label></text>
</hbox>
<frame>
<pixmap>
<input file>logo.jpg</input>
</pixmap>
<text><label>Fill in details and save config</label></text>
<text><label>Click PJSUA to run - Press return in console for menu options</label></text>
</frame>
<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>
<text>
<label>Save config details</label>
</text>
<button ok></button>
<button>
<label>Run PJSAU</label>
<action>rxvt -e ./pjsua --config-file=config2.cfg &</action>
</button>
<button cancel></button>
</hbox>
</vbox>
</window>'
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
Code: Select all
sip:crusty_lobster@proxy01.sipphone.com
Code: Select all
sip:my_gizmo_name@proxy01.sipphone.com
Code: Select all
my_gizmo_name
Code: Select all
pjsua --config-file=config2.cfg sip:+447833111111@proxy01.sipphone.com