<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body 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>
    <br>
    <div class="moz-cite-prefix">On 08.01.18 08:19, Suresh Talasaniya
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAM+QFX80Sa=rWd0=DfcLHf9ew5hkMAu7foz7VHDBFb7jparPow@mail.gmail.com">
      <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 class=""> <br>
                <div class="m_-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 class="">
                  <div dir="ltr">
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div>
                      <div>ERROR: <core>
                        [core/parser/parse_fline.c:<wbr>257]:
                        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-<wbr>WebSocket-Protocol:
                        sip#015#012Upgrade: websocket#015#012Connection:
                        upgrade#015#012Sec-WebSocket-<wbr>Accept:
                        qrLTSNMA7oAO8YXGaUhf3Ru26X0=#<wbr>015#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_-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_-7697135578695330995mimeAttachmentHeader"></fieldset>
                  <br>
                </span>
                <pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="m_-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_-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/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre>
                <span class="HOEnZb"><font color="#888888"> </font></span></blockquote>
              <span class="HOEnZb"><font color="#888888"> <br>
                  <pre class="m_-7697135578695330995moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_-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_-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_-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_-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="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>