If you what the RTP to be sent to the public IP, why are you using the "r" flag ? have you read the docs to understand that flag ?
http://www.opensips.org/html/docs/modules/1.11.x/rtpproxy.html#id293915

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 13.06.2014 14:52, kaushik parmar wrote:
Hi,

Thank you so much. I solved this problem. Now i have another problem. i am using rtpproxy_offer("r","xx.xx.xx.xx") in onreply_route[] function. Now i can initiate call but problem is that rtpproxy is sending rtp packet on device's private address instead of public address.

E.g.

Peer1 (Public IP) -------->>  rtpproxy+opensips
rtpproxy  ---------->> voip switch ------>> peer2
rtpproxy ------->> peer1 (Private IP)   ...... (Here problem occurs).

How can i tell rtpproxy to send rtp packets on public ip instead of private. I am using "r" flag with rtpproxy_offer. See below wireshark trace image. Here 1) 1st line is for peer1 Public Ip 2) rtpproxy 3) asterisk voip server 4) peer1 private IP. Here rtpproxy is sending packets to private IP so no voice both the side.



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to