Nope, I have down loaded latest rtpproxy and compiled on linux and running rtpproxy without any parameters on same machine of SER.
How to enable debug on rtpproxy ?
Do I need to pass any parameters for rtpproxy ???
Do I need to set any info regarding rtp proxy in ser.cfg file ?
Please find my attached ser.cfg which is usedfor this test.
Regards, KRC
On Fri, 9 Jul 2004 08:48:15 +0200, Andrei Pelinescu-Onciul pelinescu-onciul@fokus.fraunhofer.de wrote:
On Jul 09, 2004 at 09:47, Karunakar Chemudugunta voicexml@gmail.com wrote:
Nope, I have down loaded latest rtpproxy and compiled on linux and running rtpproxy without any parameters on same machine of SER.
Try to see after you start rtpproxy, if /var/run/rtpproxy.sock is created and is writtable by the user under which ser runs.
How to enable debug on rtpproxy ?
You can't, it doesn't really have a debugging mode.
Do I need to pass any parameters for rtpproxy ???
No, unless you want to use a non-default socket or udp mode.
Do I need to set any info regarding rtp proxy in ser.cfg file ?
Please find my attached ser.cfg which is usedfor this test.
Andrei
Andrei, Thanks for your answers and still I am getting same problem.
Do you think, it is version problem ? I am using ser from cvs branch and laterst rtpproxy.
Nope, I have down loaded latest rtpproxy and compiled on linux and running rtpproxy without any parameters on same machine of SER.
Andrei> Try to see after you start rtpproxy, if /var/run/rtpproxy.sock is created and is writtable by the user under which ser runs.
Karun> Both processes are running under root user and it has both read and write problems. /var/run/rtpproxy.sock has both read and write permissions.
ls -al command for rtpproxy.sock ----------------------------------------------------------------------------------------------------------------- [root@engcasip002 run]# ls -al rtpproxy.sock srwxr-xr-x 1 root root 0 Jul 10 14:46 rtpproxy.sock ------------------------------------------------------------------------------------------------------------------
Do I need to pass any parameters for rtpproxy ??? Andrei> No, unless you want to use a non-default socket or udp mode.
Karun> What is UDP mode ?
Thanks, Karun On Sat, 10 Jul 2004 21:40:24 +0200, Andrei Pelinescu-Onciul pelinescu-onciul@fokus.fraunhofer.de wrote:
On Jul 10, 2004 at 15:03, Karunakar Chemudugunta voicexml@gmail.com wrote:
No, if you are using latest rtpproxy from cvs and nathelper from unstable.
Please send me the output of: head -1 sip_router/modules/nathelper/nathelper.c and grep Id: rtpproxy/main.c
It might also be a false alarm, e.g. you start first ser and then rtpproxy => you'll get some rtpproxy not found errors on startup, but once rtpproxy is started + 1 minute it should start to work.
If it still does not work, send me also the output of: netstat -axep |grep rtpproxy
The unstable nathelper & rtpproxy can use UDP instead of unix sockets for communicating between them. This means you can have ser+nathelper on one machine and rtpproxy on another one.
Andrei
Hi Andrei,
Here, I am sending outputs for commands which you requested below.
Please send me the output of:
1) head -1 sip_router/modules/nathelper/nathelper.c
output => /* $Id: nathelper.c,v 1.52 2004/06/22 17:43:18 andrei Exp $
2) grep Id: rtpproxy/main.c
Output=> * $Id: main.c,v 1.1.1.1 2004/01/05 21:03:36 sobomax Exp $
netstat -axep |grep rtpproxy
output => unix 2 [ ACC ] STREAM LISTENING 9881 8569/rtpproxy /var/run/rtpproxy.sock
Still it is not working and please let me know if any mismatch in software versions.
Thanks, Karun
On Mon, 12 Jul 2004 12:12:38 +0200, Andrei Pelinescu-Onciul pelinescu-onciul@fokus.fraunhofer.de wrote:
On Jul 12, 2004 at 09:10, Karunakar Chemudugunta voicexml@gmail.com wrote:
You are using an old version of rtpproxy (probably the one that works with the stable nathelper).
Get the latest one ($Id: main.c,v 1.19 ) from the cvs.
( cvs -d:pserver:anonymous@cvs.ser.berlios.de:/cvsroot/ser co rtpproxy )
Andrei