login | register
Sat 17 of May, 2008 [05:28 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Juan Ortega, Thu 15 of May, 2008 [10:33 UTC]: Hi everybody, I'm Juan, an ITCom student, and I need to know what basic elements I need to create a VoIP network. Can anybody helpme, please?,Thank you very much
  • gineta, Wed 14 of May, 2008 [03:58 UTC]: any here not fine the configuration of firewall juniper -screem for VOIP asterisk????
  • Anoop Prabhakaran, Tue 13 of May, 2008 [12:16 UTC]: I am developing Asterisk IVR, Whenever i make a internation call to the IVR system, the DTMF is not getting detected properly, this happens only for the first time, second call onwards system works fine. why this is happening
  • joe, Mon 12 of May, 2008 [04:27 UTC]: Is there an opensource browser based softphone, or a system like Busta where everything is not manages through their website?
  • Nick Barnes, Fri 09 of May, 2008 [11:36 UTC]: Christopher - yesterday I tried an Asterisk install on a CentOS 5.1 box with stock GUI and it all worked fine. Sorry I can't help.
  • aero, Fri 09 of May, 2008 [08:20 UTC]: can someone help me out on this, i tried to play some sound files on my asterisk box and this is the error message i got. WARNING[4429]: format_wav.c:169 check_header: Unexpected freqency 22050 May 8 11:17:39 WARNING[4433]: codec_gsm.c:194 gsmtolin_fra
  • Christopher Faust, Thu 08 of May, 2008 [14:15 UTC]: I beleive that I may have to change something in the xserver configuration. Please advise
  • Christopher Faust, Thu 08 of May, 2008 [14:14 UTC]: Everything was perfect. In the bios I have increased the memory allocated Still receive input not supported on my display.
  • Christopher Faust, Thu 08 of May, 2008 [14:13 UTC]: This would not be my main box. I am doing some testing to see if I can install zaptel and asterisk 1.4 on a full centos 5.1 box with development software Its bizzare, because before I went through the asterisk and zaptel installation everything was perfe
  • Nick Barnes, Thu 08 of May, 2008 [13:44 UTC]: Christopher - I can't see any way in which an Asterisk installation would muck your GUI, but remember that it is advised not to use a GUI on an Asterisk box anyway.
Server Stats
  • Execution time: 0.38s
  • Memory usage: 2.18MB
  • Database queries: 32
  • GZIP: Disabled
  • Server load: 0.40

Xtunnels

Image
Counterpath


Counterpath offers a free NAT solution for all their Softphones.

http://www.xtunnels.org

Installation Help


1. Deploy XTunnels binaries from xtunnels.tar.gz to the destination directory, e.g. /usr/pkg/bin or /usr/local/bin.

For FreeBSD:
tar xpvzf XTunnels-2-FreeBSD.tar.gz -C /usr/local

For NetBSD:
tar xpvzf XTunnels-2-NetBSD.tar.gz -C /usr/pkg

For Linux:
tar xpvzf XTunnels-2-Linux.tar.gz -C /usr/local

2. Configure MySQL server to define a user account for XTunnels e.g. 'xtunnels' and create a new database, e.g. 'xtunnels'. Then make sure that you can connect the MySQL server from the XTunnels host via 'mysql -u <username> -pxtunnels' command.

3. Run the SQL script attached below to create 'users' table in 'xtunnels' database. This table contains the authentication data for XTunnels clients.

CREATE TABLE users (
  id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
  name VARCHAR(60) NOT NULL,
  password CHAR(64) NOT NULL,
  PRIMARY KEY(id)
) TYPE = innodb;

4. Based on your environment, you may want to modify xtunnels.sh script, especially XTUNNELS_BIN and XTUNNELS_LOG variables as well as xtunnels command line options. XTunnels server does not have to run as root, but you have to provide sufficient permissions, such as writing to a log file etc. Based on your MySQL server location and settings, you may need to modify the following command line options:

--db-addr 127.0.0.1:3306 # database host
--db-name xtunnels # database name
--db-user xtunnels # database user
--db-pass password # database password

--sock-intf <interface name> # network interface to use for client sockets

For all other option inquiries run 'xtunnels --help' command.

6. Every XTunnels server has its own realm defined via command line. You may change it in xtunnels.sh script by modifying the line:

--serv-realm "xtunnels realm"

7. Before you connect XTunnels server with your client first time, you need to create a new user record in 'users' database table. The password hash is calculated via the following scheme:

MD5('<username>:<realm>:<password>')

For example, if the user name is 'tester', password is 'password' and the XTunnels realm is 'xtunnels realm', you can calculate a new password hash via the following command:

md5 -s "tester:xtunnels realm:password"

The output is MD5 ("tester:xtunnels realm:password") = 5fe1b55ac8338a44ecf522f8ae389710, i.e. you will run the following SQL statement:

INSERT INTO users (name, password) VALUES ('tester', '5fe1b55ac8338a44ecf522f8ae389710');

8. When you start XTunnels server via 'xtunnels.sh start' command, you should be able to connect the server with your client (tester:password). Please make sure you use XTunnels version 2 client, as the protocols version 1 and 2 are not compatible.

9. You may insert/remove/modify users in MySQL database "on the fly", without restarting XTunnels server.

10. For more information about XTunnels command line options, please run 'xtunnels --help'.


Gotcha's


  • Whatever you choose as your port in your xtunnels.sh must be entered in along with the address in your Xtunnels config section of Xlite as follows: server.com:portno
  • When testing various port numbers etc, you may need to restart your softphone. A simple shutdown and restart of the softphone may fix the issue.
  • If you don't have the command "md5" on your linux box, you can grab it here: http://www.fourmilab.ch/md5/
  • Be sure to change the log level to something other than "debug". As calls are made through Xtunnels your log file will start to eat up your disk space fairly quickly.
Created by Isaac McDonald, Last modification by Isaac McDonald on Tue 19 of Jun, 2007 [22:52 UTC]

Comments Filter

Universal solution - not only for X-Lite

by BoresExpress on Thursday 13 of December, 2007 [17:56:46 UTC]
For now the only app that supports XTulles is X-Lite.
But you can use universal solution - SipTunnel (http://siptunnel.sf.net). It can act as client and server and works with any softphone.

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver