[Serusers] jabber and pa modules

Matteo Piazza matteo.piazza at create-net.it
Thu Nov 10 12:17:37 CET 2005


Hi,
I have this problem with the jabber and PA mudules, I use Jive messenger 
as Jabber server on the same machine
Someone can me help?

=========================
log debug
=========================


  0(15774) parse_headers: flags=-1
  0(15774) check_via_address(192.168.9.181, 192.168.9.181, 0)
  0(15774) REGISTER received -> reply okay
  0(15774) XJAB: Going OFFline in Jabber network!!!
  0(15774) XJAB: go offline in Jabber network
  0(15774) parse_headers: flags=12
  0(15774) DEBUG: add_param: tag=67b87d
  0(15774) end of header reached, state=29
  0(15774) XJAB:xj_wlist_check: entry does not exist for 
<sip:308 at 192.168.9.97>
  0(15774) XJAB:xjab_manage_sipmsg: no open Jabber session for 
<sip:308 at 192.168.9.97>!
  0(15774) parse_headers: flags=-1

===========================
ser.cfg
==========================


modparam("jabber","db_url","mysql://root:****@localhost/sip_jab")
modparam("jabber","jaddress","localhost")
modparam("jabber","jport",5222)
modparam("jabber","workers",2)
modparam("jabber","max_jobs",10)
modparam("jabber","cache_time",200)
modparam("jabber","delay_time",60)
modparam("jabber","jdomain","192.168.9.97")

route{

         #if ( !mf_process_maxfwd_header("10") )
         #{
         #       sl_send_reply("483","To Many Hops");
         #       drop();
         #};


      # for testing purposes, simply okay all REGISTERs
      if (method=="REGISTER")
      {
        if (t_newtran())
        {
         save("location");
         log("REGISTER received -> reply okay\n");
        };
        if(search("registration"))
        {
          log("XJAB: Going ONline in Jabber network!!!\n");
          if(jab_go_online())
          {
           sl_send_reply("200", "Accepted");
          }
          else
          {
           sl_send_reply("404","Not found");
          };
        }
        else
        {
         log("XJAB: Going OFFline in Jabber network!!!\n");
         if(jab_go_offline())
          {
           sl_send_reply("200", "Accepted");
          }
           else
          {
           sl_send_reply("404","Not found");
          };
        };
        break;
       };
       if (method=="SUBSCRIBE")
        {
         if (t_newtran())
         {
          handle_subscription("registrar");
         };
         break;
        };
        if(!lookup("location"))
        {
         sl_send_reply("404","Not found");
         break;
        };



=======================================
  Matteo Piazza, Junior Researcher
  CREATE-NET
  Via Solteri, 38 - 38100 Trento - Italy
  email: matteo.piazza at create-net.it
  Tel: +39-0461-408400ext:308
  www.create-net.it
=======================================




More information about the sr-users mailing list