How to reload the gateway from the mod_managed
Hi, I like to add a gateway on the fly. FS applcation which is in mod_managed will read the gateway configuration from the db and will add/update the conf\sip_profiles\external\MygateWay.xml config file. How to execute this command "sofia profile external rescan reloadxml" to reload the gateway using the mod_managed application without using cli. RegardsSrini
HiHow to execute this command "sofia profile external rescan reloadxml" to reload the gateway using the mod_managed application without using cli. Thanks in advance. Regards Srini
Hi Srini, You should be able to do it using the API. Like: FreeSWITCH.Native.Api fsApi = new FreeSWITCH.Native.Api(); string result = fsApi.ExecuteString("sofia profile external rescan reloadxml"); Regards, Michael Lutz. 2012/1/30 Srini K <aksrini@hotmail.com>:
Hi How to execute this command "sofia profile external rescan reloadxml" to reload the gateway using the mod_managed application without using cli. Thanks in advance.
Regards Srini
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
you would run that like any other fsapi command. On Jan 27, 2012, at 5:01 PM, Srini K wrote:
Hi, I like to add a gateway on the fly. FS applcation which is in mod_managed will read the gateway configuration from the db and will add/update the conf\sip_profiles\external\MygateWay.xml config file. How to execute this command "sofia profile external rescan reloadxml" to reload the gateway using the mod_managed application without using cli.
Anybody, I got the impression before my replys don't get to the list. Could someone please confirm seeing this message with a reply? This because I replied with answer and api example 3 hours ago and Mike just responds with answer like mine wasn't there. (and have the feeling other responses never got here) Thanks, Michael Lutz 2012/1/30 Michael Jerris <mike@jerris.com>:
you would run that like any other fsapi command.
On Jan 27, 2012, at 5:01 PM, Srini K wrote:
Hi, I like to add a gateway on the fly. FS applcation which is in mod_managed will read the gateway configuration from the db and will add/update the conf\sip_profiles\external\MygateWay.xml config file.
How to execute this command "sofia profile external rescan reloadxml" to reload the gateway using the mod_managed application without using cli.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Hi Michael, I see your reply, 3 hours before, like you said Bob On Tue, Jan 31, 2012 at 11:26 AM, Michael Lutz <mytemike72@gmail.com> wrote:
Anybody,
I got the impression before my replys don't get to the list. Could someone please confirm seeing this message with a reply? This because I replied with answer and api example 3 hours ago and Mike just responds with answer like mine wasn't there. (and have the feeling other responses never got here)
Thanks, Michael Lutz
2012/1/30 Michael Jerris <mike@jerris.com>:
you would run that like any other fsapi command.
On Jan 27, 2012, at 5:01 PM, Srini K wrote:
Hi, I like to add a gateway on the fly. FS applcation which is in mod_managed will read the gateway configuration from the db and will add/update the conf\sip_profiles\external\MygateWay.xml config file.
How to execute this command "sofia profile external rescan reloadxml" to reload the gateway using the mod_managed application without using cli.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Great, Thanks for the confirmation Bob, Sorry to have spoiled the thread. But Srini's question has been answerred anyway.. ;-) Michael. 2012/1/30 Bob Coleman <bobc@devassert.com>:
Hi Michael,
I see your reply, 3 hours before, like you said
Bob
On Tue, Jan 31, 2012 at 11:26 AM, Michael Lutz <mytemike72@gmail.com> wrote:
Anybody,
I got the impression before my replys don't get to the list. Could someone please confirm seeing this message with a reply? This because I replied with answer and api example 3 hours ago and Mike just responds with answer like mine wasn't there. (and have the feeling other responses never got here)
Thanks, Michael Lutz
2012/1/30 Michael Jerris <mike@jerris.com>:
you would run that like any other fsapi command.
On Jan 27, 2012, at 5:01 PM, Srini K wrote:
Hi, I like to add a gateway on the fly. FS applcation which is in mod_managed will read the gateway configuration from the db and will add/update the conf\sip_profiles\external\MygateWay.xml config file.
How to execute this command "sofia profile external rescan reloadxml" to reload the gateway using the mod_managed application without using cli.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (4)
-
Bob Coleman
-
Michael Jerris
-
Michael Lutz
-
Srini K