<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:0in;
        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:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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"><span style="color:#1F497D">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I was looking at the pua_reginfo to make multiple instances of Kamailio be aware of registered users on the network.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I&#8217;m experimenting with pua_reginfo with Kamailio 3.2.2. I&#8217;ve used the configuration as described in
<a href="http://kamailio.org/docs/modules/3.2.x/modules_k/pua_reginfo.html#id2551427">
<span style="color:#1F497D">http://kamailio.org/docs/modules/3.2.x/modules_k/pua_reginfo.html#id2551427</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I tried an trial run of the Kamailio instance and it gives the following output<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">PUBLISH sip:@64.64.203.108 SIP/2.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Via: SIP/2.0/UDP 64.64.203.108;branch=z9hG4bKb62c.b8e3d5b5.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">To: sip:@64.64.203.108<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">From: sip:@64.64.203.108;tag=533cb9e91f4b999cf76861cbb9ed54ed-e085<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">CSeq: 10 PUBLISH<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Call-ID: 17dedfff-14418@127.0.0.1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Content-Length: 320<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Max-Forwards: 70<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Event: reg<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Expires: 3601<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Content-Type: application/reginfo&#43;xml<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">&lt;reginfo xmlns=&quot;urn:ietf:params:xml:ns:reginfo&quot; version=&quot;0&quot; state=&quot;full&quot;&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">&nbsp; &lt;registration aor=&quot;sip:@64.64.203.108&quot; id=&quot;0xb6ef7740&quot; state=&quot;active&quot;&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">&nbsp;&nbsp;&nbsp; &lt;contact id=&quot;0xb4d1f820&quot; state=&quot;active&quot; event=&quot;registered&quot; expires=&quot;60&quot; callid=&quot;ZmRjZDg3MmIxMjI5NmU1OWU0YjJlYWUzYzhjZDViM2I.&quot; cseq=&quot;2&quot;&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;uri&gt;sip:ggatla01@192.168.128.108:23840;rinstance=27b18eed9568795e;transport=udp&lt;/uri&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">&nbsp;&nbsp;&nbsp; &lt;/contact&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">&nbsp; &lt;/registration&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">&lt;/reginfo&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The PUA module does not insert username in the Request, To and From headers while publishing for Event: reg. The xml payload is right but the &#8220;aor&#8221; does not have the username.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Is there anything missing that I need to configure?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Lastly, the presence module in the same Kamailio instance is generating &#8220;478 Unresolvable destination&#8221; for this message.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Gnaneshwar Gatla | InTouch Health | Software Developer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">6330 Hollister Ave. Goleta CA, 93117 | P: 805.562.8686 ext: 199<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
</div>
</body>
</html>