[SR-Users] parsing of SIP message failed

Daniel-Constantin Mierla miconda at gmail.com
Mon Jan 8 10:11:51 CET 2018


Hello,

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.

Another one from the log is related to the fact that the websocket
connection is not found anymore.

Cheers,
Daniel


On 08.01.18 08:19, Suresh Talasaniya wrote:
> 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 <mailto: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 List
>>     sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>>     https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>     <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
>
>     -- 
>     Daniel-Constantin Mierla
>     www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
>     Kamailio Advanced Training - www.asipto.com <http://www.asipto.com>
>     Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com <http://www.kamailioworld.com>
>
>
>
>
> -- 
> Regards,
> Suresh Talasaniya. 
> Contact : +91-9724264776
> Skype : suresh.talsaniya

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180108/6e0e72ad/attachment-0001.html>


More information about the sr-users mailing list