linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Handling 412 (Conditional Request Failed) response


From: Q (Igor Mammedov)
Subject: [Linphone-developers] Handling 412 (Conditional Request Failed) response.
Date: Mon, 8 Nov 2010 21:30:43 +0300

Hi Simon,

Continuing playing with presence support, I've stumbled upon following issue.

When linphone sends PUBLISH request to modify current event state with
SIP-If-Match header set to previous response entity-tag. It receives in response
error message "SIP/2.0 412 Conditional Request Failed".

According to [RFC3903, section 5, page 10], linphone "SHOULD perform an
initial publication, i.e., a PUBLISH request without a SIP-If-Match
header field".
Which it doesn't do now.

Could you point out the best place in linphone code where I could add
appropriate
code to handle this case.

PS:
I'm just curious why you don't use current exosip gfrom git for
prebuild binaries
(for windows especially, since it is hard to build). It has much
better handling of
vias/contacts masquerading when client behind NAT and solves many connectivity
problems.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]