[email protected]
went missing in my reply....


----- Forwarded Message ----
From: Abhinav Singh <[email protected]>
To: [email protected]
Sent: Mon, August 23, 2010 4:46:19 PM
Subject: Re: [jdev] Unexpected 503 error code returned by MUC (ejabberd), help 
required


Hi Kevin,

Sorry but I am not clear on your message. Can you expand "sending an empty 
presence before sending the room join presence"?

To be specific, here is what my code does:
- Identify [email protected]/jaxl.1282549857 wants to 
enter room [email protected]
- Code identifies room doesn't already exists and hence try to create one by 
sending a room join presence from [email protected]/jaxl.1282549915 to 
[email protected]/imjaxlim
- Code also sends a room join presence from guest user to the room immediately.

However, jabber server returns a 503 for 1st room join while a success for 2nd 
room join presence.
But ejabberd log shows 1st room join presence actually created the room, but 
still receives a 503 presence.

PS: I don't see sending any empty presence before room join presence....
<presence from="[email protected]/jaxl.1282549915" 
to="[email protected]/imjaxlim">
</presence>
or 
<presence from="[email protected]/jaxl.1282549915" 
to="[email protected]/imjaxlim">
<x xmlns="http://jabber.org/protocol/muc";></x>
</presence>
both gives me the same result.

Thanks for your help.

--
Abhinav Singh,
Founder, Jaxl Inc.
Bangalore, India
http://abhinavsingh.com/blog




________________________________
From: Kevin Smith  <[email protected]>
To: Jabber/XMPP software development list <[email protected]>
Sent: Mon, August 23, 2010 4:09:59 PM
Subject: Re: [jdev] Unexpected 503 error code returned by MUC (ejabberd), help 
required

On Mon, Aug 23, 2010 at 11:11 AM, Abhinav Singh <[email protected]> wrote:
> I am facing an expected 503 error code returned by MUC (ejabberd)
> implementation. Below XMPP stanza's shall explain what i m trying to do:
> http://pastebin.com/16AJcr7Y

You  seem to be sending an empty presence before sending the room join presence.

/K
_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________


      
_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________

Reply via email to