I am trying to load xmpp module and uintegrate with jabberd server.
I have a doubt,
if I want to login xmpp client, the request have to send to xmpp server directly or the request will pass to opensips and then it forward to xmpp server
"sip-xmpp.opensips.org", "xmpp-sip.opensips.org", "xmpp.opensips.org", these values are fixed or it will change according to my system. Please give me any example for clarification.
Thanks
Hari
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Those parameters do not have fixed values- this is why they are called parameters :) . You can set it to values in your configuration.
The "xmpp_host" parameter must be set to the DNS name of the machine where the jabber server is running.
The "gateway_domain" must resolve to the address of the OpenSIPS server and will be used as the domain when adding sip contacts in jabber accounts buddy lists.
The "xmpp_domain" the domain of the jabber server.
If I want to login or register xmpp client, the request have to send to xmpp server directly or the request will pass to opensips and then it forward to xmpp server.
In the above scenario, while login or register xmpp client I have to give "5080" sip port or "5222" xmpp server port.
This query may be meaningless but I got confused, for clarification I post it. Please clarify.
Thanks
Hari
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First, how do you run xmpp module? Have you configured it in component or server mode?
I suppose it is component since you are talking about an xmpp server. In this case, the requests sent by the xmpp client will go to the xmpp server, not to OpenSIPS. Only those requests that are targeted to the SIP contact in its buddy list will go to OpenSIPS ( Message or Notify).
Hi All,
I am trying to load xmpp module and uintegrate with jabberd server.
I have a doubt,
if I want to login xmpp client, the request have to send to xmpp server directly or the request will pass to opensips and then it forward to xmpp server
In the below modparam:
modparam("xmpp", "gateway_domain", "sip-xmpp.opensips.org")
modparam("xmpp", "xmpp_domain", "xmpp-sip.opensips.org")
modparam("xmpp", "xmpp_host", "xmpp.opensips.org")
"sip-xmpp.opensips.org", "xmpp-sip.opensips.org", "xmpp.opensips.org", these values are fixed or it will change according to my system. Please give me any example for clarification.
Thanks
Hari
Hi Hari,
Those parameters do not have fixed values- this is why they are called parameters :) . You can set it to values in your configuration.
The "xmpp_host" parameter must be set to the DNS name of the machine where the jabber server is running.
The "gateway_domain" must resolve to the address of the OpenSIPS server and will be used as the domain when adding sip contacts in jabber accounts buddy lists.
The "xmpp_domain" the domain of the jabber server.
You have a use case explained in the documentation: http://www.opensips.org/html/docs/modules/devel/xmpp.html#id228108.
regards,
Anca
Hi Anca,
Thanks for clarification.
One more query
If I want to login or register xmpp client, the request have to send to xmpp server directly or the request will pass to opensips and then it forward to xmpp server.
In the above scenario, while login or register xmpp client I have to give "5080" sip port or "5222" xmpp server port.
This query may be meaningless but I got confused, for clarification I post it. Please clarify.
Thanks
Hari
Hi,
First, how do you run xmpp module? Have you configured it in component or server mode?
I suppose it is component since you are talking about an xmpp server. In this case, the requests sent by the xmpp client will go to the xmpp server, not to OpenSIPS. Only those requests that are targeted to the SIP contact in its buddy list will go to OpenSIPS ( Message or Notify).
I suppose you already read the module's documentation, but just to make sure: http://www.opensips.org/html/docs/modules/devel/xmpp.html .
regards,
Anca
Hi Anca ,
Thanks for clarification.