Menu

Opensips xmpp

Hari Kumar
2009-03-20
2013-05-09
  • Hari Kumar

    Hari Kumar - 2009-03-20

    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

     
    • Anca Vamanu

      Anca Vamanu - 2009-03-20

      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

       
      • Hari Kumar

        Hari Kumar - 2009-03-20

        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

         
        • Anca Vamanu

          Anca Vamanu - 2009-03-23

          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

           
    • Hari Kumar

      Hari Kumar - 2009-03-24

      Hi Anca ,

      Thanks for clarification.

       
MongoDB Logo MongoDB