<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">(A continuation on an old thread)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In the RFC 3680 it is described how a UE can subscribe to its own registration state(s). As soon as it’s own registration state changes in any way – like a refresch registration – a NOTIFY is send to the subscribing terminal.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What made me hopeful was when I in the Overview’s use case section for the module pua_reginfo read the line:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">“A client could subscribe to it's own registration-status, so he would get notified as soon as his account gets administratively unregistered.”<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">That’s in line with how I would like to use it - Is it in any way possible to achieve that in the Kamailio?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="SV">/Stefan<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="SV"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="SV"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="SV">From: Stefan Ljung <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="SV">Sent: den 18 februari 2015 09:32<o:p></o:p></span></p>
<p class="MsoNormal">To: miconda@gmail.com<o:p></o:p></p>
<p class="MsoNormal">Subject: RE: [SR-Users] Event reg - questions<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">From the pua_regInfo module description:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Use cases for this might be: <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Keeping different Servers in Sync regarding the location database
<o:p></o:p></p>
<p class="MsoNormal">Get notified, when a user registers: A presence-server, which handles offline message storage for an account, would get notified, when the user comes online.
<o:p></o:p></p>
<p class="MsoNormal">A client could subscribe to it's own registration-status, so he would get notified as soon as his account gets administratively unregistered.
<o:p></o:p></p>
<p class="MsoNormal">...<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So it’s the last line  I want to deploy. Maybe Im over-interpreting “A client could subscribe to it's own registration-status”
<o:p></o:p></p>
<p class="MsoNormal">I want to be able to simulate (As close a possible) a VoLTE clients reg events handling. Only the part between to and from the UE.<o:p></o:p></p>
<p class="MsoNormal">So no PUBLISH is needed – Kamailio needs to notify the UE about its registration status.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">/Stefan<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">From: Daniel-Constantin Mierla [mailto:miconda@gmail.com] <o:p>
</o:p></p>
<p class="MsoNormal"><span lang="SV">Sent: den 16 februari 2015 17:43<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="SV">To: Kamailio (SER) - Users Mailing List; Stefan Ljung<o:p></o:p></span></p>
<p class="MsoNormal">Subject: Re: [SR-Users] Event reg - questions<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">afaik, the pua_reginfo is for publishing details of location records to another sip server node, main purpose being location replication. I don't think it is something for an end UA.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If you want publishing online/offline states for an user based on its registration state, look at pua_usrloc module.<o:p></o:p></p>
<p class="MsoNormal">On 12/02/15 15:17, Stefan Ljung wrote:<o:p></o:p></p>
<p class="MsoNormal">I made a test configuration for trying the pua_regEvent module.
<o:p></o:p></p>
<p class="MsoNormal">There were two things I want to ask about.<o:p></o:p></p>
<p class="MsoNormal">First – when the SUBSCRIBE to event ‘reg’ following a UEs registration to the Kamailio is responded with a NOTIFY – there was no body in the NOTIFY. I expected a XML body with registration status.<o:p></o:p></p>
<p class="MsoNormal">Second – When the UE re-registers to Kamailio – I expected a NOTIFY to be send on the existing ‘reg’ subscription, but nothing happened.<o:p></o:p></p>
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal">Or am I missing some configuration ?<o:p></o:p></p>
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal">Here’s some of the conf script:<o:p></o:p></p>
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal">[..] <o:p></o:p></p>
<p class="MsoNormal">modparam("pua_reginfo", "publish_reginfo", 0)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Btw, with the above parameter value, the module is no longer sending PUBLISH requests, in other words, it is not informing the other peers that there is some update to location records.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cheers,<o:p></o:p></p>
<p class="MsoNormal">Daniel<o:p></o:p></p>
<p class="MsoNormal">-- <o:p></o:p></p>
<p class="MsoNormal">Daniel-Constantin Mierla<o:p></o:p></p>
<p class="MsoNormal">http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda<o:p></o:p></p>
<p class="MsoNormal">Kamailio World Conference, May 27-29, 2015<o:p></o:p></p>
<p class="MsoNormal">Berlin, Germany - http://www.kamailioworld.com<o:p></o:p></p>
</div>
</body>
</html>