Thank you for your attention. I use the soft phone "jitsi" as is told in guide file and configure it as the guide. And I have checked the guide twice. I think there have nothing different with the guide excepts the db I used.
>From: Martin Pohan?en?k <pohancenik.martin@gmail.com>
>Subject: Re: [SR-Users] ? about presence
>To: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -
> Users Mailing List" <sr-users@lists.sip-router.org>
>Message-ID: <BANLkTi=5S3OHe2SEDDe8ry+X+2ZUd2LqRg@mail.gmail.com>
>Content-Type: text/plain; charset="gb2312"
>
>What SIP client app are you using to test presence ?
>Please try to post the client configuration, too.
>
>Also try to go through the entire config file from the guide and compare
>what is different from your config file. That might give you a clue of what
>is wrong
>
>2011/5/3 Bucur Marius <bucur_marius_ovidiu@yahoo.com>
>
>> Hello,
>>
>> If you disable "#!define WITH_PRECENCE" you will not use presence at all -
>> so it is most probably that you don't want that.
>> When you use db_fallback mode, the subscribers are only written to database
>> once in a while (in your case every 20 seconds).
>> Also, if the subscribers are not authorized, they will only be in the
>> "watchers" table - not active_watchers.
>> Can you check if there is something in the "watchers" table?
>> Also, can you check your system and see if it works without the xcap
>> server?
>>
>> modparam("presence_xml", "force_active", 1)
>> #modparam("presence_xml", "integrated_xcap_server", 1)
>>
>> Cheers,
>> Marius
>>
>> ------------------------------
>> *From:* hb <hhb.1988@163.com>
>> *To:* sr-users@lists.sip-router.org
>> *Sent:* Tue, May 3, 2011 11:44:16 AM
>> *Subject:* [SR-Users] ? about presence
>>
>> 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
>> the Tutorial):
>>
>> #!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
>>
>>
>>
>> ------------------------------
>> ??????2G????????????????????3?!<http://mail.163.com/html/110414_attachment/att1.htm>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users@lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110503/8d425fbc/attachment-0001.htm>
>
>------------------------------
>
>Message: 2
>Date: Tue, 3 May 2011 12:55:57 +0900
>From: Sungjin Park <parksj84@gmail.com>
>Subject: [SR-Users] Rtp Port Question
>To: serusers@iptel.org
>Message-ID: <BANLkTimJwR5e_yM5SA67QjYzOj8s=tgAjQ@mail.gmail.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hello, I use your sip service well.
>But there is one problem occured.
>
>I use your sip service on my android system.
>The application is Csipsimple.
>
>On Wifi and 3G connection, your service is very good. your sip account did
>good work. even 3G network connection.
>Btw, On Mobile Wimax service, the signal was good. But the Voice could not
>be trasnsferred.
>
>
>I guess the problem is about rtp port.
>*I'd like to know the rtp port that IPTEL use*. I will request Korea Telecom
>about rtp port open.
>Korea Telecom is Korean mobile Wimax Provider.
>
>Thank you.
>
>Sungjin Park
>Seoul, Korea
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110503/34b87280/attachment-0001.htm>
>
>------------------------------
>
>Message: 3
>Date: Tue, 3 May 2011 12:21:22 -0300 (ART)
>From: Claudio Furrer <elcaio@gmail.com>
>Subject: [SR-Users] INSTALL file
>To: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -
> Users Mailing List" <sr-users@lists.sip-router.org>
>Message-ID: <alpine.LNX.2.00.1105031219240.29861@askepios.local>
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>
>Hello,
>
>Is this still applicable?
>
>See INSTALL file (line 669)
>
>3.1) create MySQL tables for SER flavour
> - if you have a previously installed SER on your system, use
> /usr/sbin/ser_mysql.sh reinstall
> to convert your SER database into new structures
> - otherwise, if this is your very first installation, use
> /usr/sbin/ser_mysql.sh create
> to create SER database structures
> (you will be prompted for password of MySql "root" user)
>
>Because I did not found the *reinstall* option on sources..
>
>Thanks,
>Claudio
>
>
>
>------------------------------
>
>Message: 4
>Date: Tue, 3 May 2011 12:49:22 -0300 (ART)
>From: Claudio Furrer <elcaio@gmail.com>
>Subject: [SR-Users] INSTALL file
>To: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -
> Users Mailing List" <sr-users@lists.sip-router.org>
>Message-ID: <alpine.LNX.2.00.1105031223590.29861@askepios.local>
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>
>Hello,
>
>Is this still applicable?
>
>See INSTALL file (line 669)
>
>3.1) create MySQL tables for SER flavour
> - if you have a previously installed SER on your system, use
> /usr/sbin/ser_mysql.sh reinstall
> to convert your SER database into new structures
> - otherwise, if this is your very first installation, use
> /usr/sbin/ser_mysql.sh create
> to create SER database structures
> (you will be prompted for password of MySql "root" user)
>
>Because I did not found the *reinstall* option on sources..
>
>Thanks,
>Claudio
>
>
>
>------------------------------
>
>Message: 5
>Date: Wed, 4 May 2011 17:18:17 +0800 (CST)
>From: hb <hhb.1988@163.com>
>Subject: [SR-Users] RE?RE? ? about presence
>To: bucur_marius_ovidiu@yahoo.com
>Cc: sr-users@lists.sip-router.org
>Message-ID: <694e6d8c.1c32b.12fba4cfaed.Coremail.hhb.1988@163.com>
>Content-Type: text/plain; charset="gbk"
>
>Dear?Bucur Marius?
> Thank you for your help.
> As you said the presence module does not work if I disable it's module. This time I used wireshark to get the packages. I found when I disable the presence module, one point send the "Notify" packages directly to the other, and there were no changes in the watchers table. And when I enable the module, I found it can create some lists in watchers. But at this time , I found there is nothing contents in packages like "Subscribe" and "Notify".What's more when one point change the state, it dose not send any packages to the server.
> You said active_watchers will have something when the subscribe is authorised. What dose it mean? My server have not authorised the subscribe? But it can have a call with other subscribe.
> Look foreword your help.
> haibo huang
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110504/3f6d4fb8/attachment.htm>
>
>------------------------------
>
>_______________________________________________
>sr-users mailing list
>sr-users@lists.sip-router.org
>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>End of sr-users Digest, Vol 72, Issue 5
>***************************************