linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] [PATCH] Add handling of '412 Conditional Request F


From: Q (Igor Mammedov)
Subject: [Linphone-developers] [PATCH] Add handling of '412 Conditional Request Failed' error on PUBLISH request.
Date: Sat, 13 Nov 2010 22:11:25 +0300

Found solution, it works with the latest exosip, but I haven't check
it with other versions.

On Mon, Nov 8, 2010 at 9:30 PM, Q (Igor Mammedov) <address@hidden> wrote:
> 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.
>

Attachment: 0001-Add-handling-of-412-Conditional-Request-Failed-error.patch
Description: Binary data


reply via email to

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