I have been trying to replace the SDP connection IP with some other IP using module mangler (Kamailio v5.7.0). But It seem like its malfunctioning

if ($rs == 200) {
                xlog("L_INFO", "200 $rm Detected");
                sdp_mangle_ip("192.168.0.132/24","8.8.8.8");
 }

and results I received are like this below

v=0 o=- 107808851201429815 2 IN IP4 192.168.0.132 
s=- t=0 0 
m=audio 24794 RTP/AVP 0 8 101 
c=IN IP4 192.168.0.1328.8.8.8 
a=mid:audio 
a=sendrecv 
a=rtpmap:0 PCMU/8000 
a=rtpmap:8 PCMA/8000 
a=rtpmap:101 telephone-event/8000 
a=ssrc:822878909 cname:0ZfUBhl8cMeHaeVl 
a=nortpproxy:yes

I first ask the same question in mailing list sr-users@lists.kamailio.org but after waiting for some time (>24hrs) i cant see my question on on forum, that why I open a ticket here.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/3554@github.com>