[Serdev] Re: [Serusers] nathelper updated to support RTP

Yang Xiang yang.xiang at iitb.fraunhofer.de
Tue Jul 29 17:45:58 UTC 2003


I replaced AF_LOCAL with AF_UNIX (PF_LOCAL is not defined) and commented out
the sun_len line. So, nathelper works now.

However, I am not sure whether the function force_rtp_proxy will work too.
I'll test the rtp proxy tomorrow and report you the result.

Regards

Yang


----- Original Message -----
From: "Maxim Sobolev" <sobomax at portaone.com>
To: "Yang Xiang" <yang.xiang at iitb.fraunhofer.de>
Cc: <serdev at lists.iptel.org>; "Ricardo Villa" <ricvil at epm.net.co>
Sent: Monday, July 28, 2003 11:20 PM
Subject: Re: [Serdev] Re: [Serusers] nathelper updated to support RTP


> Try to replace AF_LOCAL with PF_LOCAL and comment out all statements
> involving sun_len. Please let me know if it helps. Alternatively, please
> consider providing me with a shell access to your Solaris box, so that I
> can debug it there on my own.
>
> Thanks!
>
> -Maxim
>
> Yang Xiang wrote:
>
> > Hi,
> >
> > this is exactly the same problem I reported to Maxim last week. As I
have
> > pointed out "sun_len" and "AF_LOCAL" are not defined in sys/un.h on
solaris.
> >
> > Hope Maxim would like to fix this bug because I also think nathelper is
a
> > very useful module and want to use it for solaris too.
> >
> > best regards
> >
> > yang
> >
> >
> >
> >>Date: Thu, 24 Jul 2003 14:26:27 -0500
> >>From: "Ricardo Villa" <ricvil at epm.net.co>
> >>Subject: [Serdev] Re: [Serusers] nathelper updated to support RTP
> >>proxy
> >>To: "Maxim Sobolev" <sobomax at portaone.com>, <serusers at lists.iptel.org>
> >>Cc: serdev at lists.iptel.org
> >>Message-ID: <008301c35219$aea7abf0$ce31812f at sunnyvale>
> >>Content-Type: text/plain; charset="koi8-r"
> >>
> >>Hi Maxim,
> >>
> >>make[1]: Entering directory
> >>`/opt/software/sip/ser8.11/src/ser-0.8.11pre29/modules/nathelper'
> >>../../Makefile.rules:77: nathelper.d: No such file or directory
> >>../../Makefile.rules:77: nhelpr_funcs.d: No such file or directory
> >>make[1]: Leaving directory
> >>`/opt/software/sip/ser8.11/src/ser-0.8.11pre29/modules/nathelper'
> >>make[1]: Entering directory
> >>`/opt/software/sip/ser8.11/src/ser-0.8.11pre29/modules/nathelper'
> >>
> >
> >
gcc -fPIC -DPIC -g -O9 -funroll-loops   -Wall  -mcpu=ultrasparc -mtune=ultra
> >
> >
sparc  -m32      -DNAME='"ser"' -DVERSION='"0.8.11pre29"' -DARCH='"sparc64"'
> >
>
>> -DOS='"solaris"' -DCOMPILER='""' -D__CPU_sparc64 -D__OS_solaris -DCFG_DIR
> >
> > ='
> >
> >
"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -DADAPTIVE_WAIT -D
> >
> >
ADAPTIVE_WAIT_LOOPS=1024 -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE
> >
>
>>-DDBG_QM_MALLOC  -DFAST_LOCK -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -D
> >
> > HA
> >
> >>VE_SCHED_YIELD -c nathelper.c -o nathelper.o
> >>nathelper.c: In function `extract_mediaport':
> >>nathelper.c:465: warning: subscript has type `char'
> >>nathelper.c: In function `get_rtpp_port':
> >>nathelper.c:604: `AF_LOCAL' undeclared (first use in this function)
> >>nathelper.c:604: (Each undeclared identifier is reported only once
> >>nathelper.c:604: for each function it appears in.)
> >>nathelper.c:608: structure has no member named `sun_len'
> >>make[1]: *** [nathelper.o] Error 1
> >>make[1]: Leaving directory
> >>`/opt/software/sip/ser8.11/src/ser-0.8.11pre29/modules/nathelper'
> >>#
>
>>-------------------------------------------------------------------------
> >>
> >>Can help us with this please.   This is a very useful module and we
would
> >>like to use it on a Sun Server too.
> >>
> >>Thanks,
> >>Ricardo Villa
> >
> >
> >
> > _______________________________________________
> > Serdev mailing list
> > serdev at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serdev
> >
> >
> >
>
>
>




More information about the Serdev mailing list