[SIP Beyond VoIP] Sylkserver: Additional headers are not transported in dispatched messages

Andreas Bachmann andreas at jibemobile.com
Tue Nov 15 11:01:16 CET 2011


Hello,

I realized that any additional headers in the CPIM messages are not
dispatched to the participants in the conference. Looking in room.py I
changed from:


chat_stream.send_message(message.body, message.content_type,
local_identity=identity, recipients=[self.identity],
timestamp=message.timestamp)

to: 

chat_stream.send_message(message.body, message.content_type,
local_identity=identity, recipients=[self.identity],
timestamp=message.timestamp, additional_headers=message.additional_headers)


in the dispatch_method function. Same with dispatch_private_message.

After that the headers are sent correctly.
Maybe someone can apply this to the trunk.

Thanks

Andreas




More information about the SIPBeyondVoIP mailing list