[Freeswitch-users] change gateway

Brian West brian at freeswitch.org
Fri Oct 31 01:28:54 MSK 2014


I think you pretty much have it figured out...does what you've done not do
what you expect?

On Thu, Oct 30, 2014 at 3:56 PM, Andre DeMattia <andretodd at verizon.net>
wrote:

> 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");
>
>                                                 }
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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
>



-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141030/f42a6f1a/attachment-0001.html 


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