On 11/10/05 14:20, Matteo Piazza wrote:
I have try to use this ser.cfg:
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"); jab_go_onlne(); log("REGISTER received -> reply okay\n"); };
but i have these debug messages:
0(16424) parse_headers: flags=-1 0(16424) check_via_address(192.168.9.181, 192.168.9.181, 0) 0(16424) XJAB: go online in Jabber network 0(16424) parse_headers: flags=12 0(16424) DEBUG: add_param: tag=8b9935 0(16424) end of header reached, state=29 0(16424) XJAB:xj_wlist_get: new entry for sip:308@192.168.9.97 in the pool of <16429> - [0] 0(16424) XJAB:xjab_manage_sipmsg:16424: sending <0xb60efdd8> to worker through <7> 0(16424) REGISTER received -> reply okay 0(16424) 0(16424) WARNING: script writer didn't release transaction XJAB:xj_worker:16429: something is coming 0(16424) DEBUG: cleanup_uac_timers: RETR/FR timers reset 0(16424) 0(16424) XJAB:xj_worker:16429: job <0xb60efdd8> from SER DEBUG: add_to_tail_of_timer[2]: 0xb60eeb08 0(16424) XJAB:xj_jcon_pool_get: looking for the connection of sip:308@192.168.9.97 into the pool 0(16424) 0(16424) DEBUG:destroy_avp_list: destroying list (nil) XJAB:xj_worker:16429: new connection for sip:308@192.168.9.97. 0(16424) receive_msg: cleaning up 0(16424) XJAB:xj_worker:16429: no database result when looking for associated Jabber account
the user that sends the message to the jabber network has not jabber local account.
Daniel
0(16424) XJAB: jab_send_sip_msgz: ERROR SIP MESSAGE wasn't sent to [sip:308@192.168.9.97]... 0(16424) XJAB:xj_wlist_del:16429: trying to delete entry for sip:308@192.168.9.97... 0(16424) XJAB:xj_wlist_del:16429: sip id sip:308@192.168.9.97 deleted
I see with ethereal that there isn't any query messages on the net??
Matteo Piazza wrote:
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@192.168.9.97 0(15774) XJAB:xjab_manage_sipmsg: no open Jabber session for sip:308@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@create-net.it Tel: +39-0461-408400ext:308 www.create-net.it =======================================
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers