On 05/23/2014 12:40 PM, Andrea Meroni wrote:
Hi all,
maybe this is a trivial question but ... how Kamailio manages SIP replies? I mean, how does it know to what URI reply in onreply_route? Does it use the SIP Via header or something else, maybe in memory?
The TM module keeps this information in state, but yes, ultimately it comes from the Via header according to RFC 3261 (unless diverted by something like rport and/or far-end NAT traversal strategies).