I have been trying to get XMPP working for Bria Pro 2.5 because some users 
wanted a Chatroom functionality.
I enabled the [Bundle.IM] role on the SipX server (4.2.0)
I created a usergroup "GroupChat", enabled "IM account" and "Add user 
group as IM group"
for the group  and added 3 users that use Bria Pro. 

When restarting Bria we got a new contacts group "GroupChat" with the 
users in there.
When you right-click a contact Bria shows the "Start Group Chat..." option 
to start a groupchat.
When I select this option an invite is send to the server, but it is not 
received on the other client (Bria nor Pidgin).
In the Bria debug of the inviter I see a 
<error code='404' type='cancel'><remote-server-not-found 
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error>

See attached file "Bria-Invite.txt".

The SIP-domain is th.internal.epo.org.
The XMPP server is gssipx02.internal.epo.org (primary sip server).

As the groupchat is send to "conference.gssipx02.internal.epo.org" instead 
of "conference.th.internal.epo.org" (our SIP domain) I have added an A 
record and SRV records
but this did not help. 
Do I need to set up a conference for this?
Any other suggestions?

BTW: For info only: I got it working with Pidgin, but this works 
completely different from Bria, with Pidgin you first search for Chat 
Rooms, then join one and then you can invite users.
I made a conference "Mine" and left it "public" so that it can be found.
This works well, including inviting Bria users.
I did have to remove the password of the conference otherwise Bria can't 
accept the invite.
In the Bria debug I got a 
<error code='401' type='auth'><not-authorized 
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error>

See the second file "Bria-Pidgin.txt", first the Bria debug with the 
error, then the successfull join after I removed the password.

Best regards / Mit freundlichen Grüßen / Sincères salutations

Paul Scheepens
Bria to Bria Group Chat, does not work, the debug below is from the Bria that 
sends the invite.
I see some traffic being send to the SipX/Openfire server on port 5222
Nothing is received on the other client.


[10-04-27]14:42:29.297 | Info    | XMPP | "XMPP/Gloox (XML Out): <presence 
to='4b89832522d343a89060c2d749d67...@conference.gssipx02.internal.epo.org/69073331'
 from='[email protected]//home'><x 
xmlns='http://jabber.org/protocol/muc'/></presence>
" | sua::XmppAccessImpl::handleLog
[10-04-27]14:42:29.297 | Info    | Conferencing | "XMPP: changeSubject: 
69073331's room" | cpsi::XmppConferenceImpl::changeSubject
[10-04-27]14:42:29.297 | Info    | XMPP | "XMPP/Gloox (XML Out): <message 
to='4b89832522d343a89060c2d749d67...@conference.gssipx02.internal.epo.org' 
type='groupchat'><subject>69073331&apos;s room</subject></message>
" | sua::XmppAccessImpl::handleLog
[10-04-27]14:42:29.317 | Info    | XMPP | "XMPP/Gloox (XML In): <presence 
to='[email protected]//home' 
from='4b89832522d343a89060c2d749d67...@conference.gssipx02.internal.epo.org/69073331'
 type='error'><error code='404' type='cancel'><remote-server-not-found 
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></presence>
" | sua::XmppAccessImpl::handleLog
[10-04-27]14:42:29.318 | Info    | Conferencing | "XMPP: handleMUCError: 
<presence to='[email protected]//home' 
from='4b89832522d343a89060c2d749d67...@conference.gssipx02.internal.epo.org/69073331'
 type='error'><error code='404' type='cancel'><remote-server-not-found 
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></presence>" | 
cpsi::XmppConferenceImpl::handleMUCError
[10-04-27]14:42:29.518 | Info    | XMPP | "XMPP/Gloox (XML In): <message 
to='[email protected]//home' 
from='4b89832522d343a89060c2d749d67...@conference.gssipx02.internal.epo.org' 
type='error'><error code='404' type='cancel'><remote-server-not-found 
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></message>
" | sua::XmppAccessImpl::handleLog
[10-04-27]14:42:29.518 | Info    | Conferencing | "XMPP: handleMUCError: 
<message to='[email protected]//home' 
from='4b89832522d343a89060c2d749d67...@conference.gssipx02.internal.epo.org' 
type='error'><error code='404' type='cancel'><remote-server-not-found 
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></message>" | 
cpsi::XmppConferenceImpl::handleMUCError
In Pidgin you can join a preconfigured conference. Click on <Buddies>, <Join a 
Chat>, <Room List> to get a list, Click <Join> to join a conference.
I preconfigured conference "Mine" on SipX with password/pin "1234".
Pidgin joins conference "Mine", then invites Bria, this is in the Bria debug 
Although the password is sent to the client, a "not-authorized" is returned

[10-04-27]14:47:38.668 | Info    | XMPP | "XMPP/Gloox (XML In): <message 
from='[email protected]' to='[email protected]'><x 
xmlns='http://jabber.org/protocol/muc#user'><invite 
from='[email protected]'/><password>1234</password></x><x 
xmlns='jabber:x:conference' 
jid='[email protected]'/></message>
" | sua::XmppAccessImpl::handleLog
[10-04-27]14:47:38.668 | Debug   | XMPP | "XMPP: handleMUCInvitation():  
<message from='[email protected]' 
to='[email protected]'><x 
xmlns='http://jabber.org/protocol/muc#user'><invite 
from='[email protected]'/><password>1234</password></x><x 
xmlns='jabber:x:conference' 
jid='[email protected]'/></message>" | 
sua::XmppAccessImpl::handleMUCInvitation
[10-04-27]14:47:45.327 | Info    | Conferencing | "XMPP: joinConference: 
69073331" | cpsi::XmppConferenceImpl::joinConference
[10-04-27]14:47:45.327 | Info    | XMPP | "XMPP/Gloox (XML Out): <presence 
to='[email protected]/69073331' 
from='[email protected]//home'><x 
xmlns='http://jabber.org/protocol/muc'/></presence>
" | sua::XmppAccessImpl::handleLog
[10-04-27]14:47:45.335 | Info    | XMPP | "XMPP/Gloox (XML In): <presence 
to='[email protected]//home' 
from='[email protected]/69073331' type='error'><x 
xmlns='http://jabber.org/protocol/muc'/><error code='401' 
type='auth'><not-authorized 
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></presence>
" | sua::XmppAccessImpl::handleLog
[10-04-27]14:47:45.335 | Info    | Conferencing | "XMPP: handleMUCError: 
<presence to='[email protected]//home' 
from='[email protected]/69073331' type='error'><x 
xmlns='http://jabber.org/protocol/muc'/><error code='401' 
type='auth'><not-authorized 
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></presence>" | 
cpsi::XmppConferenceImpl::handleMUCError


Same as previous, now with password removed from the "Mine" conference. Now 
Bria can connect. So from Pidgin it s possible to set up a GroupChat if there 
is an existing conference without a password/pin.


[10-04-27]15:31:53.469 | Info    | XMPP | "XMPP/Gloox (XML In): <message 
from='[email protected]' to='[email protected]'><x 
xmlns='http://jabber.org/protocol/muc#user'><invite 
from='[email protected]'><reason>hello</reason></invite></x><x 
xmlns='jabber:x:conference' 
jid='[email protected]'/></message>
" | sua::XmppAccessImpl::handleLog
[10-04-27]15:31:53.469 | Debug   | XMPP | "XMPP: handleMUCInvitation():  
<message from='[email protected]' 
to='[email protected]'><x 
xmlns='http://jabber.org/protocol/muc#user'><invite 
from='[email protected]'><reason>hello</reason></invite></x><x 
xmlns='jabber:x:conference' 
jid='[email protected]'/></message>" | 
sua::XmppAccessImpl::handleMUCInvitation
[10-04-27]15:31:55.670 | Info    | Conferencing | "XMPP: joinConference: 
69073331" | cpsi::XmppConferenceImpl::joinConference
[10-04-27]15:31:55.670 | Info    | XMPP | "XMPP/Gloox (XML Out): <presence 
to='[email protected]/69073331' 
from='[email protected]//home'><x 
xmlns='http://jabber.org/protocol/muc'/></presence>
" | sua::XmppAccessImpl::handleLog
[10-04-27]15:31:55.674 | Info    | XMPP | "XMPP/Gloox (XML In): <presence 
to='[email protected]//home' 
from='[email protected]/69071112'><priority>1</priority><c 
xmlns='http://jabber.org/protocol/caps' node='http://pidgin.im/' hash='sha-1' 
ver='I22W7CegORwdbnu0ZiQwGpxr0Go='/><x 
xmlns='http://jabber.org/protocol/muc#user'><item 
jid='[email protected]/home' affiliation='none' 
role='participant'/></x></presence>
" | sua::XmppAccessImpl::handleLog
[10-04-27]15:31:55.674 | Info    | Conferencing | "XMPP: 
handleMUCParticipantPresence: <presence to='[email protected]//home' 
from='[email protected]/69071112'><priority>1</priority><c 
xmlns='http://jabber.org/protocol/caps' node='http://pidgin.im/' hash='sha-1' 
ver='I22W7CegORwdbnu0ZiQwGpxr0Go='/><x 
xmlns='http://jabber.org/protocol/muc#user'><item 
jid='[email protected]/home' affiliation='none' 
role='participant'/></x></presence>" | 
cpsi::XmppConferenceImpl::handleMUCParticipantPresence
[10-04-27]15:31:55.674 | Info    | XMPP | "XMPP/Gloox (XML Out): <iq id='uid8' 
to='[email protected]' 
from='[email protected]//home' type='get'><query 
xmlns='http://jabber.org/protocol/disco#info'/></iq>
" | sua::XmppAccessImpl::handleLog
[10-04-27]15:31:55.676 | Info    | XMPP | "XMPP/Gloox (XML In): <presence 
to='[email protected]//home' 
from='[email protected]/69073331'><x 
xmlns='http://jabber.org/protocol/muc#user'><item 
jid='[email protected]//home' affiliation='owner' 
role='moderator'/></x></presence>
" | sua::XmppAccessImpl::handleLog
[10-04-27]15:31:55.676 | Info    | Conferencing | "XMPP: 
handleMUCParticipantPresence: <presence to='[email protected]//home' 
from='[email protected]/69073331'><x 
xmlns='http://jabber.org/protocol/muc#user'><item 
jid='[email protected]//home' affiliation='owner' 
role='moderator'/></x></presence>" | 
cpsi::XmppConferenceImpl::handleMUCParticipantPresence
[10-04-27]15:31:55.677 | Info    | XMPP | "XMPP/Gloox (XML In): <message 
type='groupchat' from='[email protected]' 
to='[email protected]//home'><body>This room is not 
anonymous.</body><x xmlns='http://jabber.org/protocol/muc#user'><status 
code='100'/></x></message>
" | sua::XmppAccessImpl::handleLog
[10-04-27]15:31:55.677 | Info    | Conferencing | "XMPP: handleMUCMessage: 
<message type='groupchat' from='[email protected]' 
to='[email protected]//home'><body>This room is not 
anonymous.</body><x xmlns='http://jabber.org/protocol/muc#user'><status 
code='100'/></x></message>" | cpsi::XmppConferenceImpl::handleMUCMessage
[10-04-27]15:31:55.785 | Info    | XMPP | "XMPP/Gloox (XML In): <iq 
type='result' id='uid8' from='[email protected]' 
to='[email protected]//home'><query 
xmlns='http://jabber.org/protocol/disco#info'><identity category='conference' 
name='mine' type='text'/><feature 
var='http://jabber.org/protocol/muc'/><feature var='muc_public'/><feature 
var='muc_open'/><feature var='muc_unmoderated'/><feature 
var='muc_nonanonymous'/><feature var='muc_unsecured'/><feature 
var='muc_persistent'/><feature var='http://jabber.org/protocol/disco#info'/><x 
xmlns='jabber:x:data' type='result'><field var='FORM_TYPE' 
type='hidden'><value>http://jabber.org/protocol/muc#roominfo</value></field><field
 label='Description' 
var='muc#roominfo_description'><value>TestConf</value></field><field 
label='Subject' var='muc#roominfo_subject'><value/></field><field label='Number 
of occupants' var='muc#roominfo_occupants'><value>2</value></field><field 
label='Creation date' 
var='x-muc#roominfo_creationdate'><value>20100426T12:37:38</value></field></x></query></iq>
" | sua::XmppAccessImpl::handleLog
[10-04-27]15:31:55.787 | Info    | Conferencing | "XMPP: handleMUCInfo: <iq 
type='result' id='uid8' from='[email protected]' 
to='[email protected]//home'><query 
xmlns='http://jabber.org/protocol/disco#info'><identity category='conference' 
name='mine' type='text'/><feature 
var='http://jabber.org/protocol/muc'/><feature var='muc_public'/><feature 
var='muc_open'/><feature var='muc_unmoderated'/><feature 
var='muc_nonanonymous'/><feature var='muc_unsecured'/><feature 
var='muc_persistent'/><feature var='http://jabber.org/protocol/disco#info'/><x 
xmlns='jabber:x:data' type='result'><field var='FORM_TYPE' 
type='hidden'><value>http://jabber.org/protocol/muc#roominfo</value></field><field
 label='Description' 
var='muc#roominfo_description'><value>TestConf</value></field><field 
label='Subject' var='muc#roominfo_subject'><value/></field><field label='Number 
of occupants' var='muc#roominfo_occupants'><value>2</value></field><field 
label='Creation date' 
var='x-muc#roominfo_creationdate'><value>20100426T12:37:38</value></field></x></query></iq>"
 | cpsi::XmppConferenceImpl::handleMUCInfo
_______________________________________________
sipx-users mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to