Hello Everyone,

I need to setup Kamailio server with Presence for SIP and WebRTC clients.

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.

Please, find here attached 3 files for reference.

1) kamailio.cfg (part of kamailio.cfg file)
2) kamailio.log
3) webrtc_browser.log


Could somebody help me with this?

On Thu, Jan 4, 2018 at 2:21 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,


On 03.01.18 12:33, Suresh Talasaniya wrote:
Hi,

I consistently receive the following 3 errors (see below) over and over when a call is being collected.
what do you mean by "when a call is being collected"? What exactly are you doing in kamailio.cfg for this operation>

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.

Cheers,
Daniel



ERROR: <core> [core/parser/parse_fline.c:257]: parse_first_line(): parse_first_line: bad message (offset: 22)

ERROR: <core> [core/parser/msg_parser.c:671]: 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-WebSocket-Protocol: sip#015#012Upgrade: websocket#015#012Connection: upgrade#015#012Sec-WebSocket-Accept: qrLTSNMA7oAO8YXGaUhf3Ru26X0=#015#012Content-Length: 0#015#012#015#012>

Any assistance would be appreciated.

Thank you.

--
Regards,
Suresh Talasaniya. 
Contact : +91-9724264776
Skype : suresh.talsaniya


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com



--
Regards,
Suresh Talasaniya. 
Contact : +91-9724264776
Skype : suresh.talsaniya