[Freeswitch-users] reloadxml question

Mathieu Rene mrene_lists at avgs.ca
Sat Jan 16 12:16:18 PST 2010


reloadxml preprocesses the xml config again, it does not tell modules  
to reload their configuration from that file.

In order to delete a gateway, you do: sofia profile <profilename>  
killgw <gwname>

If you make changes to a gateway and want to reload it, you first  
delete it with that command and then do:
	sofia profile <profilename> rescan

If you don't have any active calls on the box, restarting the profile  
will do the equivalent of killgw+rescan.

Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene at avgs.ca




On 16-Jan-10, at 2:58 PM, Alfredo Quiroga-Villamil wrote:

> All:
>
> I am starting to play a bit with FS to get more familiar with it. I am
> trying the following:
>
> 1- sofia status  // command for example to see the list of profiles.
>
> 2- I then went ahead and renamed the example.com.xml under
> conf/directory/default to example.com.xml.orig
>
> 3- I ran then reloadxml using the fs_cli
>
> 4- sofia status still displays the same info as before for
> example.conf as a gateway.
>
> I then went ahead and stopped FW and re-started it. After I did this I
> re-ran sofia status and this time the example.conf gateway that was
> previously listed went away as it was supposed to.
>
> Am I missing something? Is reloadxml the proper way to reload
> configuration changes. If it is why is it not working for this case?
>
> Thanks in advance,
>
> Alfredo
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org





More information about the FreeSWITCH-users mailing list