I agree that it should be a different command (breaking backwards compatibility is bad).

I would suggest something like 'sofia profile [profilename] update' that would first run rescan, then any gateways that were not present can be considered stale and deleted.

Apostolos:  How are you C skills?  ;)

-- mm_202.

On Sun, Jan 24, 2010 at 4:50 AM, Michael Jerris <mike@jerris.com> wrote:
A lot of things would be nice.  Patches for example.  I find them quite nice.  This should probably be a different command or argument.

Mike

On Jan 21, 2010, at 1:18 PM, Apostolos Pantsiopoulos wrote:

> Wouldn't it be nice a "reloadxml"/"rescan profile" to delete all
> nonexistent gateways (when they are absent in the xml config) without
> having to issue a "sofia profile xxxxx killgw yyyyyy" command?
>
> I always seem to find forgotten gateway's in the profile because of
> this... Any thoughts?