[Serdev] [Tracker] Closed: (SER-47) userloc patch to allow databse resync on fifo command.

Jan Janak (JIRA) tracker at iptel.org
Wed Jan 17 11:56:39 UTC 2007


     [ http://tracker.iptel.org/browse/SER-47?page=all ]

Jan Janak closed SER-47.
------------------------


> userloc patch to allow databse resync on fifo command.
> ------------------------------------------------------
>
>                 Key: SER-47
>                 URL: http://tracker.iptel.org/browse/SER-47
>             Project: SER
>          Issue Type: New Feature
>          Components: Registrar
>    Affects Versions: 0.8.14
>            Reporter: Chris St Denis
>         Assigned To: Jan Janak
>            Priority: Trivial
>
> This patch causes the ul_flush fifo command to also reload the contacts from the database. This has the side effect of causing duplicate contacts and frequent use of it could cause the contact list to get very large. 
> This was done before my userloc mode 4 patch and should not be used with it. The userloc mode4 patch purges the contact list just before reload so it does not have this problem. Something similar could be added here but this is an old patch and I don?t have time to add that functionality -- Just contributing it for anyone who wants it.
> --- modules/usrloc/ul_fifo.c.orig       Wed May 25 11:38:39 2005
> +++ modules/usrloc/ul_fifo.c    Wed May 25 11:38:49 2005
> @@ -114,6 +114,7 @@
>  int static ul_flush(FILE* pipe, char* response_file)
>  {
>         synchronize_all_udomains();
> +       preload_all_udomains();
>         fifo_reply(response_file, "200 ul_flush completed" );
>         return 1;
>  }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.iptel.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Serdev mailing list