View Single Post
  #3 (permalink)  
Old December 4th, 2010, 01:14 PM
metajack metajack is offline
Wrox Author
Points: 702, Level: 10
Points: 702, Level: 10 Points: 702, Level: 10 Points: 702, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2010
Posts: 178
Thanks: 0
Thanked 16 Times in 15 Posts
Default

Quote:
Originally Posted by yaronfa View Post
The stanza I send:

"
<presence to="room1@conference.yaron-pc/mynick" from="admin@yaron-pc">
<x xmlns="http://jabber.org/protocol/muc" />
</presence>
"
Do not set the 'from' attribute. I included it in the examples in the book so that people would understand who the stanzas are sent from. You'll notice in the book's code I never set this attribute. The server will stamp your stanza with the correct from, and it will ignore or reject anything you set there in most cases.

If that isn't the problem, you might try sending a disco#info query to conference.yaron-pc to see if it responds. If that fails, try sending a disco#info query to yaron-pc. It should list the conference service in a disco#items response as well.