[SR-Users] IMS RX AAR issues

Pafel pafels at gmail.com
Thu Feb 6 09:53:50 CET 2020


msg_apply_changes();
just before Rx_AAR did the job.

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.

Regards,
Pavel Siderov

На вт, 4.02.2020 г. в 12:39 Pafel <pafels at gmail.com> написа:

> Hello,
>
> 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.
>
> PCSCF is configured with
> #!define WITH_RX
>
>
> ##!define WITH_RX_REG
> #!define WITH_RX_CALL
>
> I have 2 test phones connected. Both of them use ipv6.
> PCSCF has ipv4 and ipv6 address.
> All other nodes - SCSCF, ICSCF use ipv4.
>
> 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.
>
> Example:
> permit out 17 from 192.168.1.1 34998 to fd18::1:2dca:3303:1286:257d 50010
> permit in 17 from fd18::1:2dca:3303:1286:257d 50010 to 192.168.1.1 34998
>
> But this is not acceptable for the PGW (different ip versions).
> 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?
>
> I've tried to get the rewritten media address from SDP (in logs) but
> without success:
> if(sdp_get_line_startswith("$avp(cline)", "c=")) {
> xlog("L_INFO", "SDP media ip: $(avp(cline){s.select,2, })\n");
> }
> if(sdp_get_line_startswith("$avp(mline)", "m=")) {
>
>
> xlog("L_INFO", "SDP media port: $(avp(mline){s.select,1, })\n");
> }
> I am always getting the ipv4 media address and port of the proxy.
>
> Any idea how I can set and use the rewritten by the rtpengine/sipwise
> media ip and proxy for the RX AAR?
>
> Thanks in advance,
> Pavel Siderov
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200206/84e9e6d2/attachment.html>


More information about the sr-users mailing list