[SR-Users] SDP rewrite causing extra IP to be inserted.

Steven Meyer smeyer at kotter.net
Thu Jun 1 20:44:53 CEST 2017


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"); } } }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170601/a2d503cb/attachment.html>


More information about the sr-users mailing list