reading gateway configuration via mod_xml_curl
I've configured freeswitch that it loads gateway configuration via mod_xml_curl. So far thats working fine. But I see an issue when I do changes to a gateway configuration, like changing registration credentials, etc. I can do this in my database and then perform "sofia profile external rescan" in the fs_cli. This forces to requery the data via mod_xml_curl, but I see the following warning in the cli: [WARNING] sofia.c:2840 Ignoring duplicate gateway 'gw1' So finally the changes are not applied. Is there an other way to force reload of the gateway configuration? Thanks Markus
you need to killgw first, to stop it before you can reload it: sofia profile <name> killgw <gateway_name> -Avi On Fri, Jun 28, 2013 at 6:41 PM, mbo <mbodbg@gmx.net> wrote:
I've configured freeswitch that it loads gateway configuration via mod_xml_curl. So far thats working fine. But I see an issue when I do changes to a gateway configuration, like changing registration credentials, etc. I can do this in my database and then perform "sofia profile external rescan" in the fs_cli. This forces to requery the data via mod_xml_curl, but I see the following warning in the cli:
[WARNING] sofia.c:2840 Ignoring duplicate gateway 'gw1'
So finally the changes are not applied. Is there an other way to force reload of the gateway configuration?
Thanks
Markus _________________________________________________________________________ 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
Try this sofia profile external rescan reloadxml * <http://www.sunteltech.ca/blog/>* On Fri, Jun 28, 2013 at 11:41 AM, mbo <mbodbg@gmx.net> wrote:
I've configured freeswitch that it loads gateway configuration via mod_xml_curl. So far thats working fine. But I see an issue when I do changes to a gateway configuration, like changing registration credentials, etc. I can do this in my database and then perform "sofia profile external rescan" in the fs_cli. This forces to requery the data via mod_xml_curl, but I see the following warning in the cli:
[WARNING] sofia.c:2840 Ignoring duplicate gateway 'gw1'
So finally the changes are not applied. Is there an other way to force reload of the gateway configuration?
Thanks
Markus _________________________________________________________________________ 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 (3)
-
Avi Marcus
-
Lloyd Aloysius
-
mbo