8 okt 2012 kl. 22:39 skrev Sangeeta Shah Sangeeta.Shah@infinite.com:
Hi, In your post you mentioned that you were able to get RLS And Presence working correctly on the same server. I have the following info in the config file and for some reason my RLS/Presence functionality doesn’t seem to work. Any help is appreciated.
"doesn't seem to work" is not a god description of an error on a development list. If you need generic help and can't point to a specific issue, please use the sr-users mailing list.
Thanks, /O
#!ifdef WITH_PRESENCE loadmodule "presence.so" loadmodule "presence_xml.so" loadmodule "presence_mwi.so" loadmodule "presence_reginfo.so" loadmodule "pua_reginfo.so" #!endif
…. #!ifdef WITH_XCAPSRV loadmodule "xhttp.so" loadmodule "xcap_server.so" #!endif
#!ifdef WITH_PRESENCE # ----- presence params ----- modparam("presence", "db_url", DBURL) #modparam("presence", "fallback2db", 1) modparam("presence", "db_update_period", 20) modparam("presence", "subs_db_mode", 3) modparam("presence", "publ_cache", 0)
# ----- presence_xml params ----- modparam("presence_xml", "db_url", DBURL) modparam("presence_xml", "force_active", 0) modparam("presence_xml", "integrated_xcap_server", 1) modparam("pua_reginfo", "default_domain", "10.50.251.12") modparam("pua_reginfo", "server_address", "sip:reginfo@10.50.251.12") #!endif
#!ifdef WITH_XCAPSRV # ----- xcap_server params ----- modparam("xcap_server", "db_url", DBURL) #!endif
#!ifdef WITH_RLS # ------rls module params ------ modparam("rls", "db_url", DBURL) modparam("rls", "db_mode", 2) modparam("rls", "integrated_xcap_server", 1) modparam("rls", "to_presence_code" ,10) modparam("rls", "server_address", "sip:rls@10.50.251.12:5060") #!endif
route[PRESENCE] { if(!is_method("PUBLISH|SUBSCRIBE|NOTIFY")) return;
#!ifdef WITH_PRESENCE xdbg("===== In presence server route =====\n"); if (!t_newtran()) { sl_reply_error(); exit; };
if(is_method("PUBLISH")) { xdbg("======= Handling publish request ===== \n"); handle_publish(); t_release(); } else if( is_method("SUBSCRIBE")) { xdbg("======== Handling subscribe request ==== \n"); #!ifdef WITH_RLS $var(ret_code) = rls_handle_subscribe(); xdbg("========= RLS Handle subscriber returned with ret code: $var(ret_code) ===\n"); if ($var(ret_code) == 10) #!endif xdbg("======== Calling Handle subscribe ===== \n"); handle_subscribe(); t_release(); } else if (is_method("NOTIFY")) { xdbg("======== Handling notify request ==== \n"); $var(ret_code) = rls_handle_notify(); xdbg("======== Handled notify request: $var($ret_code) ==== \n"); t_release(); } exit;
#!endif
Anything here look incorrect. I am using Kamailio 3.3 with RLS/presence and integrated XCAP.
Thanks, Sangeeta
Sangeeta Shah | Member of Technical Staff 224-764-3504| 224-764-3430 Web site: www.infinite-convergence.com | email : sangeeta.shah@infinite.com Infinite Convergence Solutions | Enabling Communication
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify so to the sender by e-mail and delete the original message. In such cases, please notify us immediately at sanchar-sadhan@infinite.com . Further, you are not to copy, disclose, or distribute this e-mail or its contents to any unauthorized person(s) .Any such actions are considered unlawful. This e-mail may contain viruses. Infinite has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachments. Infinite reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infinite e-mail system.
***INFINITE******** End of Disclaimer********INFINITE******** _______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev