<div dir="rtl"><div style="direction:ltr">hello. I am tring to SUBSCRIBE for presence status of a user on my kamailio server using the  sipMl5 (over websockets) but kamailio failes. (more exactly the handle_subscribe failes.)</div>
<div style="direction:ltr"> I was told previusly by peter dunkly that it is not a bug, just a configuration problem. I am quoting his answer:</div><div style="direction:ltr"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)"><br>
</span></div><div style="direction:ltr"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">&quot;This is a configuration problem not a bug in the software.</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">
<br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">SUBSCRIBEs are dialog forming requests and NOTIFYs (in this scenario) are in-dialog requests.  As such you need to use force_rport(), add_contact_alias(), and handle_ruri_alias() with presence dialogs in the same way you do with media session dialogs.&quot;</span></div>
<div style="direction:ltr"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)"><br></span></div><div style="direction:ltr"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">How can i acheve this ?</span></div>
<div style="direction:ltr"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)"><br></span></div><div style="direction:ltr"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">thanks in advance...</span></div>
</div>