For "briding" you have to isntruct rtpproxy when to use which interface.
Thus, in kamailio.cfg, when processing a message, find out if the message goes from v4 to v6, or vice versa , or v4-v4 or v6-v6.
Then instruct rtpproxy about the direction using the 'e' and 'i' flag. i stands for internal and means rtpproxy's first interface, e for external and rtpproxy's second interface.
http://kamailio.org/docs/modules/3.2.x/modules/rtpproxy.html#id2535618
Thus, when starting rtpproxy with "-l 192.168.6.2 -6 /2001:6666:6666:6666::2" the internal interface is v4, the external is v6.
Thus, for example when processing an INVITE sent from v4 to v6, use the rtpproxy flags 'ie', for the 200 OK use 'ei'.
regards Klaus
On 05.06.2012 11:15, Lukas Lani wrote:
Hi,
I am trying to use RTPproxy 1.2.1 in bridge mode between IPv4 and IPv6 together with Kamailio 3.2. I configured and ran it on server together with Kamailio. I start it with parameters: -l 192.168.6.2 -6 /2001:6666:6666:6666::2 -s udp:localhost:7722 SIP messages are correctly exchanged, SDP looks to be translated, but when RTP session starts, I see RTP flow only from UC1 to RTPproxy and nothing more. On RTPproxy server I see 4 open ports for IPv4 address but no one for IPv6 address. When I tried to change start parameters to -6 2001:6666:6666:6666::2 -l /192.168.6.2 http://192.168.6.2/ -s udp:localhost:7722 I could see 4 open ports for IPv6 address but no one for IPv4 address.
Can anybody help? do you know about any known error? can it be related to Kamailio or RTPproxy?
thank you, Lukas Lani
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