[Freeswitch-users] change gateway

Andre DeMattia andretodd at verizon.net
Thu Oct 30 23:56:25 MSK 2014


HI, I want to know what is the best way to reload a gateway with changes
that were made. Say maybe the IP changed or gateway was added or deleted. 

using (var a = new Api(null))

                                                {

                                                    a.ExecuteString("sofia
profile internal killgw _ALL_");

                                                    a.ExecuteString("sofia
profile external killgw _ALL_");

                                                     

                                                    a.ExecuteString("sofia
profile internal rescan reloadxml");

                                                    a.ExecuteString("sofia
profile external rescan reloadxml");

                                                }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141030/01eb357f/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list