[SR-Users] parsing of SIP message failed

Suresh Talasaniya suresh.talasaniya at gmail.com
Mon Jan 8 08:19:32 CET 2018


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 at 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 Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierlawww.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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180108/8e0fdddc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kamailio.cfg
Type: application/octet-stream
Size: 11667 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180108/8e0fdddc/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kamailio.log
Type: application/octet-stream
Size: 2754 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180108/8e0fdddc/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: webrtc_browser.log
Type: application/octet-stream
Size: 3012 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180108/8e0fdddc/attachment-0005.obj>


More information about the sr-users mailing list