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.
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?
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org