Hello,
do you have any other call of functions from rtpproxy or rtpengine modules in addition to the fix_nated_sdp()? They are conflicting, you should use only one or the other. Or, if a must to do both, use msg_apply_changes() in between.
Cheers, Daniel
On 01.06.17 20:44, Steven Meyer wrote:
I have an SDP rewrite and it is adding a duplicate IP to the connection address.
c=IN IP4 WWW.XXX.YY.ZZWWW.XXX.YY.ZZ
route[TOFUSIONPBX] { route(DISPATCH); #Set the reply to handle sdp rewrite xlog("L_INFO","route[TOFUSIONPBX]: Inside the TOFUSIONPBX"); #t_relay(); route(RELAY); exit; }
route[CHANGE_SDP] { xlog("L_INFO","In the CHANGE_SDP Route"); if (has_body("application/sdp") ) { xlog("L_INFO","On reply from the FUSIONPBX, which changes the SDP"); if (route(FROMFUSIONPBX)) { fix_nated_sdp("2","LOAD_BALANCER_PUBLIC_ADDRESS"); } } }
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users