Hello,
run kamailio and rtpproxy in debug mode to see what happens when a call that comes for ipv4/ipv6 traslation. Also, what the sip traffic to see if the sdp of INVITE/200ok is updated properly.
Cheers, Daniel
On 12/3/10 11:16 AM, Komáromi Péter wrote:
Hello!
I forgot from my previous letter to following information: my IPv4 users` name starts with `4`, and the iv6s` starts with `6`. I start the rtpproxy like this: rtpproxy -F -l 192.168.124.165 -6 /fec0::2
Regards, Peter
Previous letter:
Hello!
I went through your letters and start as following:
root@ubuntu:/home/yeti/rtpproxy# /etc/init.d/kamailio restart Restarting kamailio: kamailioloading modules under /usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/ Listening on udp: 192.168.124.158:5060 udp: FEC0:0:0:0:0:0:0:2:5060 tcp: 192.168.124.158:5060 tcp: FEC0:0:0:0:0:0:0:2:5060 Aliases: tcp: ubuntu:5060 udp: ubuntu:5060
root@ubuntu:/home/yeti/rtpproxy# kamctl restart
INFO: Stopping Kamailio : INFO: stopped
INFO: Starting Kamailio : INFO: started (pid: 7597) root@ubuntu:/home/yeti/rtpproxy# rtpproxy restart
So I guess everything is starting fine. The users can register and call each other. Their data are in the mysql database`s location table. I put this into the kamailio.cfg file:
# RTPProxy control route[RTPPROXY] { #!ifdef WITH_NAT if (is_method("BYE")) { unforce_rtp_proxy(); } else if (is_method("INVITE")) { if (af == inet) { if ( $(rU{s.substr,0,1}) == "6") { force_rtp_proxy("ie"); } else { force_rtp_proxy("ee"); } } else { if ( $(rU{s.substr,0,1}) == "4") { force_rtp_proxy("ei"); } else { force_rtp_proxy("ii"); } } } else if (is_method("200OK")) { if (af == inet) { if ( $(rU{s.substr,0,1}) == "6") { force_rtp_proxy("ei"); } else { force_rtp_proxy("ee"); } } else { if ( $(rU{s.substr,0,1}) == "4") { force_rtp_proxy("ie"); } else { force_rtp_proxy("ii"); } } } if (!has_totag()) add_rr_param(";nat=yes"); #!endif return; }
But, unfortunately there is no RTP traffic yet. :( What do you thing guys, what can be the problem?
Regards, Peter
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users