<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Check your messages log (Ussualy 
/var/log/messages).</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=jvr_78@yahoo.com.ar href="mailto:jvr_78@yahoo.com.ar">Javier 
  Ramirez</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=users@openser.org 
  href="mailto:users@openser.org">users</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, July 24, 2006 9:18 PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Users] jabber</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Tahoma color=#0000ff size=2>
  <DIV><FONT face=Tahoma color=#0000ff size=2><STRONG>why die the openser 
  ?</STRONG></FONT></DIV>
  <DIV><FONT face=Tahoma color=#0000ff size=2><STRONG>what is wrong 
  ?<BR></STRONG></FONT></DIV>
  <DIV><FONT face=Tahoma color=#0000ff size=2><STRONG>I 
  add&nbsp;this:</STRONG><BR><FONT color=#000000>in /etc/host<BR>127.0.0.1 
  aim.jabber.server.com <BR>127.0.0.1 msn.jabber.server.com</FONT></FONT></DIV>
  <DIV><FONT face=Tahoma color=#0000ff size=2><FONT color=#000000>127.0.0.1 
  icq.jabber.server.com </FONT></FONT></DIV>
  <DIV><FONT face=Tahoma color=#0000ff size=2><FONT color=#000000>127.0.0.1 
  yahoo.jabber.server.com</FONT></FONT></DIV>
  <DIV><FONT face=Tahoma color=#0000ff size=2><FONT color=#000000>127.0.0.1 
  jabber.server.com</FONT></FONT></DIV>
  <DIV><FONT face=Tahoma color=#0000ff size=2><FONT color=#000000>127.0.0.1 
  server.com</FONT><BR></DIV></FONT>
  <DIV><FONT face=Tahoma color=#0000ff size=2><STRONG>and 
  run:</STRONG><BR>openser -f jabber2.cfg -E -dddddddddddddddd</FONT></DIV>
  <DIV><BR><FONT face=Tahoma color=#0000ff size=2><FONT 
  color=#000000>&nbsp;0(4710) read 193612823 from /dev/urandom<BR>&nbsp;0(4710) 
  seeding PRNG with 1347370384<BR>&nbsp;0(4710) test random number 
  149130666<BR>&nbsp;0(4710) WARNING: fix_socket_list: could not rev. resolve 
  192.168.0.4<BR>&nbsp;0(4710) WARNING: fix_socket_list: could not rev. resolve 
  192.168.0.4<BR>Listening 
  on<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  udp: 127.0.0.1 
  [127.0.0.1]:5060<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  udp: 192.168.0.4 
  [192.168.0.4]:5060<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  tcp: 127.0.0.1 
  [127.0.0.1]:5060<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  tcp: 192.168.0.4 
  [192.168.0.4]:5060<BR>Aliases:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  tcp: 
  localhost:5060<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  udp: 
  localhost:5060<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  *: 192.168.0.4:*<BR><BR>print - initializing<BR>textops - 
  initializing<BR>stateless - initializing<BR><BR></FONT><STRONG>and openser 
  die.....</STRONG><BR><BR><STRONG>this is my configuration 
  file:</STRONG><BR><BR><FONT color=#000000>#<BR># configuration for Jabber 
  module testing<BR># (sample config file using the module with presence 
  support)<BR>#<BR># $ID: daniel 
  $<BR>#<BR><BR>debug=2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  debug level (cmd line: 
  -dddddddddd)<BR>fork=yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  # (cmd. line: -D)<BR>log_stderror=yes&nbsp; # (cmd line: 
  -E)<BR><BR>children=2<BR>check_via=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd. 
  line: 
  -v)<BR>dns=off&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  (cmd. line: -r)<BR>rev_dns=off&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd. 
  line: -R)<BR>port=5060<BR>alias="192.168.0.4"<BR><BR># ------------------ 
  module loading 
  ----------------------------------<BR><BR>#modules<BR>loadmodule 
  "modules/print/print.so"<BR>loadmodule 
  "modules/textops/textops.so"<BR>loadmodule "modules/tm/tm.so"<BR>loadmodule 
  "modules/maxfwd/maxfwd.so"<BR>loadmodule "modules/sl/sl.so"<BR>loadmodule 
  "modules/mysql/mysql.so"<BR>loadmodule 
  "modules/jabber/jabber.so"<BR>loadmodule 
  "modules/registrar/registrar.so"<BR>loadmodule 
  "modules/usrloc/usrloc.so"<BR>loadmodule "modules/pa/pa.so"<BR><BR># 
  ----------------- setting module-specific parameters ---------------<BR><BR># 
  -- registrar params --<BR><BR>modparam("registrar", "default_expires", 
  120)<BR>#modparam("registrar", "use_domain", 1)<BR><BR># -- usrloc params 
  --<BR>#modparam("usrloc", "use_domain", 1)<BR>modparam("usrloc", "db_mode", 
  0)<BR><BR># -- jabber params 
  --<BR><BR>modparam("jabber","db_url","mysql://root@127.0.0.1/sip_jab")<BR>modparam("jabber","jaddress","jabber.server.com")<BR>modparam("jabber","jport",5222)<BR>modparam("jabber","workers",2)<BR>modparam("jabber","max_jobs",10)<BR>modparam("jabber","cache_time",200)<BR>modparam("jabber","delay_time",60)<BR>modparam("jabber","jdomain","jabber.server.com=*")<BR>modparam("jabber","aliases","4;aim.jabber.server.com;icq.jabber.server.com;msn.jabber.server.com=%;yahoo.jabber.server.com;")<BR><BR><BR>route{<BR><BR>#if 
  ( !mf_process_maxfwd_header("10") )<BR>#{<BR># sl_send_reply("483","To Many 
  Hops");<BR># drop();<BR>#};<BR>&nbsp;&nbsp;&nbsp; <BR>if 
  (uri=~"[@:]sip\.server\.com([;:].*)*")<BR>{<BR># for testing purposes, simply 
  okay all REGISTERs<BR>if (method=="REGISTER")<BR>{<BR>if (t_newtran()) 
  <BR>{<BR>save("location");<BR>log("REGISTER received -&gt; reply 
  okay\n");<BR>};<BR>if(search("egistration"))<BR>{<BR>log("XJAB: Going ONline 
  in Jabber network!!!\n");<BR>if(jab_go_online())<BR>{<BR>sl_send_reply("200", 
  "Accepted");<BR>}<BR>else<BR>{<BR>sl_send_reply("404","Not 
  found");<BR>};<BR>}<BR>else<BR>{<BR>log("XJAB: Going OFFline in Jabber 
  network!!!\n");<BR>if(jab_go_offline())<BR>{<BR>sl_send_reply("200", 
  "Accepted");<BR>}<BR>else<BR>{<BR>sl_send_reply("404","Not 
  found");<BR>};<BR>};<BR>break;<BR>};<BR>if (method=="SUBSCRIBE") <BR>{<BR>if 
  (t_newtran()) 
  <BR>{<BR>handle_subscription("registrar");<BR>};<BR>break;<BR>};<BR>if(!lookup("location"))<BR>{<BR>sl_send_reply("404","Not 
  found");<BR>break;<BR>};<BR>}; <BR>&nbsp;&nbsp;&nbsp; <BR>if 
  ((search("To:.*@icq\.jabber\.server\.com"))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  || 
  (search("To:.*@jabber\.server\.com"))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  || 
  (search("To:.*@msn\.jabber\.server\.com"))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  || (search("To:.*@yahoo\.jabber\.server\.com")))<BR>&nbsp;&nbsp;&nbsp; 
  {<BR>&nbsp;&nbsp;&nbsp; if (! t_newtran())<BR>&nbsp;&nbsp;&nbsp; 
  {<BR>sl_reply_error();<BR>break;<BR>&nbsp;&nbsp;&nbsp; };<BR>if 
  (method=="MESSAGE")<BR>{<BR>&nbsp;&nbsp;&nbsp; log("MESSAGE received -&gt; 
  manage it with XJAB\n");<BR>&nbsp;&nbsp;&nbsp; if(search("\n:on"))<BR>{<BR>if 
  (jab_go_online())<BR>&nbsp;&nbsp;&nbsp; 
  {<BR>sl_send_reply("200","Accepted");<BR>&nbsp;&nbsp;&nbsp; 
  }else{<BR>sl_send_reply("404","Not found");<BR>&nbsp;&nbsp;&nbsp; 
  };<BR>break;<BR>};<BR>&nbsp;&nbsp;&nbsp; if(search("\n:off"))<BR>{<BR>if 
  (jab_go_offline())<BR>&nbsp;&nbsp;&nbsp; 
  {<BR>sl_send_reply("200","Accepted");<BR>&nbsp;&nbsp;&nbsp; 
  }else{<BR>sl_send_reply("404","Not found");<BR>&nbsp;&nbsp;&nbsp; 
  };<BR>break;<BR>};<BR><BR>&nbsp;&nbsp;&nbsp; if(search("\n:join"))<BR>{<BR>if 
  (jab_join_jconf())<BR>&nbsp;&nbsp;&nbsp; 
  {<BR>sl_send_reply("200","Accepted");<BR>&nbsp;&nbsp;&nbsp; 
  }else{<BR>sl_send_reply("404","Not Found");<BR>&nbsp;&nbsp;&nbsp; 
  };<BR>break;<BR>};<BR>&nbsp;&nbsp;&nbsp; <BR>if(search("\n:exit"))<BR>{<BR>if 
  (jab_exit_jconf())<BR>&nbsp;&nbsp;&nbsp; 
  {<BR>sl_send_reply("200","Accepted");<BR>&nbsp;&nbsp;&nbsp; 
  }else{<BR>sl_send_reply("404","Not Found");<BR>&nbsp;&nbsp;&nbsp; 
  };<BR>break;<BR>};<BR><BR>if (jab_send_message())<BR>&nbsp;&nbsp;&nbsp; 
  {<BR>sl_send_reply("200","Accepted");<BR>&nbsp;&nbsp;&nbsp; 
  }else{<BR>sl_send_reply("503","Service Unavailable");<BR>&nbsp;&nbsp;&nbsp; 
  };<BR>break;<BR>};<BR>if (method=="SUBSCRIBE") 
  {<BR>handle_subscription("jabber");<BR>break;<BR>};<BR>&nbsp;&nbsp;&nbsp; 
  log("NON_Message request received for JABBER 
  gateway-&gt;dropt!\n");<BR>&nbsp;&nbsp;&nbsp; 
  sl_send_reply("202","Accepted");<BR>break;<BR>&nbsp;&nbsp;&nbsp; };<BR>if 
  (!t_relay()) <BR>{<BR>sl_reply_error();<BR>};<BR><BR>&nbsp;&nbsp;&nbsp; 
  #forward(uri:host,uri:port);<BR>}<BR></FONT></FONT></DIV></FONT></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Users mailing 
  list<BR>Users@openser.org<BR>http://openser.org/cgi-bin/mailman/listinfo/users<BR></BLOCKQUOTE></BODY></HTML>