[Serusers] ser+nathelper+rtpproxy / can't read reply from a RTP proxy

Akira OKUBO akira at access-sys-eu.com
Tue Oct 19 11:16:15 CEST 2004


Hi Marian,

Thank you! I'll try.

Regards/Akira

--- original message ---

> Hi Akira,
> 
> try to explicitly set in ser the UNIX socket used by rtpproxy by:
> 	modparam("nathelper","rtpproxy_sock", "/var/run/rtpproxy.sock")
> 
> also please use the latest version of rtpproxy (it can be some version 
> interoperability problems) - use the CVS repository of ser from Berlios 
> (http://developer.berlios.de/projects/ser).
> 
> 
> Best regards,
> Marian Dumitru
> 
> 
> Akira OKUBO wrote:
> > Hi,
> > 
> > I have just installed ser this week.
> > It's very cool and happy to find FreeBSD port of it.
> > 
> > Anyway,
> > I have rtp proxy connection problem of ser+nathelper+rtpproxy system.
> > To refer console log, it seems no communication between ser and rtpproxy.
> > 
> > Does anyone know how to fix it?
> > 
> > ------
> > gw# /usr/local/sbin/ser -D -E
> > -Listening on
> > :
> > :
> > stateless - initializing
> > Maxfwd module- initializing
> >  0(47772) mod_init(): Database connection opened successfuly
> > textops - initializing
> >  0(0) INFO: udp_init: SO_RCVBUF is initially 41600
> >  0(0) INFO: udp_init: SO_RCVBUF is finally 231936
> >  0(0) WARNING: using only the first listen address (no fork)
> >  2(47774) INFO: fifo process starting: 47774
> >  1(47773) ERROR: send_rtpp_command: can't read reply from a RTP proxy
> >  1(47773)  2(47774) WARNING: rtpp_test: can't get version of the RTP proxy
> > ERROR: send_rtpp_command: can't read reply from a RTP proxy
> >  1(47773)  2(47774) WARNING: rtpp_test: support for RTP proxyhas been
> >  disabled temporarily
> > ------
> > 
> > Here is my environmnet:
> > 
> > OS         : FreeBSD 4.10-RELEASE-p2
> > ser version: ser 0.8.14-2 (i386/freebsd)
> >     get stable version from CVS, since port version is still 0.8.12...
> > nathelper  : get from CVS 14-Oct-2004
> > 
> > I run ser and rtpporoxy as root user to avoid permission issue.
> > and /var/run looks no problem.
> > srwxr-xr-x   1 root  wheel        0 Oct 15 14:53 rtpproxy.sock
> > 
> > 
> > ----
> > # ----------- global configuration parameters ------------------------
> > 
> > debug=3         # debug level (cmd line: -dddddddddd)
> > #fork=yes
> > #log_stderror=no        # (cmd line: -E)
> > 
> > 
> > -----
> > /* Uncomment these lines to enter debugging mode
> > */
> > fork=no
> > log_stderror=yes
> > 
> > check_via=no    # (cmd. line: -v)
> > dns=no           # (cmd. line: -r)
> > rev_dns=no      # (cmd. line: -R)
> > port=5060
> > children=4
> > fifo="/tmp/ser_fifo"
> > #fifo_mode=0666
> > 
> > ### temporary for ser to write/read /var/run/rtpproxy.sock
> > #uid="nobody"
> > #gid="nobody"
> > # ------------------ module loading ----------------------------------
> > 
> > # Uncomment this if you want to use SQL database
> > loadmodule "/usr/local/lib/ser/modules/mysql.so"
> > 
> > loadmodule "/usr/local/lib/ser/modules/sl.so"
> > loadmodule "/usr/local/lib/ser/modules/tm.so"
> > loadmodule "/usr/local/lib/ser/modules/rr.so"
> > loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
> > loadmodule "/usr/local/lib/ser/modules/usrloc.so"
> > loadmodule "/usr/local/lib/ser/modules/registrar.so"
> > loadmodule "/usr/local/lib/ser/modules/textops.so"
> > 
> > # Uncomment this if you want digest authentication
> > # mysql.so must be loaded !
> > loadmodule "/usr/local/lib/ser/modules/auth.so"
> > loadmodule "/usr/local/lib/ser/modules/auth_db.so"
> > 
> > # !! Nathelper
> > loadmodule "/usr/local/lib/ser/modules/nathelper.so"
> > 
> > # ----------------- setting module-specific parameters ---------------
> > 
> > # -- usrloc params --
> > modparam("usrloc", "db_url", "sql://ser:ser@localhost/ser")
> > 
> > #modparam("usrloc", "db_mode",   0)
> > 
> > # Uncomment this if you want to use SQL database
> > # for persistent storage and comment the previous line
> > modparam("usrloc", "db_mode", 2)
> > 
> > # -- auth params --
> > # Uncomment if you are using auth module
> > #
> > modparam("auth_db", "calculate_ha1", yes)
> > #
> > # If you set "calculate_ha1" parameter to yes (which true in this config),
> > # uncomment also the following parameter)
> > #
> > modparam("auth_db", "password_column", "password")
> > 
> > # -- rr params --
> > # add value to ;lr param to make some broken UAs happy
> > modparam("rr", "enable_full_lr", 1)
> > 
> > # !! Nathelper
> > modparam("registrar", "nat_flag", 6)
> > modparam("nathelper", "natping_interval", 30) # Ping interval 30 s
> > modparam("nathelper", "ping_nated_only", 1)   # Ping only clients behind NAT
> > 
> > :
> > :
> > :
> > 
> > Thanks in advance!
> > 
> > *~~*~~*~~*~~*~~*~~*~~*~~*~~*~~*~~*~~*
> >           Akira Okubo  <akira at access-sys-eu.com>
> > 
> > 
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> > 
> 
> -- 
> Voice Sistem
> http://www.voice-sistem.ro

*~~*~~*~~*~~*~~*~~*~~*~~*~~*~~*~~*~~*
          Akira Okubo  <akira at access-sys-eu.com>
          Access Systems Europe GmbH.  
          TEL:     +49-(0)208-8290-6436 /(FAX)6465
          Mobile : +49-(0)163-8290-652





More information about the sr-users mailing list