[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Partysip-dev] Problems getting started
From: |
Aymeric Moizard |
Subject: |
Re: [Partysip-dev] Problems getting started |
Date: |
Thu, 16 Jan 2003 23:50:01 +0100 (CET) |
On Thu, 16 Jan 2003, Craig Graham wrote:
> I have a Linux box acting as a NAT gateway for a few Windows PCs. I am
> trying to use Messenger to talk to people elsewhere via sip.
great!
> I've downloaded and installed libosip, partysip and the new version of
> iptables and cannot get partysip to start if I have nat=on in the config
> file.
You need to specify three elements:
nat = on
if_ext = ppp0
if_lan = eth0
if_ext is your external IP public interface.
if_lan is your lan interface.
> If I comment out the line or change it to nat=off then the server runs
> and Messenger can sign into it but cannot connect offsite. This is the
> diagnostic output with nat=on
>
> address@hidden init.d]# /usr/local/bin/partysip -d6
> Server: WellX Telecom/Partysip/0.5.3
> Debug level: 6
> Config name: /usr/local/etc/partysip/partysip.conf
> ServerIP: 62.49.23.210
> ServerName: gate.twolips-translations.co.uk,
> splosh.twolips-translations.co.uk, twolips-translations.co.uk
> ServerRealm: '"twolips-translations.co.uk"'
> Log name: Standard output
> | INFO2 | <../../src/psp_core.c: 307> serverip token 0: '62.49.23.210'
at least, you have two interface, your public IP and your lan ip.
You have to specify both in the serverip list to avoid issue.
> | INFO2 | <../../src/psp_core.c: 262> servername token 0:
> 'gate.twolips-translations.co.uk'
> | INFO2 | <../../src/psp_core.c: 262> servername token 1:
> 'splosh.twolips-translations.co.uk'
> | INFO2 | <../../src/psp_core.c: 262> servername token 2:
> 'twolips-translations.co.uk'
> | INFO2 | <../../src/psp_osip.c: 61> osip module: Exiting!
> ERROR: Could not initialize partysip!
> | INFO1 | <../../src/main.c: 192> program has terminated.
>
>
> I had some problems compiling; setting the shell variable "-DALPHA_FIREWALL"
> did not seem to do anything, so I had to manually add it in the
> config.status file after running configure and before running make. It does
> not show up in partysip -V, although it does now show up in
> partysip-configure. Here is the relevant output;
>
> address@hidden init.d]# /usr/local/bin/partysip-config --cflags
> -I/usr/local/include -g -O2 -DOSIP_MT -D_REENTRANT -D_THREAD_SAFE -DXOPEN_SO
> URCE=500 -pedantic -DUSE_TMP_BUFFER -DALPHA_FIREWALL -DDENABLE_DEBUG -g -DEN
> ABLE_TRACE -DPSP_SERVER_PREFIX="/usr/local"
-DALPHA_FIREWALL is present above!
> address@hidden init.d]# /usr/local/bin/partysip -V
> Server header: WellX/partysip-0.5.3
> Server version: Partysip/0.5.3
> Global Config File /usr/local
> Server built: Jan 15 2003 14:49:34
> Server's interface: O.1
> Architecture: 32-bit
> Server compiled with....
> -DSTDC_HEADERS
> -DHAVE_ASSERT_H
> -DHAVE_CTYPE_H
> -DHAVE_DLFCN_H
> -DHAVE_FCNTL_H
> -DHAVE_MALLOC_H
> -DHAVE_SEMAPHORE_H
> -DHAVE_SIGNAL_H
> -DHAVE_STDARG_H
> -DHAVE_STDDEF_H
> -DHAVE_STDIO_H
> -DHAVE_STDLIB_H
> -DHAVE_STRING_H
> -DHAVE_STRINGS_H
> -DHAVE_SYS_SEM_H
> -DHAVE_SYS_SIGNAL_H
> -DHAVE_SYS_SOCKET_H
> -DHAVE_SYS_TIME_H
> -DHAVE_SYS_TYPES_H
> -DHAVE_TIME_H
> -DHAVE_UNISTD_H
> -DHAVE_VARARGS_H
> -DPSP_SERVER_INSTALL_DIR=/usr/local
You don't have to worry about the absence of ALPHA_FIREWALL here.
If you need more (firewall is an experimental feature), send me
your partysip.conf configuration.
Even if working, I'd like feeback!
Aymeric
> address@hidden init.d]#
>
> Here's the evidence that I have the latest libosip;
>
> address@hidden init.d]# ls -l /usr/local/lib/libosip*
> lrwxrwxrwx 1 root root 22 Jan 8 22:19
> /usr/local/lib/libosip-0.8.8.so.0 -> libosip-0.8.8.so.0.0.0*
> -rwxr-xr-x 1 root root 346785 Jan 8 22:19
> /usr/local/lib/libosip-0.8.8.so.0.0.0*
> lrwxrwxrwx 2 root root 22 Jan 15 07:57
> /usr/local/lib/libosip-0.9.3.so.0 -> libosip-0.9.3.so.0.0.0*
> -rwxr-xr-x 1 root root 373407 Jan 15 07:57
> /usr/local/lib/libosip-0.9.3.so.0.0.0*
> -rw-r--r-- 1 root root 1093890 Jan 15 07:57
> /usr/local/lib/libosip.a
> -rwxr-xr-x 1 root root 725 Jan 15 07:57
> /usr/local/lib/libosip.la*
> lrwxrwxrwx 1 root root 22 Jan 15 07:57
> /usr/local/lib/libosip.so -> libosip-0.9.3.so.0.0.0*
>
> I've now been through everything I can think of and hope you can suggest
> something!
>
> --
> Dr. Craig Graham, Software Engineer
> Advanced Analysis and Integration Limited, UK. http://www.aail.co.uk/
>
>
>
>
>
> _______________________________________________
> Partysip-dev mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/partysip-dev
>