[Freeswitch-users] SIP for chat messages only
steveayre at gmail.com
Fri Jan 23 16:59:52 MSK 2015
It's normal for the Call-ID to be different each time - each message is its
Can you not group conversations based on the sender+receiver pair?
On 23 January 2015 at 10:28, mbo <mbodbg at gmx.net> wrote:
> We have implemented a web based client based on the jsSIP library to do
> audio/video and chat via SIP over websocket and freeswitch. With this
> client it is also possible to chat only.
> When chatting between two clients, the Call-ID in the message is different
> for each message.
> MESSAGE sip:1008 at 192.168.0.123 SIP/2.0
> Via: SIP/2.0/WSS rfboa1c9gg6q.invalid;branch=z9hG4bK2512434
> Max-Forwards: 69
> To: <sip:1008 at 192.168.0.123>
> From: <sip:192.168.0.123>;tag=e472qkncp0
> Call-ID: 0ggfl2u355ebrf77jsrq <—— always different
> CSeq: 521 MESSAGE
> sessionId: some uuid
> Content-Type: text/plain
> Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS
> Supported: outbound
> User-Agent: JsSIP 0.6.0
> Content-Length: 2
> First problem: As the Call-ID is different for each message, I cannot
> group the messages to a conversation.
> Second problem: I want to store the chat conversation in the database and
> link it to a CDR. But there is no CDR written for the conversation.
> As I can see in the RFC (https://www.ietf.org/rfc/rfc3428.txt) on page 3,
> it should also be possible to create a dialog and then send all messages in
> context of this dialog. I assume this means, it is possible to establish a
> chat only (INVITE) call and then send all messages in context of the call.
> If there is a call then freeswitch will also write a cdr and if I can send
> messages in context of that call I can group them to a conversation, insert
> it to the db and link it to the cdr. How can I do this with freeswitch?
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users