On Mon, Jul 26, 2010 at 9:57 AM, Randall Degges <rdegges@gmail.com> wrote:
Hi everyone,
Hi Randall,
I'm a new freeswitch user, and I'm basically trying to use it as a SIP proxy / media proxy (RTP) for handling some SIP phones. Basically, I'm trying to install freeswitch (latest) on a ubuntu-server 10.04 64-bit box, and get everything running smoothly. The requirements I'd like to meet are:
Another way it to build the packages: aptitude install build-essential cd freeswitch.git dpkg-buildpackage
- Freeswitch can be controlled via normal ubuntu init scripts (eg: service freeswitch start|stop|restart). This is in the pkg.
- Freeswitch starts on system boot. Edit /etc/default/freeswitch
- Freeswitch binaries are accessible in the default user PATH variable (so that I can simply type 'fs_cli' from the command line). - Freeswitch logs to the appropriate locations in /var/log/ (or wherever the suggested location is). Currently, the debian/ubuntu package doesn't respect FHS (man hier). But you can add symlink: /var/log/freeswitch -> /opt/freeswitch/log and /usr/sbin/{freeswitch,fs_cli}.
I've found the install guide (http://wiki.freeswitch.org/wiki/Installation_Guide) really confusing so far. Agree.
Unless I'm crazy, the top of the install guide says to always install from the git repo (latest), which I also take to mean that one should not install from any OS packages, etc. But you can also package from git,see above.
So what I've tried is: 1. Cloned the git repo. 2. Installed all OS dependency packages. 3. Built from the git repo using the following commands: ./bootstrap.sh ./configure --enable-core-odbc-support sudo make all install sounds-install moh-install Up to this point, everything works great. Everything compiles, all files are located in /usr/local/freeswitch/ which seems good, and things look great. Here are the problems I'm having at this point, which I'm not sure how to resolve: ... see above.
Regards Mathieu Parent