<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 12 (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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Times New Roman \, serif";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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 bgcolor=white lang=NL link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Daniel, <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Thanks for the info, will dive into it together with an programmer that does the client..<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Thanks.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Daniel-Constantin Mierla [mailto:miconda@gmail.com] <br><b>Sent:</b> woensdag 20 juni 2012 11:42<br><b>To:</b> SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List<br><b>Cc:</b> Gertjan Wolzak<br><b>Subject:</b> Re: [SR-Users] Alias possible for presence...<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Hello,<br><br><o:p></o:p></p><div><p class=MsoNormal>On 6/20/12 9:19 AM, Gertjan Wolzak wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Well, the account name is not public, but I would like to have the possibility to have a &#8220;private&#8221; account for registering and a &#8220;public&#8221;account to publish.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>The goal is to have others to be able to send messages to your &nbsp;&#8220;public&#8221; id,&nbsp; while you log in with your &nbsp;&#8220;private&#8221; id.</span><o:p></o:p></p></blockquote><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>most of user agent have two fields, one to be used as SIP id and another one for authentication id.<br><br><br><br><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I know, think the next step is to get an communicator that has that possibility&#8230;..</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>So I want to be able to publish the &#8220;public&#8221; account and not the &#8220;private&#8221; one.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>For example:</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I register to the presence server with uid gertjan and my password, but I want to be known to others as newbie.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>So my friend can send an invitation/message to newbie as well as to gertjan .</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Just like the db_alias which is used in the kamalio for linking sip accounts to aliases.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>For presence, people have to subscribe to a SIP id, in this case it your public ID known by everybody.<br><br>The easiest will be that the user agent will publish in behalf of the public id. But ultimately, you can replace the values in headers and xml body (see textops/xmlops functions), then do presence handling, after applying the changes to the message (see textopsx module).<br><br>Cheers,<br>Daniel<br><br><br><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Rgds,</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Gertjan</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Daniel-Constantin Mierla [<a href="mailto:miconda@gmail.com">mailto:miconda@gmail.com</a>] <br><b>Sent:</b> dinsdag 19 juni 2012 10:27<br><b>To:</b> SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List<br><b>Cc:</b> Gertjan Wolzak<br><b>Subject:</b> Re: [SR-Users] Alias possible for presence...</span><o:p></o:p></p></div></div><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Hello,<o:p></o:p></p><div><p class=MsoNormal>On 6/14/12 10:28 AM, Gertjan Wolzak wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>Hello All,<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal><span lang=EN-US>I have the following challenge.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>We are using kamailio 3.2 and have enabled presence. Which works fine.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>But we would like to be able to work with aliases, so that the account name and &#8220;presentation&#8221; name can be different.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Any Ideas&#8230; Or did I miss the documentation on that?</span><o:p></o:p></p></blockquote><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman , serif","serif"'>the account name is public or not? If it is some internal id, eventually is used for authentication, but for presence the contacts should know the public id.<br><br>Or maybe you can give some example to understand how you use aliases in the context of presence...<br><br>Cheers,<br>Daniel<br><br><br></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman , serif","serif"'><br><br><br></span><o:p></o:p></p><pre>-- <o:p></o:p></pre><pre>Daniel-Constantin Mierla - <a href="http://www.asipto.com">http://www.asipto.com</a><o:p></o:p></pre><pre><a href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a><o:p></o:p></pre><pre>Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - <a href="http://asipto.com/u/katu">http://asipto.com/u/katu</a><o:p></o:p></pre><pre>Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - <a href="http://asipto.com/u/kpw">http://asipto.com/u/kpw</a><o:p></o:p></pre><p class=MsoNormal><span style='font-size:12.0pt'><br>-- <br>This message was scanned by Foize and is believed to be clean. <br><a href="http://filter.foize.com/cgi-bin/learn-msg.cgi?id=">Click here to report this message as spam.</a> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br><br><br><o:p></o:p></span></p><pre>_______________________________________________<o:p></o:p></pre><pre>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<o:p></o:p></pre><pre><a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><o:p></o:p></pre><pre><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></pre><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br><br><o:p></o:p></span></p><pre>-- <o:p></o:p></pre><pre>Daniel-Constantin Mierla - <a href="http://www.asipto.com">http://www.asipto.com</a><o:p></o:p></pre><pre><a href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a><o:p></o:p></pre><pre>Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - <a href="http://asipto.com/u/katu">http://asipto.com/u/katu</a><o:p></o:p></pre><pre>Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - <a href="http://asipto.com/u/kpw">http://asipto.com/u/kpw</a><o:p></o:p></pre><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:windowtext'><br>-- <br>This message was scanned by Foize and is believed to be clean. <br><a href="http://filter.foize.com/cgi-bin/learn-msg.cgi?id=">Click here to report this message as spam.</a> <o:p></o:p></span></p></div></body></html>