[SR-Users] parsing of SIP message failed

Suresh Talasaniya suresh.talasaniya at gmail.com
Mon Jan 8 10:50:02 CET 2018


Hi Daniel,

@Daniel. Thank you for the reply.

I am working on Kamailio for the presence of SIP and WebRTC client.

so, can you please guide me how to achieve presence functionality for both
clients?

Like as which module of Kamailio uses for it?


Thank you.







On Mon, Jan 8, 2018 at 2:41 PM, Daniel-Constantin Mierla <miconda at gmail.com>
wrote:

> 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> 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
>
>
> --
> Daniel-Constantin Mierlawww.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
>
>


-- 
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/cd43f1ea/attachment-0001.html>


More information about the sr-users mailing list