diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index a48e00fcbd..a7e4e6f78f 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -2140,7 +2140,7 @@ uint32_t sofia_presence_get_cseq(sofia_profile_t *profile) if (profile->last_cseq) { diff = callsequence - profile->last_cseq; - if (diff < 0 && diff > -100000) { + if (diff <= 0 && diff > -100000) { callsequence = ++profile->last_cseq; } }