<div dir="ltr">Hello, <br><br>I am using kamailio 5.3 + rtpengine module + sipwise rtpengine in a IMS test environment. I have and issue with ims_qos module and Rx AAR command. <br><br>PCSCF is configured with <br>#!define WITH_RX                                                                                                                                                                 <br>##!define WITH_RX_REG<br>#!define WITH_RX_CALL<br><br>I have 2 test phones connected. Both of them use ipv6. <br>PCSCF has ipv4 and ipv6 address. <br>All other nodes - SCSCF, ICSCF use ipv4. <br><br>Simple scenario UE1 calls UE2. UE2 is replying with 183 session progress and then RX AAR is sent by PCSCF to PCRF/PGW. The problem is that AVPs Media-Sub-Component Flow-Description include ipv4 address of the proxy and ipv6 address of the UE. <br><br>Example:<br>permit out 17 from 192.168.1.1 34998 to fd18::1:2dca:3303:1286:257d 50010<br>permit in 17 from fd18::1:2dca:3303:1286:257d 50010 to 192.168.1.1 34998<br><br>But this is not acceptable for the PGW (different ip versions). <br>The SDP between UE and PCSCF is rewritten by rtpengine/sipwise. Looking at the ims_qos module I found that the address of the proxy is taken from the session original request SDP media ip/port. Having in mind that rtpengine/sipwise proxy is rewritting it is there any way I can set the correct ipv6 address and port of the proxy? <br><br>I've tried to get the rewritten media address from SDP (in logs) but without success:<br>if(sdp_get_line_startswith("$avp(cline)", "c=")) {<br>     xlog("L_INFO", "SDP media ip: $(avp(cline){s.select,2, })\n");<br>}<br>if(sdp_get_line_startswith("$avp(mline)", "m=")) {                                                                                                                   <br>     xlog("L_INFO", "SDP media port: $(avp(mline){s.select,1, })\n");<br>}<br>I am always getting the ipv4 media address and port of the proxy. <br><br>Any idea how I can set and use the rewritten by the rtpengine/sipwise media ip and proxy for the RX AAR?<br><br>Thanks in advance,<br>Pavel Siderov<br></div>