Hi All,<div><br></div><div>I have loaded the presence.so, presence_xml.so and presence_mwi modules in openSIPS. When my IP phone subscribes for the MWI, I always see two entries in my 'active_watchers' table of the same user (any idea why two entries of the same user ?). After some time the entries in the 'active_watchers' table disappear and from that point I am flooded with SUBSCRIBE messages from the IP phone. For these SUBSCRIBE messages, the openSIPS log shows the error as:</div>
<div><br></div><div><br></div><div>ERROR:presence:get_stored_info: record not found in hash_table</div><div>ERROR:presence:handle_subscribe: getting stored info</div><div><br></div><div>The IP phone is not able to re-subscribe again. Does anyone how to handle this particular problem ?</div>
<div><br></div><div>My route subroutine which handles subscribe is </div><div><div><br></div><div>route[20] {</div><div> if (!t_newtran())</div><div> {</div><div> log(3, "LOG: R2 - t_newtran\n"); </div>
<div> sl_reply_error(); </div><div> exit; </div><div> };</div><div> if (is_method("SUBSCRIBE")) {</div><div> handle_subscribe();</div><div> } else if (is_method("PUBLISH")) {</div>
<div> handle_publish();</div><div> }</div><div> exit;</div><div>}</div><div><br></div></div><div><br></div><div>Thanks and Regards,</div><div>-- <br>Anil Kumar S. R.<br><a href="http://sranil.googlepages.com/">http://sranil.googlepages.com/</a><br>
<br>"The best way to succeed in this world is to act on the advice you give to others."<br>
</div>