<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hello,</div><div><br></div><div>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.</div><div>When chatting between two clients, the Call-ID in the message is different for each message.</div><div><br></div><div><div>MESSAGE <a href="sip:1008@192.168.0.123">sip:1008@192.168.0.123</a> SIP/2.0</div><div>Via: SIP/2.0/WSS rfboa1c9gg6q.invalid;branch=z9hG4bK2512434</div><div>Max-Forwards: 69</div><div>To: &lt;<a href="sip:1008@192.168.0.123">sip:1008@192.168.0.123</a>&gt;</div><div>From: &lt;<a href="sip:192.168.0.123">sip:192.168.0.123</a>&gt;;tag=e472qkncp0</div><div>Call-ID: 0ggfl2u355ebrf77jsrq &lt;—— always different</div><div>CSeq: 521 MESSAGE</div><div>sessionId: some uuid</div><div>Content-Type: text/plain</div><div>Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS</div><div>Supported: outbound</div><div>User-Agent: JsSIP 0.6.0</div><div>Content-Length: 2</div></div><div><br></div><div>First problem: As the Call-ID is different for each message, I cannot group the messages to a conversation.</div><div>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.&nbsp;</div><div><br></div><div>As I can see in the RFC (<a href="https://www.ietf.org/rfc/rfc3428.txt">https://www.ietf.org/rfc/rfc3428.txt</a>) 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.</div><div>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?</div><div><br></div><div>Thanks</div><div><br></div><div>Markus</div><div><br></div><div>&nbsp;</div><div><br></div><div><br></div><div><br></div><div><br></div><div apple-content-edited="true"><br><div><br></div><br class="Apple-interchange-newline">

</div>

<br></body></html>