<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Praveen,<br>
</p>
<p>great that you found it. About the network - make sure that the server is listen to the correct network as well. You can check e.g. with kamcmd "corex.list_sockets"</p>
<p>Cheers,</p>
<p>Henning<br>
</p>
<div class="moz-cite-prefix">Am 15.08.19 um 06:17 schrieb Praveen Vatti:<br>
</div>
<blockquote type="cite" cite="mid:BY5PR19MB3889C33CF541EA21A6D48E8992AC0@BY5PR19MB3889.namprd19.prod.outlook.com">
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
        font-family: sans-serif; font-size: 11pt; color: black; ">
Thank you Henning. I was able to make the reg event work. Earlier, I confused between compiling and loading the modules. Thought that just compiling the module would make themselves available. Later, understood that we have to load them in .cfg file. By loading
 presence_reginfo module it started working.<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
        font-family: sans-serif; font-size: 11pt; color: black; ">
Now the issue I am facing is like, my server is installed in 172.0.0.0 network and not receiving packets from 10.0.0.0 network. But the ping between these two networks is successful.<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
        font-family: sans-serif; font-size: 11pt; color: black; ">
Thanks,<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
        font-family: sans-serif; font-size: 11pt; color: black; ">
Praveen.<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
        font-family: sans-serif; font-size: 11pt; color: black; ">
<span id="OutlookSignature">
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
            font-family: sans-serif; font-size: 11pt; color: black; ">
Get <a href="https://aka.ms/ghei36" moz-do-not-send="true">Outlook for Android</a></div>
</span><br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Henning Westerholt
<a class="moz-txt-link-rfc2396E" href="mailto:hw@skalatan.de"><hw@skalatan.de></a><br>
<b>Sent:</b> Thursday, August 15, 2019 12:46:27 AM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List <a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.kamailio.org">
<sr-users@lists.kamailio.org></a>; Praveen Vatti <a class="moz-txt-link-rfc2396E" href="mailto:praveen.vatti@adtran.com">
<praveen.vatti@adtran.com></a><br>
<b>Subject:</b> Re: [SR-Users] RFC 3860 support - Kamailio is sending SUBSCRIBE back with extra Via header</font>
<div> </div>
</div>
<div>
<p>Hello Praveen,</p>
<p>according to the docs this might help you:</p>
<p>"This modules publishes information about "reg"-events according to to RFC 3680."</p>
<p><a class="moz-txt-link-freetext" href="https://protect-us.mimecast.com/s/jg_BCrkV6lhAvEKJh76qR-?domain=kamailio.org" moz-do-not-send="true">https://kamailio.org/docs/modules/5.2.x/modules/pua_reginfo.html</a></p>
<p>Cheers,</p>
<p>Henning<br>
</p>
<div class="moz-cite-prefix">Am 12.08.19 um 21:45 schrieb Praveen Vatti:<br>
</div>
<blockquote type="cite" cite="mid:BY5PR19MB38891365D31F0575822AEE5192D30@BY5PR19MB3889.namprd19.prod.outlook.com">
<meta name="Generator" content="Microsoft Word 15 (filtered
            medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;
        mso-fareast-language:EN-US;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:251210730;
        mso-list-type:hybrid;
        mso-list-template-ids:1808445826 1074331663 1074331673 1074331675 1074331663 1074331673 1074331675 1074331663 1074331673 1074331675;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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]-->
<div class="WordSection1">
<p class="MsoNormal">Today I made some progress. Though, I didn’t achieve what I am looking for but able to get 202 Accepted and NOTIFY for “presence” event. For “reg” event 489 Bad event response is received.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What I can see in the 489 response is that Allow-Events header does not contain “reg”, it just has presence, xcap-diff, presence.winfo.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Below are the modules I have tried loaded:<o:p></o:p></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="MsoListParagraph" style="color:windowtext;margin-left:0cm;mso-list:l0
                level1 lfo1">
Presence.so<o:p></o:p></li><li class="MsoListParagraph" style="color:windowtext;margin-left:0cm;mso-list:l0
                level1 lfo1">
Pua.so<o:p></o:p></li><li class="MsoListParagraph" style="color:windowtext;margin-left:0cm;mso-list:l0
                level1 lfo1">
Presence_reginfo.so<o:p></o:p></li><li class="MsoListParagraph" style="color:windowtext;margin-left:0cm;mso-list:l0
                level1 lfo1">
Presence_xml.so<o:p></o:p></li></ol>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Could you please help me in supporting “reg” event.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Praveen<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
                1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="mso-fareast-language:EN-IN" lang="EN-US">From:</span></b><span style="mso-fareast-language:EN-IN" lang="EN-US"> Praveen Vatti
<br>
<b>Sent:</b> 09 August 2019 20:12<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true">
sr-users@lists.kamailio.org</a><br>
<b>Subject:</b> RFC 3860 support - Kamailio is sending SUBSCRIBE back with extra Via header<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Kamailio support,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Basically, I am looking for RFC3860 support – i.e., accept SUBSCRIBE for reg event and send 200OK, NOTIFY to client.<o:p></o:p></p>
<p class="MsoNormal">With some browsing on Internet I came across Kamailio, which is supporting RFC3860. I have installed and attached is my CFG file.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am sending a SUBSCRIBE request with reg event to Kamailio and it is sending back the same request with extra Via header.
<o:p></o:p></p>
<p class="MsoNormal">Via now contains Kamailio system IP and the source of SUBSCRIBE IP.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please help me in resolving this issue.<o:p></o:p></p>
<p class="MsoNormal">I have loaded db_mysql, dialplan, tm, sl, presence, presence_reginfo modules.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Praveen<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://protect-us.mimecast.com/s/tNS7Cv2LkpFW6xmVhXdcKH?domain=lists.kamailio.org" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">-- 
Henning Westerholt - <a class="moz-txt-link-freetext" href="https://protect-us.mimecast.com/s/QQH2Cwp7lqsL1KMrI9lj_W?domain=skalatan.de" moz-do-not-send="true">https://skalatan.de/blog/</a>
Kamailio services - <a class="moz-txt-link-freetext" href="https://protect-us.mimecast.com/s/sS5bCxkLmrhJAk6NUwbI_8?domain=skalatan.de" moz-do-not-send="true">https://skalatan.de/services</a></pre>
</div>
</blockquote>
<pre class="moz-signature" cols="72">-- 
Henning Westerholt - <a class="moz-txt-link-freetext" href="https://skalatan.de/blog/">https://skalatan.de/blog/</a>
Kamailio services - <a class="moz-txt-link-freetext" href="https://skalatan.de/services">https://skalatan.de/services</a></pre>
</body>
</html>