[Freeswitch-dev] Is it possible to add a new profile configuration and enable it without restarting the server?

Brian West brian at freeswitch.org
Tue Jan 20 03:37:42 PST 2009


On Jan 20, 2009, at 3:58 AM, seven du wrote:

> Hi,
>
> For production use, we want the service run consistently and long as
> possible.  As we have command tools to reload xml configurations and
> restart gateways, I have a problem to make my configuration take
> effect before restarting the whole FreeSWITCH server.
>
> Here are two questions:
>
> 1) When I add a gateway to a profile, say external, I can do reloadxml
> and sofia profile external restart. But if I add a new profile, how
> can I do it as it will complain the profile name not exist?

http://wiki.freeswitch.org/wiki/Sofia#Reloading_profiles_and_gateways
http://wiki.freeswitch.org/wiki/Sofia#Deleting_gateways

If you add a profile its simple.

sofia profile XXX start

/b

>
>
> 2) Is it possible to enable/disable/restart a single gateway?
>
> Thanks
>
> Seven




More information about the Freeswitch-dev mailing list