Need some help in configuring Open SER xmpp module (I tried configuring
using FPSDEM 2007 presentation pdf)<br>
<br>
I have one single server on which Open SER and jabberd both are
running. <br>
I tried configuring xmpp module on Open SER installation by changing
the openser.cfg file. <br>
<br>
I added following things in openser.cfg file:<br>
<br>
loadmodule &quot;xmpp.so&quot;<br>
<br>
modparam(&quot;xmpp&quot;,&quot;domain
<div id="mb_0">_separator&quot;,&quot;*&quot;)<br>
modparam(&quot;xmpp&quot;,&quot;gateway_domain&quot;,&quot;
sipxmpp.catch22&quot;)<br>
modparam(&quot;xmpp&quot;,&quot;xmpp_domain&quot;,&quot;xmppsip.catch22&quot;)<br>
modparam(&quot;xmpp&quot;,&quot;xmpp_host&quot;,&quot;xmpp.catch22&quot;)<br>
modparam(&quot;xmpp&quot;,&quot;backend&quot;,&quot;component&quot;)
<br>
modparam(&quot;xmpp&quot;,&quot;xmpp_password&quot;,&quot;0915fc59edc8bd9425ddff892d89c22b2f3f0030&quot;)<br clear="all">
<br>
if (!t_newtran()) {<br>
sl_reply_error();<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (method == &quot;MESSAGE&quot;) {
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log(&quot;*** xmpp-handled MESSAGE message.\n&quot;);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (xmpp_send_message()) {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_reply(&quot;200&quot;, &quot;Accepted&quot;);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } else {
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_reply(&quot;404&quot;, &quot;Not found&quot;);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log(&quot;*** xmpp: unhandled message type\n&quot;);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_reply(&quot;503&quot;, &quot;Service unavailable&quot;);
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return;<br>
<br>
&#39;sipxmpp.catch22&#39;, &#39;xmppsip.catch22&#39;, &#39;xmpp.catch22&#39; , all are alias
names of same machine. <br>
So
using this I am able to send Message from SIP client to XMPP Client but
not in opposite direction. Also message is getting delivered some times
with some difficulty&nbsp; and some time more than one time. <br>
<br>
SIP client registered user - user1@openser_domain<br>
XMPP client registered user - user2@xmpp_host<br>
<br>
I sent message from SIP client to
user2*xmpp_host@openser_domain(xmpp_host
= xmpp.catch22 in my case) and it got delivered but from opposite side
XMPP client is trying to send message to
user1*openser_domain@xmpp_domain(xmpp_domain = xmppsip.catch22 in my
case) which is not getting delivered. So at one place xmpp_host is
working and at other xmpp_domain is used which is not working.<br>
<br>
I
am getting confused with the settings of domains i.e. gateway_domain
and xmpp_domain in openser.cfg file, Please give clarity on that.
probably i am doing mistake there.One more question , how
gateway_domain is different from openser_domain?? is there some more
documentation from where i can take reference?<br>
<br>
Thanks,<br>
Aditya</div>