{"action":"created","issue":{"url":"https://api.github.com/repos/fusionpbx/fusionpbx/issues/193","repository_url":"https://api.github.com/repos/fusionpbx/fusionpbx","labels_url":"https://api.github.com/repos/fusionpbx/fusionpbx/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/fusionpbx/fusionpbx/issues/193/comments","events_url":"https://api.github.com/repos/fusionpbx/fusionpbx/issues/193/events","html_url":"https://github.com/fusionpbx/fusionpbx/issues/193","id":92201695,"number":193,"title":"Use mod xml curl for dialplan and directory","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fusionpbx/fusionpbx/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/fusionpbx/fusionpbx/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-06-30T21:16:07Z","updated_at":"2016-02-22T04:39:31Z","closed_at":"2015-06-30T21:16:07Z","body":"```\nInstead of regenerating static xml files it would be nice to use the webserver \nto generate a dynamic xml file so that FreeSWITCH could use mod xml curl for \nconfiguration.  A distributed platform could then be built using a shared \ndatabase that would provide high availability and scalability.  FusionPBX could \nreside on a configuration node and then 1-N worker nodes could be added as \nneeded.  Also this would solve the conflicts with the example configs.\n\n\n```\n\nOriginal issue reported on code.google.com by `sjthomas...@gmail.com` on 9 Nov 2011 at 6:51"},"comment":{"url":"https://api.github.com/repos/fusionpbx/fusionpbx/issues/comments/187005292","html_url":"https://github.com/fusionpbx/fusionpbx/issues/193#issuecomment-187005292","issue_url":"https://api.github.com/repos/fusionpbx/fusionpbx/issues/193","id":187005292,"user":{"login":"markjcrane","id":3408509,"avatar_url":"https://avatars.githubusercontent.com/u/3408509?v=3","gravatar_id":"","url":"https://api.github.com/users/markjcrane","html_url":"https://github.com/markjcrane","followers_url":"https://api.github.com/users/markjcrane/followers","following_url":"https://api.github.com/users/markjcrane/following{/other_user}","gists_url":"https://api.github.com/users/markjcrane/gists{/gist_id}","starred_url":"https://api.github.com/users/markjcrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markjcrane/subscriptions","organizations_url":"https://api.github.com/users/markjcrane/orgs","repos_url":"https://api.github.com/users/markjcrane/repos","events_url":"https://api.github.com/users/markjcrane/events{/privacy}","received_events_url":"https://api.github.com/users/markjcrane/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T04:39:31Z","updated_at":"2016-02-22T04:39:31Z","body":"It's possible... but a bit buggy at the moment since I haven't used it much that way for a while. \r\n\r\nIn default settings -> switch category there are paths that are disabled you would need to enable them.\r\nNext xml handler would need to be disabled in autoload_configs/lua.conf.xml\r\n\r\nOne of the biggest downsides with static XML files is when you have multiple servers and you change data on one server you would need to be save that file change on all servers and reloadxml on all servers. rsync could be used but its best for a primary standby server design and therefore doesn't work well for multi-master design. You loose some other features that require more dynamic changes to the configuration. \r\n\r\n"}}