hi at ser.cfg and jabbergateway ,how do a action of the search("egistration") exec?what message includes "egistration" section? I am configuring a ser server with a jabber gataway,jabber server is a public server :jabber.com.cn ,but when starting ser ,how to jump this code exec jab_go_online() and register to jabber server.I capture the package with a ethereal tool,but I did not find any packeges including a egistration part.l please help me!!
....................... if (method=="REGISTER") { if (t_newtran()) { save("location"); log("REGISTER received -> reply okay\n"); }; if(search("egistration")) { 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; }; .........................................
best regards!!
Thanks a lot!!