Look here
https://www.kamailio.org/docs/modules/5.3.x/modules/rtpengine.html#rtpengine.p.write_sdp_pv

Then you will be able to get it with string operations. 

On Thu, 23 Jan 2020, 14:25 Pafel, <pafels@gmail.com> wrote:
My bad, I am using rtpengine module but not rtpproxy. 

Regards,
Pavel

На ср, 22.01.2020 г. в 18:41 Pafel <pafels@gmail.com> написа:
Hello, 
I am using kamailio 5.3, rtproxy module and sipwise rtpengine. Is there any way I can get the rewritten / relay address and port by the rtpproxy/rtpengine. In avp or some other variable?
Regards,
Pavel Siderov
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users