Dear everyone:
         I use kamalio 3.1.
         I want to add the xcap_sever and presence modules into my kamailio. I 
followed the lists 
"http://cache.baidu.com/c?m=9d78d513d99a12f00bb6ca255001d7175b14d7226b8b814268d4e21bc22200051071e2cb30256413d2b5393447fe130baab12235775d2feddd8eca5ddcc88f3576d83034074fc71a509544b8cb31749c7f8d03baf04abce4ab6f84afa1919f03129d0f542d97f1f8030117dd6f864b62b5f18e48631e4be5af6e32&p=c0759a459d904ea904b88c3953&user=baidu&fm=sc&query=kamailio+presence+active_watchers&qid=bd42092e08822178&p1=2";
 step by step. The only difference is that i use the database postgresql.
       When i start the server, it worked well, but the softphone was not able 
to show the presence of the contacts.
       I tried many times and found that when i disable the sentence  "#!define 
WITH_PRECENCE" in "kamailio.cfg", it can show the state of the contacts. 
However, when i check the database, there was nothing in "Active Watchers" and 
"Presentity" tables.
      I think there must have something wrong with the configure of presence. 
Any response will be appreciated.



ps: the configuration of the presence in kamailio.cfg as follows(same as 
theTutorial):

#!ifdef WITH_PRESENCE
loadmodule "presence.so"
loadmodule "presence_xml.so"
#!endif
 
#!ifdef WITH_PRESENCE
# ----- presence params -----
modparam("presence", "db_url", DBURL)
modparam("presence", "fallback2db", 1)
modparam("presence", "db_update_period", 20)
 
# ----- presence_xml params -----
modparam("presence_xml", "db_url", DBURL)
modparam("presence_xml", "force_active", 0)
modparam("presence_xml", "integrated_xcap_server", 1)
#!endif      
                                                            haibo huang

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to