Yes, you were right. Now errors have disappeared, but still there is not exchange of information between servers.
In the log there are a couple of things that I find strange. The first one is that at some point openser tries to resolve xmpp-gw, which is only the key to mark users from the xmpp domain. The second is that, upon receiving the subscription from the client, openser first sends itself a subscription request, with the IP address established in the pua_xmpp server_address parameter as Contact header value, which is answered with a 404 response, and then it sends the same request but changing the Contact header to the URI sip:openser.domain:5060, which is accepted with a 200 response (see both below). Is that OK? Or should I change that parameter to the URI, despite the instructions given in the module documentation? SUBSCRIBE sip:[EMAIL PROTECTED] SIP/2.0 Via: SIP/2.0/UDP 10.95.43.31;branch=z9hG4bKbca.c6e4c5f1.0 To: sip:[EMAIL PROTECTED];tag=10.12575.1207664296.3 From: sip:[EMAIL PROTECTED];tag=533cb9e91f4b999cf76861cbb9ed54ed-2ab3 CSeq: 11 SUBSCRIBE Call-ID: [EMAIL PROTECTED] Content-Length: 0 User-Agent: OpenSER (1.3.1-notls (i386/linux)) Max-Forwards: 70 Event: presence.winfo Contact: <10.95.43.31> Expires: 3610 SUBSCRIBE sip:[EMAIL PROTECTED] SIP/2.0 Via: SIP/2.0/UDP 10.95.43.31;branch=z9hG4bKafa2.9020b137.0 To: sip:[EMAIL PROTECTED] From: sip: [EMAIL PROTECTED];tag=533cb9e91f4b999cf76861cbb9ed54ed-5c38 CSeq: 10 SUBSCRIBE Call-ID: [EMAIL PROTECTED] Content-Length: 0 User-Agent: OpenSER (1.3.1-notls (i386/linux)) Max-Forwards: 70 Event: presence.winfo Contact: <sip:openser.domain:5060> Expires: 3610 Thanks again, Paul -----Mensaje original----- De: Anca Vamanu [mailto:[EMAIL PROTECTED] Enviado el: martes, 08 de abril de 2008 16:07 Para: Pablo Guijarro Enríquez CC: [email protected] Asunto: Re: [OpenSER-Users] Problems with SIMPLE-XMPP presence Try compiling the pua_xmpp module; it has some references in pua module that I guess have been broken. Anca Pablo Guijarro Enríquez wrote: > Thanks Anca, > > I tried what you told me. The message about not sending subscribe is no more > shown, but some new errors appear and presence does not work yet. > > Regards, > Paul > > -----Mensaje original----- > De: Anca Vamanu [mailto:[EMAIL PROTECTED] > Enviado el: martes, 08 de abril de 2008 14:30 > Para: Pablo Guijarro Enríquez > CC: [email protected] > Asunto: Re: [OpenSER-Users] Problems with SIMPLE-XMPP presence > > Hi Pablo, > > There was an optimization in pua version included in 1.3.1 release that > sometimes prevented the presence sip-xmpp gateway from working ( related > to the message "Found previous request for unlimited subscribe- do not > send subscribe") from the log. > This was removed in the svn version of the branch. I advise you to take > the pua module from svn 1.3 branch. > > regards, > Anca Vamanu > > > Pablo Guijarro Enríquez wrote: > >> Hi everybody, >> >> I have some problems to get presence information exchanged between SIP >> users and xmpp ones. SIP clients (X-Lite) depend on an openser server >> v1.3.1, with all necessary modules working within it, and xmpp clients >> (Psi) rely on an xmpp server (ejabberd) which is in the same machine. >> >> The link between both sip and xmpp servers is established when openser >> starts, and the exchange of instant messages between sip and xmpp >> users works fine. So does presence too, as long as there are only sip >> users or only xmpp users involved, but it does not work between the >> two worlds in any direction. Moreover, I do not see any packet being >> exchanged between the sip and the xmpp servers when a user from one >> domain subscribe to one from the other, or when they change their status. >> >> I dont know what the problem can be. No errors appear in the log and >> I thought adding xmpp presence to openser would be straightforward >> once the IM was already working. >> >> Openser config file and part of the log file (the subscription to an >> xmpp user) are attached. Hope someone can give me some clue. >> >> Thanks in advance! >> >> Paul >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.openser.org/cgi-bin/mailman/listinfo/users >> >> > >
ser3.log
Description: Binary data
_______________________________________________ Users mailing list [email protected] http://lists.openser.org/cgi-bin/mailman/listinfo/users
