<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:10pt">+jdev@jabber.org<br>went missing in my reply....<br><div style="font-family: times new roman,new york,times,serif; font-size: 10pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2">----- Forwarded Message ----<br><b><span style="font-weight: bold;">From:</span></b> Abhinav Singh <abhinavsingh@ymail.com><br><b><span style="font-weight: bold;">To:</span></b> kevin@kismith.co.uk<br><b><span style="font-weight: bold;">Sent:</span></b> Mon, August 23, 2010 4:46:19 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [jdev] Unexpected 503 error code returned by MUC (ejabberd), help required<br></font><br>
<div style="font-family: times new roman,new york,times,serif; font-size: 10pt;">Hi Kevin,<br><br>Sorry but I am not clear on your message. Can you expand "sending an empty presence before sending the room join presence"?<br><br>To be specific, here is what my code does:<br>- Identify <span class="st0"><span style="font-weight: bold;">guest.3666062361282549857235348@im.jaxl.im/jaxl.1282549857</span> wants to enter room </span><span style="font-weight: bold;" class="st0">jaxl.im-b-guest.366606_threadtitle@muc.jaxl.im<br>- </span><span class="st0">Code identifies room doesn't already exists and hence try to create one by sending a room join presence from </span><span class="st0"><span style="font-weight: bold;">imjaxlim@im.jaxl.im/jaxl.1282549915</span> to </span><span style="font-weight: bold;" class="st0">jaxl.im-b-guest.366606_threadtitle@muc.jaxl.im/imjaxlim<br>- </span><span class="st0">Code also sends a room join presence from guest user to the room
immediately.<br><br>However, jabber server returns a 503 for 1st room join while a success for 2nd room join presence.<br>But ejabberd log shows 1st room join presence actually created the room, but still receives a 503 presence.<br><br><span style="text-decoration: underline;">PS:</span> I don't see sending any empty presence before room join presence....</span><div class="de2"><span class="sy0"><</span>presence from<span class="sy0">=</span><span class="st0">"imjaxlim@im.jaxl.im/jaxl.1282549915"</span> to<span class="sy0">=</span><span class="st0">"jaxl.im-b-guest.366606_threadtitle@muc.jaxl.im/imjaxlim"</span><span class="sy0">><br></</span>presence<span class="sy0">><br>or </span><div class="de2"><span class="sy0"><</span>presence from<span class="sy0">=</span><span class="st0">"imjaxlim@im.jaxl.im/jaxl.1282549915"</span> to<span class="sy0">=</span><span
class="st0">"jaxl.im-b-guest.366606_threadtitle@muc.jaxl.im/imjaxlim"</span><span class="sy0">><br></span><span class="sy0"><</span>x xmlns<span class="sy0">=</span><span class="st0"><span><span>"<a target="_blank" href="http://jabber.org/protocol/muc">http://jabber.org/protocol/muc</a>"</span></span></span><span class="sy0">></x></span><br><span class="sy0"></</span>presence<span class="sy0">><br>both gives me the same result.<br></span></div><br></div>Thanks for your help.<br><br>--<br>Abhinav Singh,<br>Founder, Jaxl Inc.<br>Bangalore, India<br><span><span><a target="_blank" href="http://abhinavsingh.com/blog">http://abhinavsingh.com/blog</a></span></span><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 10pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Kevin Smith
<kevin@kismith.co.uk><br><b><span style="font-weight: bold;">To:</span></b> Jabber/XMPP software development list <jdev@jabber.org><br><b><span style="font-weight: bold;">Sent:</span></b> Mon, August 23, 2010 4:09:59 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [jdev] Unexpected 503 error code returned by MUC (ejabberd), help required<br></font><br>
On Mon, Aug 23, 2010 at 11:11 AM, Abhinav Singh <<a rel="nofollow" ymailto="mailto:abhinavsingh@ymail.com" target="_blank" href="mailto:abhinavsingh@ymail.com">abhinavsingh@ymail.com</a>> wrote:<br>> I am facing an expected 503 error code returned by MUC (ejabberd)<br>> implementation. Below XMPP stanza's shall explain what i m trying to do:<br><span><span>> <a target="_blank" href="http://pastebin.com/16AJcr7Y">http://pastebin.com/16AJcr7Y</a></span></span><br><br>You seem to be sending an empty presence before sending the room join presence.<br><br>/K<br>_______________________________________________<br>JDev mailing list<br><span><span>Forum: <a target="_blank" href="http://www.jabberforum.org/forumdisplay.php?f=20">http://www.jabberforum.org/forumdisplay.php?f=20</a></span></span><br><span><span>Info: <a target="_blank"
href="http://mail.jabber.org/mailman/listinfo/jdev">http://mail.jabber.org/mailman/listinfo/jdev</a></span></span><br>Unsubscribe: <a rel="nofollow" ymailto="mailto:JDev-unsubscribe@jabber.org" target="_blank" href="mailto:JDev-unsubscribe@jabber.org">JDev-unsubscribe@jabber.org</a><br>_______________________________________________<br></div></div>
</div><br>
</div></div>
</div><br>
</body></html>