<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>We have developed some middleware that handles some errors.&nbsp;
When it does, it reverses the from and to elements and adds an error element to
form an &#8220;error message&#8221;.&nbsp; But the jabber server is kicking the
remote user out of the chat room where the original message came from.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Original message:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>&lt;message xmlns=&quot;jabber:client&quot; from=&quot;<b>relroom@conference.cglow.reldomain.com/reluser1</b>&quot;
id=&quot;Gh7px-26&quot; to=&quot;<b>secuser1@cghigh.secdomain.com/TransVerse</b>&quot;
type=&quot;groupchat&quot; xml:lang=&quot;en&quot;&gt;&lt;body
xml:lang=&quot;en&quot;&gt;confidential message 9&lt;/body&gt;&lt;x
xmlns=&quot;urn:us:gov:ic:ism:v2&quot; classification=&quot;U&quot;
declassManualReview=&quot;true&quot; ownerProducer=&quot;USA&quot;
x-label_bg_color=&quot;#006400&quot; x-label_fg_color=&quot;#FFFFFF&quot;
x-portionMarking=&quot;U&quot; x-securityBanner=&quot;UNCLASSIFIED&quot;
xml:lang=&quot;en&quot;/&gt;&lt;addresses
xmlns=&quot;http://jabber.org/protocol/address&quot;&gt;&lt;address
delivered=&quot;true&quot; jid=&quot;reluser1@cglow.reldomain.com/BuddySpace2.5Plus
JFCOM/J9&quot; type=&quot;to&quot;/&gt;&lt;address delivered=&quot;true&quot;
jid=&quot;secuser1@cghigh.secdomain.com/TransVerse&quot;
type=&quot;to&quot;/&gt;&lt;/addresses&gt;&lt;/message&gt;<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>[Error detected and handled]<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Returned &#8220;error message&#8221;:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>&lt;message xmlns=&quot;jabber:client&quot; from=&quot;<b>secuser1@cghigh.secdomain.com</b>/TransVerse&quot;
id=&quot;Gh7px-26&quot; to=&quot;<b>relroom@conference.cglow.reldomain.com</b>/reluser1&quot;
type=&quot;error&quot; xml:lang=&quot;en&quot;&gt;&lt;body
xml:lang=&quot;en&quot;&gt;confidential message 9&lt;/body&gt;&lt;addresses
xmlns=&quot;http://jabber.org/protocol/address&quot;&gt;&lt;address
delivered=&quot;true&quot;
jid=&quot;reluser1@cglow.reldomain.com/BuddySpace2.5Plus JFCOM/J9&quot;
type=&quot;to&quot;/&gt;&lt;address delivered=&quot;true&quot;
jid=&quot;secuser1@cghigh.secdomain.com/TransVerse&quot;
type=&quot;to&quot;/&gt;&lt;/addresses<b>&gt;&lt;error type=&quot;cancel&quot;
code=&quot;404&quot;&gt;&lt;remote-server-not-found
xmlns=&quot;urn:ietf:params:xml:ns:xmpp-stanzas&quot;/&gt;&lt;text
xmlns=&quot;urn:ietf:params:xml:ns:xmpp-stanzas&quot;&gt;Message rejected by
DSG&lt;/text&gt;&lt;/error&gt;</b>&lt;x xmlns=&quot;urn:us:gov:ic:ism:v2&quot;
classification=&quot;U&quot; declassManualReview=&quot;true&quot; ownerProducer=&quot;USA&quot;
x-label_bg_color=&quot;#006400&quot; x-label_fg_color=&quot;#FFFFFF&quot;
x-portionMarking=&quot;U&quot; x-securityBanner=&quot;UNCLASSIFIED&quot;
xml:lang=&quot;en&quot;/&gt;&lt;/message&gt;<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>The next packet that gets sent is a presence-unavailable
packet from the jabber server, kicking out remote user (<a
href="mailto:secuser1@cghigh.secdomain.com">secuser1@cghigh.secdomain.com</a>)
from the local chat room (<a
href="mailto:relroom@conference.cglow.reldomain.com">relroom@conference.cglow.reldomain.com</a>):<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>&lt;presence xmlns=&quot;jabber:client&quot; from=&quot;<b>relroom@conference.cglow.reldomain.com/secuser1</b>&quot;
id=&quot;heAq5-27&quot; to=&quot;<b>reluser1@cglow.reldomain.com</b>/BuddySpace2.5Plus
JFCOM/J9&quot; type=&quot;<b>unavailable</b>&quot;
xml:lang=&quot;en&quot;&gt;&lt;status&gt;Online&lt;/status&gt;&lt;priority&gt;0&lt;/priority&gt;&lt;x
xmlns=&quot;http://jabber.org/protocol/muc#user&quot;&gt;&lt;item
affiliation=&quot;none&quot; jid=&quot;secuser1@cghigh.secdomain.com/TransVerse&quot;
role=&quot;none&quot;/&gt;&lt;/x&gt;&lt;x
xmlns=&quot;urn:us:gov:ic:ism:v2&quot; classification=&quot;U&quot;
ownerProducer=&quot;USA&quot; x-label_bg_color=&quot;#006400&quot;
x-label_fg_color=&quot;#FFFFFF&quot; x-portionMarking=&quot;U&quot;
x-securityBanner=&quot;UNCLASSIFIED&quot;
xml:lang=&quot;en&quot;/&gt;&lt;addresses
xmlns=&quot;http://jabber.org/protocol/address&quot;&gt;&lt;address
delivered=&quot;true&quot;
jid=&quot;reluser1@cglow.reldomain.com/BuddySpace2.5Plus JFCOM/J9&quot;
type=&quot;to&quot;/&gt;&lt;address delivered=&quot;true&quot;
jid=&quot;secuser1@cghigh.secdomain.com/TransVerse&quot;
type=&quot;to&quot;/&gt;&lt;/addresses&gt;&lt;/presence&gt;<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>It doesn&#8217;t seem to matter which error code I send
back, my remote user (secuser1) gets kicked out of my local chat room (relroom).&nbsp;
The &#8220;error message&#8221; never makes it to my XMPP client (Transverse).<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Any ideas?&nbsp; What can I do so that the remote user
(secuser) doesn&#8217;t get kicked out and my &#8220;error message&#8221; makes
it to my XMPP client (Transverse)?<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Thanks,<o:p></o:p></p>

<p class=MsoNormal>Tom K.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span style='font-size:16.0pt;font-family:"Comic Sans MS"'>Tom
Kalafut<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Comic Sans MS"'>I3/CG
Crew Member<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Comic Sans MS"'>Trident
Systems Inc.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Comic Sans MS"'><a
href="mailto:tommyk@tridsys.com"><span style='color:blue'>tommyk@tridsys.com</span></a><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Comic Sans MS"'>(919)388-1264<o:p></o:p></span></p>

<p class=MsoNormal><b><span style='font-size:12.0pt;font-family:"Comic Sans MS"'><o:p>&nbsp;</o:p></span></b></p>

<p class=MsoNormal><b><span style='font-size:12.0pt;font-family:"Comic Sans MS"'>============</span></b><b><span
style='font-size:12.0pt'><o:p></o:p></span></b></p>

<p class=MsoNormal><b><span style='font-size:10.0pt'>The opinions expressed in
this e-mail may not necessarily reflect the opinions of Trident Systems Inc.<o:p></o:p></span></b></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>