powered by Jive Software

Getting duplicate and triplicate Broadcast messages in openfire xmpp


#1

Hello all,

I am using openfire xmpp to send Broadcasting messages to my users but I am getting duplicate and even more repeating broadcast messages.

here is my xmpp php code for sending broadcast messages to my users.

$conn = new XMPPHP_XMPP(‘server_ip’, 5222, ‘username’, ‘password’, ‘xmpphp’, ‘server_ip’, false, XMPPHP_Log::LEVEL_INFO);

$conn->connect(500, TRUE);

$conn->processUntil(‘session_start’);

// $conn->presence(NULL, “available”, ‘all@broadcast.server_domain/username’);

$conn->presence();

$conn->message(‘all@broadcast.server_domain’, $braodcast_message, ‘normal’);

$conn->disconnect();

After few messages the old message with old timestamp pops up. and this happened many times with few messages.

please let me know if someone have encounter this issue or resolved

Many Thanks in advanced!


#2

Yes, I see this too with igniterealtime’s Openfire even

OF-1318