Hello All,
   We are trying to use the OpenSips Presence Server module. We have opensips v 
1.8 installed on our machine.

I have the simplest configuration ( no authentication/ no XCAP) per:

http://www.opensips.org/Resources/SimplePresConfig

I have a simple client that Subscribes for publish events from another 
subscriber. I am using an expiration time of 3600 in my SUBSCRIBE request.
Following is the chain of events:
Client sends Subscribe request to Server->Server responds with a 200 OK->Server 
responds with a NOTIFY request->Client responds with a 200 OK

I see an entry gets added in the watchers table, and for a very brief period of 
time an entry gets added to the active_watchers table.
However, the entry doesn't stay for more than a few seconds in the 
active_watchers table. That's the only DB that contains the expiration time of 
the subscribe. So not sure why the entry doesn't persist for 3600 seconds.

This is the entry that's in the watchers table:
mysql> select * from watchers;
+-----+--------------------------+------------------+----------------+----------+--------+--------+---------------+
| id  | presentity_uri           | watcher_username | watcher_domain | event    
| status | reason | inserted_time |
+-----+--------------------------+------------------+----------------+----------+--------+--------+---------------+
| 111 | sip:[email protected] | 2243555074       | 127.0.0.1      | presence 
|      1 |        |    1346966906 |
+-----+--------------------------+------------------+----------------+----------+--------+--------+---------------+
1 row in set (0.00 sec)



I have another question when I unsubscribe but I'll wait to get a response to 
the above question before I proceed to my next question.

Also when I make configuration changes and restart the opensips processes, the 
DB entries get cleared. How do I prevent that from happening?

Thanks,

Sangeeta

Sangeeta Shah | Member of Technical Staff
224-764-3504| 224-764-3430
Web site:  www.infinite-convergence.com<http://www.infinite-convergence.com> | 
email : [email protected]
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 [email protected] . 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******** 
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to