On 12 Jul 2016, at 15:18, Grant Bagdasarian gb@cm.nl wrote:
Hi,
Is it possible in Kamailio, or SIP in general, to detect if a 200 OK is for a ReINVITE?
Not from the 200 OK, but the matching INVITE you can check if there’s a to-tag in Kamailio and SIP.
In Kamailio, if you are stateful, you can use the TMX module pseudovariables to check the request matching the response and check if there’s a to-tag. Check the cookbook for $T_req(pv)
http://www.kamailio.org/wiki/cookbooks/4.4.x/pseudovariables
/O