> I 'd like to retrieve IP address of INVITE sender. 
> Today I retrieve it from Contact header field. 
> But is it a good idea ?

No; that does not necessarily indicate the IP address (or set of IP addresses) 
of the INVITE sender.

You can retrieve it from the Via sent-by or received.  However, this assumes 
that a middle box (such as an SBC) does not strip or encrypt the prior Via 
entries.  NOTE: if a middle box is hiding one side of the network, you will not 
be able to obtain the IP address of the original INVITE sender.


_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to