It's normal for the Call-ID to be different each time - each message is its own dialog.

Can you not group conversations based on the sender+receiver pair?

On 23 January 2015 at 10:28, mbo <mbodbg@gmx.net> wrote:
Hello,

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@192.168.0.123 SIP/2.0
Via: SIP/2.0/WSS rfboa1c9gg6q.invalid;branch=z9hG4bK2512434
Max-Forwards: 69
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?

Thanks

Markus

 









_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org