Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:1.2.1-to-1.2.2 [2011/08/29 12:38] – 92.112.126.10 | install:1.2.1-to-1.2.2 [2012/03/22 12:38] (current) – removed spam 80.250.1.245 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Migrating OpenSER v1.2.1 to v1.2.2 ====== | ||
+ | |||
+ | This page is dedicated to the differences between versions 1.2.1 and 1.2.2 of OpenSER. | ||
+ | |||
+ | <hi # | ||
+ | |||
+ | ===== Migrating Presence module ===== | ||
+ | |||
+ | The table " | ||
+ | |||
+ | * stop openser | ||
+ | * login to your mysql server with mysql client, connect to " | ||
+ | < | ||
+ | drop table active_watchers; | ||
+ | DELETE FROM version WHERE table_name=' | ||
+ | INSERT INTO version VALUES ( ' | ||
+ | CREATE TABLE active_watchers ( | ||
+ | id int(10) NOT NULL auto_increment, | ||
+ | to_user varchar(64) NOT NULL, | ||
+ | to_domain varchar(128) NOT NULL, | ||
+ | from_user varchar(64) NOT NULL, | ||
+ | from_domain varchar(128) NOT NULL, | ||
+ | event varchar(64) NOT NULL default ' | ||
+ | event_id varchar(64), | ||
+ | to_tag varchar(128) NOT NULL, | ||
+ | from_tag varchar(128) NOT NULL, | ||
+ | callid varchar(128) NOT NULL, | ||
+ | local_cseq int(11) NOT NULL, | ||
+ | remote_cseq int(11) NOT NULL, | ||
+ | contact varchar(128) NOT NULL, | ||
+ | record_route varchar(255), | ||
+ | expires int(11) NOT NULL, | ||
+ | status varchar(32) NOT NULL default ' | ||
+ | version int(11) default ' | ||
+ | PRIMARY KEY (id), | ||
+ | UNIQUE KEY tt_watchers (to_tag), | ||
+ | KEY due_activewatchers (to_domain, | ||
+ | ); | ||
+ | </ | ||
+ | |||
+ | * start openser | ||