<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@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: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;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.m-757453436296465092m718766388960848192hoenzb
{mso-style-name:m_-757453436296465092m_718766388960848192hoenzb;}
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: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">The free Bria client is capable of being a presence user agent. I believe Zoiper will do so as well.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The error response you are getting is 489 Bad Event. Looking at the Event header in the message you are sending from SIPp you have set “<span style="font-family:"Times New Roman",serif">E_PRESENCE_PUBLISH”. That is not a defined event package
for SIP; that is the name of the internal OpenSIPS event corresponding to presence publishing. Per RFC 3856 the event package for presence is “presence”.</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:black">Ben Newlin </span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Users <users-bounces@lists.opensips.org> on behalf of Giovanni Maruzzelli <gmaruzz@gmail.com><br>
<b>Reply-To: </b>"gmaruzz@opentelecom.it" <gmaruzz@opentelecom.it>, OpenSIPS users mailling list <users@lists.opensips.org><br>
<b>Date: </b>Thursday, August 2, 2018 at 1:02 PM<br>
<b>To: </b>OpenSIPS users mailling list <users@lists.opensips.org><br>
<b>Subject: </b>Re: [OpenSIPS-Users] Ordinary presence server functions of OpenSIPS<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">study, Fatma, study :)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">btw, if you can't "find a softphone capable of being a presence user agent" you may be in the wrong field of studies.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">-giovanni<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 2 August 2018 at 15:52, Fatma Raissi <<a href="mailto:raissifatma@gmail.com" target="_blank">raissifatma@gmail.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">Good morning, <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks again for your answer. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">But I can't find a softphone capable of being a presence user agent.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Plus the presence information I need to publish is one variable which is "workload" of the machine. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Here is the SIP message I am using and joined the configuration file. Maybe you can Identify the problem. Thanks<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">test.xml<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"><?xml version="1.0" encoding="ISO-8859-1" ?></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"><!DOCTYPE scenario SYSTEM "sipp.dtd"></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"><scenario name="Basic Message"></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> <!-- In client mode (sipp placing calls), the Call-ID MUST be --></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> <!-- generated by sipp. To do so, use [call_id] </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif">keyword. --></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> <!-- <a href="https://en.wikipedia.org/wiki/List_of_SIP_request_methods" target="_blank">
https://en.wikipedia.org/wiki/List_of_SIP_request_methods</a> --></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> <!-- <a href="https://www.ietf.org/rfc/rfc3428.txt" target="_blank">
https://www.ietf.org/rfc/rfc3428.txt</a> --></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> <!--</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> Content-Type: application/sdp</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> --></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> <send retrans="1"></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> <![CDATA[</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> SUBSCRIBE sip:<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a> SIP/2.0.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> Via: SIP/2.0/UDP 127.0.0.1:5060;rport;branch=z9hG4bKnashds7</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> To: sip:<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> From: sip:127.0.0.1:5060;tag=12341234</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> Call-ID:
<a href="http://12345678x@127.0.0.1:5060" target="_blank">12345678x@127.0.0.1:5060</a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> CSeq: 1 SUBSCRIBE</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> Max-Forwards: 70</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> Expires: 3600</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> Event: E_PRESENCE_PUBLISH</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> Content_Type: application/pidf+xml</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> Contact: sip:<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> Content-Length: 5</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> ]]></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> </send></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"><recv request="MESSAGE|PUBLISH|SUBSCRIBE" crlf="true" regexp_match="true"></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"> </scenario></span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Reponse: 489 Bad event<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40701] DBG:core:get_hdr_field: cseq <CSeq>: <1> <SUBSCRIBE><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40701] DBG:maxfwd:is_maxfwd_present: value = 70 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40701] DBG:uri:has_totag: no totag<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40701] DBG:core:parse_headers: flags=78<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40701] DBG:tm:t_lookup_request: start searching: hash=22792, isACK=0<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40701] DBG:tm:matching_3261: RFC3261 transaction matched, tid=nashds7<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40701] DBG:tm:t_lookup_request: REF_UNSAFE:[0x7f73f6c49708] after is 1<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40701] DBG:tm:t_lookup_request: transaction found (T=0x7f73f6c49708)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40701] DBG:tm:t_retransmit_reply: buf=0x7f73f644f600: SIP/2.0 4..., shmem=0x7f73f6c4c678: SIP/2.0 4<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40701] DBG:tm:t_check_trans: UNREF_UNSAFE: [0x7f73f6c49708] after is 0<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40701] DBG:core:destroy_avp_list: destroying list (nil)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40701] DBG:core:receive_msg: cleaning up<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40700] DBG:core:parse_msg: SIP Request:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40700] DBG:core:parse_msg: method: <SUBSCRIBE><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40700] DBG:core:parse_msg: uri: <sip:<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a>><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40700] DBG:core:parse_msg: version: <SIP/2.0.><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40700] DBG:core:parse_headers: flags=2<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40700] DBG:core:parse_via_param: found param type 235, <rport> = <n/a>; state=6<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40700] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bKnashds7>; state=16<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40700] DBG:core:parse_via: end of header reached, state=5<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40700] DBG:core:parse_headers: via found, flags=2<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40700] DBG:core:parse_headers: this is the first via<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40700] DBG:core:receive_msg: After parse_msg...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40700] DBG:core:receive_msg: preparing to run routing scripts...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40700] DBG:core:parse_headers: flags=100<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40700] DBG:core:_parse_to: end of header reached, state=9<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40700] DBG:core:_parse_to: display={}, ruri={sip:<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a>}<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40700] DBG:core:get_hdr_field: <To> [20]; uri=[sip:<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a>] <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Aug 2 06:49:44 [40700] DBG:core:get_hdr_field: to body [sip:<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal"><b>Error! Filename not specified.</b><o:p></o:p></p>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:Helvetica;color:#333333"> </span></b><o:p></o:p></p>
</div>
<table class="MsoNormalTable" border="0" cellpadding="0" width="100%" style="width:100.0%">
<tbody>
<tr style="height:93.75pt">
<td width="10" valign="top" style="width:7.5pt;padding:0in 7.5pt 0in 7.5pt;height:93.75pt">
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt"><b>Error! Filename not specified.</b><o:p></o:p></span></p>
</td>
<td valign="top" style="padding:.75pt .75pt 3.75pt .75pt;height:93.75pt;text-align:initial">
<p class="MsoNormal" style="margin-bottom:2.25pt"><b><span style="font-size:12.0pt;font-family:Helvetica;color:#073763">Fatma RAISSI - ENIT Junior Entreprise<br>
<br>
</span></b><b><span style="font-size:12.0pt;font-family:Helvetica;color:#333333">Élève ingénieur en télécommunication</span></b><b><span style="font-size:12.0pt"><br>
</span></b><b><span style="font-size:12.0pt;font-family:Helvetica;color:#333333">Membre d'honneur</span></b><b><span style="font-size:12.0pt"><br>
</span></b><b><span style="font-size:12.0pt;font-family:Helvetica;color:#333333">Vice-Présidente du mandat 2016-2017</span></b><b><span style="font-size:12.0pt"><br>
</span></b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#45668E"> Tel: </span><span style="font-size:12.0pt">(+216) 53 411 311 | </span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#45668E">Email: </span><span style="font-size:12.0pt"><a href="mailto:prenom.nom@gmail.com" target="_blank"><span style="color:#1155CC">raissifatma@gmail.com</span></a> <o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">2018-08-02 13:48 GMT+02:00 Giovanni Maruzzelli <<a href="mailto:gmaruzz@gmail.com" target="_blank">gmaruzz@gmail.com</a>>:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">Be ause they have working presence client embedded, and you seems not be able to model it in sipp.
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Start with something known to work, softphones, trace the sip messages, then (if needed) do the sipp xml modelization.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888">-giovanni<o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Aug 2, 2018, 13:45 Fatma Raissi <<a href="mailto:raissifatma@gmail.com" target="_blank">raissifatma@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">Good morning Sir, <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thank you a lot for your answer.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">But could you explain why would I use softphones while I have nothing to do with voice or voice over IP.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Cordially,<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:Helvetica;color:#333333"> </span></b><o:p></o:p></p>
</div>
<table class="MsoNormalTable" border="0" cellpadding="0" width="100%" style="width:100.0%">
<tbody>
<tr style="height:93.75pt">
<td width="10" valign="top" style="width:7.5pt;padding:0in 7.5pt 0in 7.5pt;height:93.75pt">
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt"><b>Error! Filename not specified.</b><o:p></o:p></span></p>
</td>
<td valign="top" style="padding:.75pt .75pt 3.75pt .75pt;height:93.75pt;text-align:initial">
<p class="MsoNormal" style="margin-bottom:2.25pt"><b><span style="font-size:12.0pt;font-family:Helvetica;color:#073763">Fatma RAISSI - ENIT Junior Entreprise<br>
<br>
</span></b><b><span style="font-size:12.0pt;font-family:Helvetica;color:#333333">Élève ingénieur en télécommunication</span></b><b><span style="font-size:12.0pt"><br>
</span></b><b><span style="font-size:12.0pt;font-family:Helvetica;color:#333333">Membre d'honneur</span></b><b><span style="font-size:12.0pt"><br>
</span></b><b><span style="font-size:12.0pt;font-family:Helvetica;color:#333333">Vice-Présidente du mandat 2016-2017</span></b><b><span style="font-size:12.0pt"><br>
</span></b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#45668E"> Tel: </span><span style="font-size:12.0pt">(+216) 53 411 311 | </span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#45668E">Email: </span><span style="font-size:12.0pt"><a href="mailto:prenom.nom@gmail.com" target="_blank"><span style="color:#1155CC">raissifatma@gmail.com</span></a> <o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">2018-08-02 10:34 GMT+02:00 Giovanni Maruzzelli <<a href="mailto:gmaruzz@gmail.com" target="_blank">gmaruzz@gmail.com</a>>:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">Use softphones instead of sipp<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal">On Wed, Aug 1, 2018, 12:01 Fatma Raissi <<a href="mailto:raissifatma@gmail.com" target="_blank">raissifatma@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
</div>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Good morning Everyone,<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I am using OpenSIPS as <b>presence server</b>. I need it just to accomplish very basic and simple presence server functions.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Here is the purpose of my work:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I have 3 machines P, A, B and C. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">1)<b> P</b> is the machine in which I have installed <b>OpenSIPS</b>, thus the presence server<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2) I want <b>A and B to be the presentities</b> and thus publishing its own presence information (that I precise) into the presence server.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">3) I want OpenSIPS to update<b> the watcher C</b> each time there is a change in A or B presence information.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">What I have done so far is that I am using the presence server config file that I found here : <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><a href="https://www.opensips.org/Documentation/Tutorials-Presence-SimplePresConfig" target="_blank">https://www.opensips.org/Documentation/Tutorials-Presence-SimplePresConfig</a><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">and added all the parameters I found here <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.opensips.org/html/docs/modules/2.1.x/presence.html" target="_blank">http://www.opensips.org/html/docs/modules/2.1.x/presence.html</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I am using SIPp in machine A and B and C to send publish and subscribe messages but I keep getting no answer at all from OpenSIPS although I am sure he is receiving the messages. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I think I am not using the right syntax of SIP messages.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Can you please help me by sending to me an example of SIP subscribe and SIP publish message that I can send from SIPp to OpenSIPS.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">- <b>SIP Subscribe message</b> : in which I can precise the list of IP addresses that the machine C needs to know their updates <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">- <b>SIP Publish message</b>: in which I can precise the presence information I want A and B to publish.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Tell me if you need my config file or the SIP message I am using ( I am pretty sure it is wrong though...)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">An other question please: Is it normal that I couldn't find pua.so and rls.so in my modules file?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I really appreciate the help. I couldn't find any example else where.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Cordially,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><br>
Sincerely,<br>
<span style="color:#888888"><br>
Giovanni Maruzzelli<br>
OpenTelecom.IT</span><br>
cell: +39 347 266 56 18<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>