Hi, I have found what I think is a bug in the sip_regc layer. When you encounter an error (different from 401/407/423), the current_op variable is not reset to REGC_IDLE, preventing to others REGISTER requests (sip_regc_send checks for current_op being REGC_IDLE). This occurs for example when your AOR is already registered for the maximum number of times allowed, you receive a 403 error, but you can not send an unregister_all command. Philippe Leuba _____ From: Philippe Leuba [mailto:philippe.leuba@xxxxxxxxxxxxx] Sent: mercredi 2 f?vrier 2011 17:18 To: 'pjsip at lists.pjsip.org' Subject: Bug in XML parser (xml.c) Hi, I have found a bug in the XML parser when there is a comment in the end of a section, like below: <AAAAA> <BBBBB></BBBBB> <!?xxxx --> </AAAAA> I have implemented a fix and have attached a patch to this email. Unfortunately I did not work on the latest release of PJSip, so apply the patch accordingly (bug is still occurring in latest release). My current release is root/pjproject/trunk/pjlib-util/src/pjlib-util/xml.c @ 1239 Can you backport it to the trunk please, if you agree with my fix? Philippe Leuba -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110228/81f1e583/attachment.html>