<div dir="ltr"><div dir="ltr">msg_apply_changes(); <br></div><div>just before Rx_AAR did the job. </div><div><br></div><div>Now I can get the rewritten by rtpengine SDP media ip and port. Also the Rx_AAR command/function is getting the correct values for ip and port. </div><div><br></div><div>Regards,</div><div>Pavel Siderov   </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">На вт, 4.02.2020 г. в 12:39 Pafel <<a href="mailto:pafels@gmail.com">pafels@gmail.com</a>> написа:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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>
</blockquote></div></div>