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; }
Our topology is:
Client <> Client Router <> Internet <> Firewall (NAT) <> Kamailio <> FS
Unfortunately, when enabling SDP Rewrite: fix_nated_sdp, 0x08, it rewrites
packets to the firewall external IP, not the client router external IP.
Right now we have to do a local NATed IP on each phone.