Daniel,
Thank you for your reply.
----------------------- | CentOS5.4 | ----------- -------- | ---- --- ---- | | CentOS5.4 | |Internet|--|eth0|---|br0|---|eth1|----| Asterisk | -------- | ---- --- ---- | ----------- | Kamailio + rtpproxy | -----------------------
br0 has a static Public IPv4 address a.b.c.d, and acts as a bridge between eth0 and eth1. Both eth0 and eth1 do not have IPv4 addresses.
The box running Asterisk also has a public IPv4 address a.b.c.e
The default config file for Kamailio Kamailo.cfg has been edited to include Nat and mysql support. I need Kamailio to function as a proxy by forwarding all SIP signaling information to Asterisk.
Rtpproxy is started using rtpproxy -l a.b.c.d -s udp:127.0.0.1:7722 -r /var/log -a -S /root/rtpproxy
then Kamailio is started to listen on 127.0.0.1:5060 and a.b.c.d:5060
I make a test call using x-lite softphone registered with Asterisk, however rtpproxy does not seem to record the session at all. I have checked the directory to make sure the permissions are alright.
Is there something i am missing here ?
Thanks and Regards, Vikram.
Daniel-Constantin Mierla wrote:
Hello,
On 1/12/10 1:11 AM, Vikram Ragukumar wrote:
Hello,
I have setup Kamailio(v1.5) and Rtpproxy(v1.2.1) on a Centos5.4 linux box. Kamailio's config file has been edited to include Nat and mysql support. With Kamailio running, i started rtpproxy using
rtpproxy -l ip_addrs -s udp:127.0.0.1:7722 -a -r /var/log -F
However rtpproxy does not seem to be recording any session. I read that the -a switch can be used to record all sessions.
Am i missing a switch/doing something wrong while invoking rtpproxy ?
maybe you must give parameter -S /path/to/spool/dir as well. See man rtpproxy.
Cheers, Daniel