[SR-Users] presence - Error deleting subscription

Daniel-Constantin Mierla miconda at gmail.com
Sat Jan 3 12:24:21 CET 2015


Can you try with the following commit:

-
https://github.com/kamailio/kamailio/commit/85029d414384912879b45a34bdeb8f1372cc3780

If you installed from git, you can do a:

 git pull origin
 git cherry-pick -x 85029d414384912879b45a34bdeb8f1372cc3780

Then re-compile, re-install and restart kamailio.

Let me know the results in order to decide whether to backport the patch
or not.

Cheers,
Daniel

On 03/01/15 10:48, Daniel-Constantin Mierla wrote:
> Hello,
>
> the code seems to be similar to the one for searching a subscription.
> I am considering to make the matching criteria configurable to see the
> results.
>
> Are you using presence for dialog notifications (e.g., blinking lamps,
> call pickup) or user presence states?
>
> Cheers,
> Daniel
>
> On 02/12/14 14:15, Daniel-Constantin Mierla wrote:
>> Hello,
>>
>> I will try to look asap to the code and at least add more debugging
>> info to be easier to understand what happens in case all works fine
>> at the end.
>>
>> Cheers,
>> Daniel
>>
>> On 02/12/14 11:34, Jan Gaida wrote:
>>> Has nobody ever seen something similar?
>>>
>>> *Jan **Gaida*
>>> Ingeniero Desarrollo Software 	
>>> C/ Marconi 3 (PTM)
>>> 28760 Tres Cantos
>>> Spain
>>> jan.gaida at grupoamper.com <mailto:jan.gaida at grupoamper.com>
>>> | www.grupoamper.com <http://www.grupoamper.com> 	
>>>
>>>
>>>
>>> On 24 November 2014 at 11:52, Jan Gaida <jan.gaida at grupoamper.com
>>> <mailto:jan.gaida at grupoamper.com>> wrote:
>>>
>>>     Hello,
>>>
>>>     We are upgrading our servers to Kamailio 4.2 and we see a lot of
>>>     error messages "Failed to delete subscription from memory". 
>>>
>>>     Scenario:
>>>     This happens every time there is a Notify Timeout (408) and
>>>     Kamailio tries to delete the subscription.
>>>
>>>     Consequences:
>>>     I don't know whether the delete fails because the entry did
>>>     never exist, was already deleted or because the comparison
>>>     (to_tag, callid or from_tag) is incorrect. It would be nice to
>>>     at least have some details in the log message.
>>>     I have not noticed any consequences to general functionality.
>>>
>>>     I suspect the commit (74d73953327ad7702922b27ba37c71e3283659c3)
>>>     to be responsible for this error because it introduced some
>>>     extra checks on deletion.
>>>
>>>     Does this happen to anybody else?  What may be configured
>>>     incorrectly on our system?
>>>
>>>     Kind regards
>>>
>>>     *Jan **Gaida*
>>>     Ingeniero Desarrollo Software 	
>>>     C/ Marconi 3 (PTM)
>>>     28760 Tres Cantos
>>>     Spain
>>>     jan.gaida at grupoamper.com <mailto:jan.gaida at grupoamper.com>
>>>     | www.grupoamper.com <http://www.grupoamper.com> 	
>>>
>>>
>>>
>>>
>>>
>>> This message and any attachments are intended only for the use of
>>> the individual to whom they are addressed and it may contain
>>> information that is privileged or confidential. If you have received
>>> this communication by mistake, please notify us immediately by
>>> e-mail or telephone.The storage, recording, use or disclosure of
>>> this e-mail and its attachments by anyone other than the intended
>>> recipient is strictly prohibited. This message has been verified
>>> using antivirus software; however, the sender is not responsible for
>>> any damage to hardware or software resulting from the presence of
>>> any virus.
>>>
>>>
>>> Este mensaje y cualquier anexo son exclusivamente para la persona a
>>> quien van dirigidos y pueden contener información privilegiada o
>>> confidencial. Si usted ha recibido esta comunicación por error, le
>>> agradecemos notificarlo de inmediato por esta misma vía o por
>>> teléfono. Está prohibida su retención, grabación, utilización o
>>> divulgación con cualquier propósito. Este mensaje ha sido verificado
>>> con software antivirus; sin embargo, el remitente no se hace
>>> responsable en caso de que en éste o en los archivos adjuntos haya
>>> presencia de algún virus que pueda generar daños en los equipos o
>>> programas del destinatario.
>>>
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>> -- 
>> Daniel-Constantin Mierla
>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>
> -- 
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150103/b247f9fa/attachment.html>


More information about the sr-users mailing list