HOW TO: SIP Setup for VoipDiscount, VoipBuster, etc

From Internet Tablet Talk

Here is a "how to" for setting up your N8x0 to use certain VOIP services with the included SIP client (aka RTCOMM). Those steps are known to be working on OS2008.

STEP 1: Install (latest) RTCOMM beta

If you don't have the RTCOMM beta installed or you don't have the latest version check this for instructions: http://rtcomm.garage.maemo.org/

STEP 2: Disable the iLBC codec

From: https://bugs.maemo.org/show_bug.cgi?id=1699

You can make voip[catchyword].com work by disabling the iLBC codec. Here's how to do it in the on-screen terminal or an SSH shell
The becomeroot needs to be installed. (If you need it get it from http://eko.one.pl/maemo/dists/bora/user/binary-armel/becomeroot_0.1-2_armel.deb)

sudo gainroot
cd /usr/lib/gstreamer-0.10
mv libgstdspilbc.so libgstdspilbc.so.off
exit

STEP 3a: Add new profiles in RTCOMM

If you want to add the profiles get them from here: http://www.internettablettalk.com/forums/showthread.php?t=16447

The advantage is that the profile includes all the correct settings.

STEP 3b: Settings for Manual Configuration

If you didn't follow STEP 3a and prefer to do this manually here are the settings known to be working (otherwise you can skip):

Username: [username]@sip.voipbuster.com (replace voipbuster with appropriate value)
Password: [password]

Advanced Settings:

  • ConnectionTransport: UDP
  • Outgoing Proxy: sip.voipbuster.com (replace voipbuster with appropriate value)
  • Port: 5060
  • Discover public address? Yes
  • Keep-alive mechanism: Auto
  • Keep-alive frequency: 0

Advanced: Authentication

  • Authentication username: [empty]
  • Password: [empty]

Advanced: STUN

  • Auto-detect STUN? [untick]
  • STUN server: stun.voipbuster.com (replace voipbuster with appropriate value)
  • STUN port: 3478

STEP 4: Account Setup

In the Applications menu go to:
Settings > Accounts New
Choose: New then Next.

If you followed step 3a:

  • choose the voidiscount or voipbuster profile
  • enter you username and password
  • press Finish.

If you followed step 3b:

  • choose the SIP profile
  • enter you username and password
  • press Advanced
  • follow the steps in the wizard and enter the settings given in step 3b.

Additions: Script to Toggle ON/OFF the iLBC codec

For those in need to enable/disable frequently the iLBC codec (e.g. some people reported that disabling iLBC breaks Gismo) here is a simple script to do this. (Note: It uses the 'becomeroot' program for getting the superuser rights.)

Copy the script in a text-file, name it "do_ilbctoggle.sh" and place it in: /home/user/

Give the 'execute' permission in the script: chmod +x do_ilbctoggle.sh

Usage: ./do_ilbctoggle.sh

Example:

~ $ ./do_ilbctoggle.sh
Root shell enabled
iLPBC codec has been DISABLED
~ $ ./do_ilbctoggle.sh
Root shell enabled
libgstdspilbc.so.off
iLPBC codec has been ENABLED

The code you need to put in a text-file and give it the proper rights!

#!/bin/sh
# Toggle on/off the iLBC codec
path=/usr/lib/gstreamer-0.10;
if [ `id -u` != 0 ] ; then
   exec sudo gainroot <<EOF
exec sh $0 $*
EOF
exit $?
fi  
if ls $path | grep -s libgstdspilbc.so.off; then
     mv $path/libgstdspilbc.so.off $path/libgstdspilbc.so && echo iLPBC ENABLED
  else 
     mv $path/libgstdspilbc.so $path/libgstdspilbc.so.off && echo iLPBC DISABLED
fi

note: if you need a text editor you can use "leafpad"; search for it in http://www.gronmayer.com/it/


All times are GMT -4. The time now is 01:51 AM.