erol turac wrote: > how can proxies edit c line in sdp? which rules can be applied to c line by > proxies? > > I have a sip client behind nat which insert its own private IP at session > level (c line under m line) > and NAT adds its own public IP into c line at media level before forwarding > 200 OK to proxy. > Here, proxy removes c line at media level and forward 200 OK to ingress side > with private IP at session level. > Is it valid behaviour for proxies?
No. Proxies are not permitted to alter the body of a message. Paul > On Thu, Jan 1, 2009 at 1:22 AM, Dale Worley <dwor...@nortel.com> wrote: > >> On Tue, 2008-12-30 at 22:37 +0800, Serbang, Nabam (Nabam) wrote: >>> So how u1 knows where to send RTP packet. Usually it will send to >>> address present in Contact header. >> U1 will *never* use the IP address in the Contact header to determine >> where to send RTP packets, it will use the address in the 'c' line of >> the SDP it receives. >> >> There are problems ensuring that each UA will receive SDP that contains >> 'c' lines that contain usable addresses for SDP. ICE can be used by the >> UAs to decide what addresses to use. Alternatively, the proxies >> involved can edit the SDP to correct the 'c' lines in the presence of >> NATs. >> >> Dale >> >> >> _______________________________________________ >> Sip-implementors mailing list >> Sip-implementors@lists.cs.columbia.edu >> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors >> > > > _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors