[OpenSIPS-Users] Info about rtpproxy and opensips working together on different hosts...

Laszlo laszlo at voipfreak.net
Thu Apr 22 18:37:08 CEST 2010


2010/4/22 Roberto Ovani <roberto.ebay at gmail.com>

>  Il mercoledì 21/04/10 14.30, Laszlo ha scritto:
>
>
>
> 2010/4/21 Roberto Ovani <roberto.ebay at gmail.com>
>
>> Il mercoledì 21/04/10 13.49, Laszlo ha scritto:
>>
>> gcc -v
>>
>> *The host with OPENSIPS :
>> *Using built-in specs.
>> Target: i486-linux-gnu
>> Configured with: ../src/configure -v --with-pkgversion='Ubuntu
>> 4.4.1-4ubuntu9' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
>> --enable-multiarch --enable-linker-build-id --with-system-zlib
>> --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
>> --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4
>> --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
>> --enable-targets=all --disable-werror --with-arch-32=i486
>> --with-tune=generic --enable-checking=release --build=i486-linux-gnu
>> --host=i486-linux-gnu --target=i486-linux-gnu
>> Thread model: posix
>> gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9)
>> *
>> The host with RTPPROXY : *
>> Using built-in specs.
>> Target: i486-linux-gnu
>> Configured with: ../src/configure -v --with-pkgversion='Ubuntu
>> 4.3.2-1ubuntu11' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
>> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
>> --enable-threads=posix --enable-nls
>> --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
>> --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr
>> --enable-targets=all --enable-checking=release --build=i486-linux-gnu
>> --host=i486-linux-gnu --target=i486-linux-gnu
>> Thread model: posix
>> gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) *
>>
>> *Thanks in advance
>> Roberto
>>
>
> By default it will compile with -O2 optimization. Can you recompile it with
> -O0
> Please run CFLAGS=-O0 ./configure, then make and make install and restart
> rtpproxy.
>
> -Laszlo
>
>
>
>
>
> I'm having problems with all: opensips-rtpproxy etc...
> so, I'm trying to show my system  :
> *
> 1st LOCATION *:
> Wan Side : opensips.roberto.org  (it's not real, but for example)
> Lan Side, there are:
> - opensips server (i forwarded 5060 udp to Opensips-server's lan address)
> - a sip client on a laptop, user 1003 (sjphone for mac)
>
> *2nd LOCATION* :
> Wan Side : rtpproxy.roberto.org
> Lan side, there are :
> - RtpProxy server (i forwarderd 7890udp to RTPPRoxy-Server's lan address,
> and also the range between udp 10000 and udp 64999, to be sure)
> - a sip client, user 1002 (X-Lite for windows)
>
> *3rd LOCATION (home-sweet-home)* :
> In the Lan, there's a Sip client, user 1000 (Sjphone on my macbook)
>
> In attachment, there's my opensips.cfg.
>
> I need to create a system that can make call everyone to everyother
> (independently from WHERE the clients ARE, if in the same lan as servers, or
> behind nats, etc... )
>
> Could you please tell me some example cfg code for this purpose?
>
> If you need, I also have logs from Opensips-server-host and from
> RTPProxy-host (var/log/syslog) and a bit of tcpdump. This log refers to a
> call from 1000 to 1003 and from 1003 to 1000.
>
> I used the one from Gonçalves' Book (about opensips 1.6), but I'm having
> problems.... I'm also a newbie, so it's still a bit hard for me to have a
> complete vision of everything in this voip system....
>
>
> Thanks in advance
> Roberto
>
>
Did you recompile rtpproxy like how I mentioned?
BTW, I have found something, maybe it can be interesting for you too(and can
be related to your problem):

http://www.mail-archive.com/users@rtpproxy.org/msg00113.html

-Laszlo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100422/c0119efc/attachment-0001.htm 


More information about the Users mailing list