<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>modules prefixed with presence and pua are related to presence
server implementation. Then rls and xcap* modules are somehow
related if you need these services.</p>
<p>Rather old, but a starting point can be this tutorial:</p>
<p> - <a class="moz-txt-link-freetext" href="https://kb.asipto.com/kamailio:presence:k31-made-simple">https://kb.asipto.com/kamailio:presence:k31-made-simple</a></p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 08.01.18 10:50, Suresh Talasaniya
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAM+QFX92qFY1JOABNdJTyATExOQisNwCQpLafTgxpFRcrcU5gA@mail.gmail.com">
<div dir="ltr">
<div class="gmail-WordSection1" style="page: WordSection1;">
<p class="MsoNormal" style="margin:2pt
0cm;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span
style="font-size:10pt;font-family:"Segoe
UI",sans-serif;color:black">Hi Daniel,<br>
<br>
@Daniel. Thank you for the reply.<br>
<br>
I am working on Kamailio for the presence of SIP and
WebRTC client. </span></p>
<p class="MsoNormal" style="margin:2pt
0cm;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span
style="font-size:10pt;font-family:"Segoe
UI",sans-serif;color:black">so, can you please guide
me how to achieve presence functionality for both clients?</span></p>
<p class="MsoNormal" style="margin:2pt
0cm;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif">
</p>
<div class="gmail-WordSection1" style="page: WordSection1;">
<p class="MsoNormal" style="margin:2pt
0cm;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span
style="font-size:10pt;font-family:"Segoe
UI",sans-serif;color:black">Like as which module of
Kamailio uses for it?</span></p>
<p class="MsoNormal" style="margin:2pt
0cm;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span
style="font-size:10pt;font-family:"Segoe
UI",sans-serif;color:black"><br>
</span></p>
<p class="MsoNormal" style="margin:2pt
0cm;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span
style="font-size:10pt;font-family:"Segoe
UI",sans-serif;color:black">Thank you.</span></p>
<p class="MsoNormal" style="margin:0cm 0cm
0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span
style="font-size:8pt;font-family:"Segoe
UI",sans-serif;color:rgb(78,88,106)"> </span></p>
<p class="MsoNormal" style="margin:0cm 0cm
0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span
style="font-size:10pt"> </span></p>
</div>
<p class="MsoNormal" style="margin:2pt
0cm;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span
style="font-size:10pt;font-family:"Segoe
UI",sans-serif;color:black"><br>
</span></p>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Jan 8, 2018 at 2:41 PM,
Daniel-Constantin Mierla <span dir="ltr"><<a
href="mailto:miconda@gmail.com" target="_blank"
moz-do-not-send="true">miconda@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>as I wrote in my previous message, there is an error
related to kamailio receiving an HTTP response. Kamailio
doesn't handle HTTP responses, it can received and
process only HTTP requests.</p>
<p>Another one from the log is related to the fact that
the websocket connection is not found anymore.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div>
<div class="h5"> <br>
<div class="m_-5849114677244918061moz-cite-prefix">On
08.01.18 08:19, Suresh Talasaniya wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><span style="font-size:12.8px">Hello
Everyone,</span>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">
<div style="font-size:12.8px">I need to setup
Kamailio server with Presence for SIP and
WebRTC clients.</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">The WebRTC client
gets the subscribe and notify events for
zoiper sip client and also display the
presence in browser log. But other VoIP phone
and WebRTC extension events for presence not
received. I have seen some errors in Kamailio.</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Please, find here
attached 3 files for reference.</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">1) kamailio.cfg
(part of kamailio.cfg file)</div>
<div style="font-size:12.8px">2) kamailio.log</div>
<div style="font-size:12.8px">3)
webrtc_browser.log</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Could somebody
help me with this?</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Jan 4, 2018 at
2:21 PM, Daniel-Constantin Mierla <span
dir="ltr"><<a
href="mailto:miconda@gmail.com"
target="_blank" moz-do-not-send="true">miconda@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hello,<br>
</p>
<span> <br>
<div
class="m_-5849114677244918061m_-7697135578695330995moz-cite-prefix">On
03.01.18 12:33, Suresh Talasaniya wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div><span><b>I consistently receive
the following 3 errors (see
below) over and over when a call
is being collected.</b></span><br>
</div>
</div>
</blockquote>
</span><b>what do you mean by "when a call
is being collected"? What exactly are you
doing in kamailio.cfg for this
operation><br>
<br>
The message is an HTTP response, Kamailio
can act only as HTTP server, therefore
receiving only HTTP requests. Kamailio
cannot act as an HTTP proxy.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
</b>
<blockquote type="cite"><span>
<div dir="ltr">
<div><br>
</div>
<div><br>
</div>
<div>
<div>ERROR: <core>
[core/parser/parse_fline.c:257<wbr>]:
parse_first_line():
parse_first_line: bad message
(offset: 22)</div>
<div><br>
</div>
<div>ERROR: <core>
[core/parser/msg_parser.c:671]<wbr>:
parse_msg(): ERROR: parse_msg:
message=<HTTP/1.1 101 Switching
Protocols#015#012Sia: SIP/2.0/TLS
x.x.x.x:42173#015#012Sec-WebSo<wbr>cket-Protocol:
sip#015#012Upgrade:
websocket#015#012Connection:
upgrade#015#012Sec-WebSocket-A<wbr>ccept:
qrLTSNMA7oAO8YXGaUhf3Ru26X0=#0<wbr>15#012Content-Length:
0#015#012#015#012></div>
</div>
<div><br>
</div>
<span>Any assistance would be
appreciated.</span>
<div><font face="-apple-system,
BlinkMacSystemFont, Segoe UI,
Helvetica, Arial, sans-serif,
Apple Color Emoji, Segoe UI Emoji,
Segoe UI Symbol" color="#24292e"><span
style="font-size:14px"><br>
</span></font></div>
<div><span></span><font
face="-apple-system,
BlinkMacSystemFont, Segoe UI,
Helvetica, Arial, sans-serif,
Apple Color Emoji, Segoe UI Emoji,
Segoe UI Symbol" color="#24292e"><span
style="font-size:14px">Thank
you.<br clear="all">
</span></font>
<div><br>
</div>
-- <br>
<div
class="m_-5849114677244918061m_-7697135578695330995gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><span>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><font
color="#8e7cc3">Regards,</font></div>
<div><font
color="#8e7cc3">Suresh
Talasaniya. </font></div>
<div><span
style="color:rgb(142,124,195);font-size:12.8px">Contact
:
+91-9724264776<br>
</span><font
color="#8e7cc3">Skype
:
suresh.talsaniya</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</span></div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset
class="m_-5849114677244918061m_-7697135578695330995mimeAttachmentHeader"></fieldset>
<br>
</span>
<pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="m_-5849114677244918061m_-7697135578695330995moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="m_-5849114677244918061m_-7697135578695330995moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><span class="m_-5849114677244918061HOEnZb"><font color="#888888">
</font></span></pre>
<span class="m_-5849114677244918061HOEnZb"><font
color="#888888"> </font></span></blockquote>
<span class="m_-5849114677244918061HOEnZb"><font
color="#888888"> <br>
<pre class="m_-5849114677244918061m_-7697135578695330995moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="m_-5849114677244918061m_-7697135578695330995moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="m_-5849114677244918061m_-7697135578695330995moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="m_-5849114677244918061m_-7697135578695330995moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank" moz-do-not-send="true">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="m_-5849114677244918061m_-7697135578695330995moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank" moz-do-not-send="true">www.kamailioworld.com</a></pre>
</font></span></div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-5849114677244918061gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><span>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><font
color="#8e7cc3">Regards,</font></div>
<div><font
color="#8e7cc3">Suresh
Talasaniya. </font></div>
<div><span
style="color:rgb(142,124,195);font-size:12.8px">Contact
:
+91-9724264776<br>
</span><font
color="#8e7cc3">Skype
:
suresh.talsaniya</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</span></div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</div>
<pre class="m_-5849114677244918061moz-signature" cols="72"><div><div class="h5">--
Daniel-Constantin Mierla
<a class="m_-5849114677244918061moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="m_-5849114677244918061moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a></div></div>
Kamailio Advanced Training - March 5-7, 2018, Berlin - <a class="m_-5849114677244918061moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank" moz-do-not-send="true">www.asipto.com</a><span class="">
Kamailio World Conference - May 14-16, 2018 - <a class="m_-5849114677244918061moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank" moz-do-not-send="true">www.kamailioworld.com</a></span></pre>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><span>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><font color="#8e7cc3">Regards,</font></div>
<div><font color="#8e7cc3">Suresh
Talasaniya. </font></div>
<div><span
style="color:rgb(142,124,195);font-size:12.8px">Contact
: +91-9724264776<br>
</span><font color="#8e7cc3">Skype
: suresh.talsaniya</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</span></div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - March 5-7, 2018, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>