Sorry if it is OT. I am trying to figure out how fusionpbx stores freeswitch configuration. freeswitch global_getvar conf_dir shows /etc/freeswitch But when I look at /etc/freeswitch/sip_profiles/external, I don't see any gateway declared, altough when I do: sofia status I get: Name Type Data State ================================================================================================= external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) external profile sip:mod_sofia@192.168.2.13:5080 RUNNING (0) external::d7369e36-c636-483c-b50b-177cef15caf9 gateway sip:50000@192.168.2.108 REGED internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) internal profile sip:mod_sofia@192.168.2.13:5060 RUNNING (0) ================================================================================================= So, where is external::d7369e36-c636-483c-b50b-177cef15caf9 gateway declared? I thought it could be via mod_xml_curl, but there is no config for it in autoload_configs. Regards,
Fusionpbx sets most xml configs to noload. I believe it stores all freeswitch configuration data in sqlite by default, that data is then loaded into a master xml file and that's what freeswitch uses. On Tue, Oct 18, 2016 at 10:24 AM, Valter Nogueira <valter@fastway.com.br> wrote:
Sorry if it is OT.
I am trying to figure out how fusionpbx stores freeswitch configuration.
freeswitch global_getvar conf_dir shows /etc/freeswitch
But when I look at /etc/freeswitch/sip_profiles/external, I don't see any gateway declared, altough when I do:
sofia status
I get:
Name Type Data State ============================================================ ===================================== external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) external profile sip:mod_sofia@192.168.2.13:5080 RUNNING (0) external::d7369e36-c636-483c-b50b-177cef15caf9 gateway sip:50000@192.168.2.108 REGED internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) internal profile sip:mod_sofia@192.168.2.13:5060 RUNNING (0) ============================================================ =====================================
So, where is external::d7369e36-c636-483c-b50b-177cef15caf9 gateway declared?
I thought it could be via mod_xml_curl, but there is no config for it in autoload_configs.
Regards,
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Tanner Kerr* | Developer | *iTel.com <http://www.itel.com/> * *1.888.899.4835 <1.888.899.4835> *(ext:1027)
FusionPBX is a web gui for managing a FreeSWITCH based PBX. FusionPBX gets its settings dynamically from database (postgresql by default) via a lua xml handler (eg, check mod_lua docs, and mod_xml_curl docs). You can get more details from the website www.fusionpbx.com and you can ask question in the IRC channel #fusionpbx I would suggest you read the docs from website, then install, test, then ask questions in IRC channel. This mailing list is about FreeSWITCH (the underlying server) not about FusionPBX. sent from mobile cell: +39 347 266 56 18 Giovanni Maruzzelli OpenTelecom.IT On Oct 18, 2016 7:39 PM, "Tanner Kerr" <tanner@itel.com> wrote:
Fusionpbx sets most xml configs to noload. I believe it stores all freeswitch configuration data in sqlite by default, that data is then loaded into a master xml file and that's what freeswitch uses.
On Tue, Oct 18, 2016 at 10:24 AM, Valter Nogueira <valter@fastway.com.br> wrote:
Sorry if it is OT.
I am trying to figure out how fusionpbx stores freeswitch configuration.
freeswitch global_getvar conf_dir shows /etc/freeswitch
But when I look at /etc/freeswitch/sip_profiles/external, I don't see any gateway declared, altough when I do:
sofia status
I get:
Name Type Data State ============================================================ ===================================== external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) external profile sip:mod_sofia@192.168.2.13:5080 RUNNING (0) external::d7369e36-c636-483c-b50b-177cef15caf9 gateway sip:50000@192.168.2.108 REGED internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) internal profile sip:mod_sofia@192.168.2.13:5060 RUNNING (0) ============================================================ =====================================
So, where is external::d7369e36-c636-483c-b50b-177cef15caf9 gateway declared?
I thought it could be via mod_xml_curl, but there is no config for it in autoload_configs.
Regards,
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Tanner Kerr* | Developer | *iTel.com <http://www.itel.com/> * *1.888.899.4835 <1.888.899.4835> *(ext:1027)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thank you. My goal is learn how FS works and how can I check its configuration using fs_cli and config_dir. I will check mod_lua docs and I will get in touch with fusionpbx people. Atenciosamente, 2016-10-18 16:44 GMT-02:00 Giovanni Maruzzelli <gmaruzz@gmail.com>:
FusionPBX is a web gui for managing a FreeSWITCH based PBX.
FusionPBX gets its settings dynamically from database (postgresql by default) via a lua xml handler (eg, check mod_lua docs, and mod_xml_curl docs).
You can get more details from the website www.fusionpbx.com and you can ask question in the IRC channel #fusionpbx
I would suggest you read the docs from website, then install, test, then ask questions in IRC channel.
This mailing list is about FreeSWITCH (the underlying server) not about FusionPBX.
sent from mobile cell: +39 347 266 56 18 Giovanni Maruzzelli OpenTelecom.IT
On Oct 18, 2016 7:39 PM, "Tanner Kerr" <tanner@itel.com> wrote:
Fusionpbx sets most xml configs to noload. I believe it stores all freeswitch configuration data in sqlite by default, that data is then loaded into a master xml file and that's what freeswitch uses.
On Tue, Oct 18, 2016 at 10:24 AM, Valter Nogueira <valter@fastway.com.br> wrote:
Sorry if it is OT.
I am trying to figure out how fusionpbx stores freeswitch configuration.
freeswitch global_getvar conf_dir shows /etc/freeswitch
But when I look at /etc/freeswitch/sip_profiles/external, I don't see any gateway declared, altough when I do:
sofia status
I get:
Name Type Data State ============================================================ ===================================== external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) external profile sip:mod_sofia@192.168.2.13:5080 RUNNING (0) external::d7369e36-c636-483c-b50b-177cef15caf9 gateway sip:50000@192.168.2.108 REGED internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) internal profile sip:mod_sofia@192.168.2.13:5060 RUNNING (0) ============================================================ =====================================
So, where is external::d7369e36-c636-483c-b50b-177cef15caf9 gateway declared?
I thought it could be via mod_xml_curl, but there is no config for it in autoload_configs.
Regards,
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Tanner Kerr* | Developer | *iTel.com <http://www.itel.com/> * *1.888.899.4835 <1.888.899.4835> *(ext:1027)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
On 18 October 2016 at 21:16, Valter Nogueira <valter@fastway.com.br> wrote:
Thank you.
My goal is learn how FS works and how can I check its configuration using fs_cli and config_dir.
Hello Valter, if you want to learn how FS works and how you can check its configuration using fs_cli and config_dir then you need to use FS directly, without gui. Go to http://freeswitch.org/confluence and start from there, you will find full docs about it all (install and usage), then if you want you can read the books from packtpub, ask here in mailing list, or in IRC channel #freeswitch -giovanni
I will check mod_lua docs and I will get in touch with fusionpbx people.
Atenciosamente,
2016-10-18 16:44 GMT-02:00 Giovanni Maruzzelli <gmaruzz@gmail.com>:
FusionPBX is a web gui for managing a FreeSWITCH based PBX.
FusionPBX gets its settings dynamically from database (postgresql by default) via a lua xml handler (eg, check mod_lua docs, and mod_xml_curl docs).
You can get more details from the website www.fusionpbx.com and you can ask question in the IRC channel #fusionpbx
I would suggest you read the docs from website, then install, test, then ask questions in IRC channel.
This mailing list is about FreeSWITCH (the underlying server) not about FusionPBX.
sent from mobile cell: +39 347 266 56 18 Giovanni Maruzzelli OpenTelecom.IT
On Oct 18, 2016 7:39 PM, "Tanner Kerr" <tanner@itel.com> wrote:
Fusionpbx sets most xml configs to noload. I believe it stores all freeswitch configuration data in sqlite by default, that data is then loaded into a master xml file and that's what freeswitch uses.
On Tue, Oct 18, 2016 at 10:24 AM, Valter Nogueira <valter@fastway.com.br
wrote:
Sorry if it is OT.
I am trying to figure out how fusionpbx stores freeswitch configuration.
freeswitch global_getvar conf_dir shows /etc/freeswitch
But when I look at /etc/freeswitch/sip_profiles/external, I don't see any gateway declared, altough when I do:
sofia status
I get:
Name Type Data State ============================================================ ===================================== external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) external profile sip:mod_sofia@192.168.2.13:5080 RUNNING (0) external::d7369e36-c636-483c-b50b-177cef15caf9 gateway sip:50000@192.168.2.108 REGED internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) internal profile sip:mod_sofia@192.168.2.13:5060 RUNNING (0) ============================================================ =====================================
So, where is external::d7369e36-c636-483c-b50b-177cef15caf9 gateway declared?
I thought it could be via mod_xml_curl, but there is no config for it in autoload_configs.
Regards,
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
-- *Tanner Kerr* | Developer | *iTel.com <http://www.itel.com/> * *1.888.899.4835 <1.888.899.4835> *(ext:1027)
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@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@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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
fs_cli should work with the fusionpbx install, also config_dir will most likely only contain config.lua and config.php which you don't need to worry about too much. when you do a global_getvar it will read from /usr/local/freeswitch/conf/vars.xml which I believe is populated by the database. I would recommend changing the configuration info in the gui because otherwise it's a little hard to keep track of the data flow in the backend of a fusionpbx/freeswitch instance. I'm with Giovanni on that, if your goal is to solely learn freeswitch, I would recommend setting up a vanilla freeswitch server. On Tue, Oct 18, 2016 at 1:04 PM, Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
On 18 October 2016 at 21:16, Valter Nogueira <valter@fastway.com.br> wrote:
Thank you.
My goal is learn how FS works and how can I check its configuration using fs_cli and config_dir.
Hello Valter,
if you want to learn how FS works and how you can check its configuration using fs_cli and config_dir then you need to use FS directly, without gui.
Go to http://freeswitch.org/confluence and start from there, you will find full docs about it all (install and usage), then if you want you can read the books from packtpub, ask here in mailing list, or in IRC channel #freeswitch
-giovanni
I will check mod_lua docs and I will get in touch with fusionpbx people.
Atenciosamente,
2016-10-18 16:44 GMT-02:00 Giovanni Maruzzelli <gmaruzz@gmail.com>:
FusionPBX is a web gui for managing a FreeSWITCH based PBX.
FusionPBX gets its settings dynamically from database (postgresql by default) via a lua xml handler (eg, check mod_lua docs, and mod_xml_curl docs).
You can get more details from the website www.fusionpbx.com and you can ask question in the IRC channel #fusionpbx
I would suggest you read the docs from website, then install, test, then ask questions in IRC channel.
This mailing list is about FreeSWITCH (the underlying server) not about FusionPBX.
sent from mobile cell: +39 347 266 56 18 Giovanni Maruzzelli OpenTelecom.IT
On Oct 18, 2016 7:39 PM, "Tanner Kerr" <tanner@itel.com> wrote:
Fusionpbx sets most xml configs to noload. I believe it stores all freeswitch configuration data in sqlite by default, that data is then loaded into a master xml file and that's what freeswitch uses.
On Tue, Oct 18, 2016 at 10:24 AM, Valter Nogueira < valter@fastway.com.br> wrote:
Sorry if it is OT.
I am trying to figure out how fusionpbx stores freeswitch configuration.
freeswitch global_getvar conf_dir shows /etc/freeswitch
But when I look at /etc/freeswitch/sip_profiles/external, I don't see any gateway declared, altough when I do:
sofia status
I get:
Name Type Data State ============================================================ ===================================== external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) external profile sip:mod_sofia@192.168.2.13:5080 RUNNING (0) external::d7369e36-c636-483c-b50b-177cef15caf9 gateway sip:50000@192.168.2.108 REGED internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) internal profile sip:mod_sofia@192.168.2.13:5060 RUNNING (0) ============================================================ =====================================
So, where is external::d7369e36-c636-483c-b50b-177cef15caf9 gateway declared?
I thought it could be via mod_xml_curl, but there is no config for it in autoload_configs.
Regards,
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
-- *Tanner Kerr* | Developer | *iTel.com <http://www.itel.com/> * *1.888.899.4835 <1.888.899.4835> *(ext:1027)
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@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@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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Tanner Kerr* | Developer | *iTel.com <http://www.itel.com/> * *1.888.899.4835 <1.888.899.4835> *(ext:1027)
Hello I personalty enjoy fusionpbx, but i don't feel confortable with xml_handler because xml configurations files are easier to understand. I think you may disable xml_handler and try to understand auto generated xml config files First go to FREESWITCH_CONDIR/autoload_configs/lua.conf.xml <param name="xml-handler-script" value="app.lua xml_handler"/> <param name="xml-handler-bindings" value="directory"/> remove some bindings, freeswitch will try to read xml files, not the database. In my case, i only want xml_handler for my directory Then, tel to fusionpbx to write xml files Using web gui, do to Advanced > Default seetings Move to "switch" and enable some subcategories like dialplan, sip_profiles ... if a subcategory is disabled, fusionpbx will not write xml files. On 18/10/2016 22:16, Tanner Kerr wrote:
fs_cli should work with the fusionpbx install, also config_dir will most likely only contain config.lua and config.php which you don't need to worry about too much. when you do a global_getvar it will read from /usr/local/freeswitch/conf/vars.xml which I believe is populated by the database. I would recommend changing the configuration info in the gui because otherwise it's a little hard to keep track of the data flow in the backend of a fusionpbx/freeswitch instance.
I'm with Giovanni on that, if your goal is to solely learn freeswitch, I would recommend setting up a vanilla freeswitch server.
On Tue, Oct 18, 2016 at 1:04 PM, Giovanni Maruzzelli <gmaruzz@gmail.com <mailto:gmaruzz@gmail.com>> wrote:
On 18 October 2016 at 21:16, Valter Nogueira <valter@fastway.com.br <mailto:valter@fastway.com.br>> wrote:
Thank you.
My goal is learn how FS works and how can I check its configuration using fs_cli and config_dir.
Hello Valter,
if you want to learn how FS works and how you can check its configuration using fs_cli and config_dir then you need to use FS directly, without gui.
Go to http://freeswitch.org/confluence <http://freeswitch.org/confluence> and start from there, you will find full docs about it all (install and usage), then if you want you can read the books from packtpub, ask here in mailing list, or in IRC channel #freeswitch
-giovanni
I will check mod_lua docs and I will get in touch with fusionpbx people.
Atenciosamente,
2016-10-18 16:44 GMT-02:00 Giovanni Maruzzelli <gmaruzz@gmail.com <mailto:gmaruzz@gmail.com>>:
FusionPBX is a web gui for managing a FreeSWITCH based PBX.
FusionPBX gets its settings dynamically from database (postgresql by default) via a lua xml handler (eg, check mod_lua docs, and mod_xml_curl docs).
You can get more details from the website www.fusionpbx.com <http://www.fusionpbx.com> and you can ask question in the IRC channel #fusionpbx
I would suggest you read the docs from website, then install, test, then ask questions in IRC channel.
This mailing list is about FreeSWITCH (the underlying server) not about FusionPBX.
sent from mobile cell: +39 347 266 56 18 Giovanni Maruzzelli OpenTelecom.IT
On Oct 18, 2016 7:39 PM, "Tanner Kerr" <tanner@itel.com <mailto:tanner@itel.com>> wrote:
Fusionpbx sets most xml configs to noload. I believe it stores all freeswitch configuration data in sqlite by default, that data is then loaded into a master xml file and that's what freeswitch uses.
On Tue, Oct 18, 2016 at 10:24 AM, Valter Nogueira <valter@fastway.com.br <mailto:valter@fastway.com.br>> wrote:
Sorry if it is OT.
I am trying to figure out how fusionpbx stores freeswitch configuration.
freeswitch global_getvar conf_dir shows /etc/freeswitch
But when I look at /etc/freeswitch/sip_profiles/external, I don't see any gateway declared, altough when I do:
sofia status
I get:
Name Type Data State ================================================================================================= external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) external profile sip:mod_sofia@192.168.2.13:5080 <http://sip:mod_sofia@192.168.2.13:5080> RUNNING (0) external::d7369e36-c636-483c-b50b-177cef15caf9 gateway sip:50000@192.168.2.108 <mailto:sip%3A50000@192.168.2.108> REGED internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) internal profile sip:mod_sofia@192.168.2.13:5060 <http://sip:mod_sofia@192.168.2.13:5060> RUNNING (0) =================================================================================================
So, where is external::d7369e36-c636-483c-b50b-177cef15caf9 gateway declared?
I thought it could be via mod_xml_curl, but there is no config for it in autoload_configs.
Regards,
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org <http://confluence.freeswitch.org> http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
-- *Tanner Kerr*|Developer | *iTel.com <http://www.itel.com/>* *1.888.899.4835 <tel:1.888.899.4835> *(ext:1027)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org <http://confluence.freeswitch.org> http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org <http://confluence.freeswitch.org> http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org <http://confluence.freeswitch.org> http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618 <tel:%2B39-347-2665618>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org <http://confluence.freeswitch.org> http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
-- *Tanner Kerr*|Developer | *iTel.com <http://www.itel.com/>* *1.888.899.4835 <tel:1.888.899.4835> *(ext:1027)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I will try that. Thank you, Valter 2016-10-19 17:14 GMT-02:00 Tanguy <phenix@vfemail.net>:
Hello I personalty enjoy fusionpbx, but i don't feel confortable with xml_handler because xml configurations files are easier to understand. I think you may disable xml_handler and try to understand auto generated xml config files
First go to FREESWITCH_CONDIR/autoload_configs/lua.conf.xml
<param name="xml-handler-script" value="app.lua xml_handler"/> <param name="xml-handler-bindings" value="directory"/>
remove some bindings, freeswitch will try to read xml files, not the database. In my case, i only want xml_handler for my directory
Then, tel to fusionpbx to write xml files Using web gui, do to Advanced > Default seetings
Move to "switch" and enable some subcategories like dialplan, sip_profiles ... if a subcategory is disabled, fusionpbx will not write xml files.
On 18/10/2016 22:16, Tanner Kerr wrote:
fs_cli should work with the fusionpbx install, also config_dir will most likely only contain config.lua and config.php which you don't need to worry about too much. when you do a global_getvar it will read from /usr/local/freeswitch/conf/vars.xml which I believe is populated by the database. I would recommend changing the configuration info in the gui because otherwise it's a little hard to keep track of the data flow in the backend of a fusionpbx/freeswitch instance.
I'm with Giovanni on that, if your goal is to solely learn freeswitch, I would recommend setting up a vanilla freeswitch server.
On Tue, Oct 18, 2016 at 1:04 PM, Giovanni Maruzzelli < <gmaruzz@gmail.com> gmaruzz@gmail.com> wrote:
On 18 October 2016 at 21:16, Valter Nogueira < <valter@fastway.com.br> valter@fastway.com.br> wrote:
Thank you.
My goal is learn how FS works and how can I check its configuration using fs_cli and config_dir.
Hello Valter,
if you want to learn how FS works and how you can check its configuration using fs_cli and config_dir then you need to use FS directly, without gui.
Go to http://freeswitch.org/confluence and start from there, you will find full docs about it all (install and usage), then if you want you can read the books from packtpub, ask here in mailing list, or in IRC channel #freeswitch
-giovanni
I will check mod_lua docs and I will get in touch with fusionpbx people.
Atenciosamente,
2016-10-18 16:44 GMT-02:00 Giovanni Maruzzelli < <gmaruzz@gmail.com> gmaruzz@gmail.com>:
FusionPBX is a web gui for managing a FreeSWITCH based PBX.
FusionPBX gets its settings dynamically from database (postgresql by default) via a lua xml handler (eg, check mod_lua docs, and mod_xml_curl docs).
You can get more details from the website <http://www.fusionpbx.com> www.fusionpbx.com and you can ask question in the IRC channel #fusionpbx
I would suggest you read the docs from website, then install, test, then ask questions in IRC channel.
This mailing list is about FreeSWITCH (the underlying server) not about FusionPBX.
sent from mobile cell: +39 347 266 56 18 Giovanni Maruzzelli OpenTelecom.IT
On Oct 18, 2016 7:39 PM, "Tanner Kerr" < <tanner@itel.com> tanner@itel.com> wrote:
Fusionpbx sets most xml configs to noload. I believe it stores all freeswitch configuration data in sqlite by default, that data is then loaded into a master xml file and that's what freeswitch uses.
On Tue, Oct 18, 2016 at 10:24 AM, Valter Nogueira < <valter@fastway.com.br>valter@fastway.com.br> wrote:
Sorry if it is OT.
I am trying to figure out how fusionpbx stores freeswitch configuration.
freeswitch global_getvar conf_dir shows /etc/freeswitch
But when I look at /etc/freeswitch/sip_profiles/external, I don't see any gateway declared, altough when I do:
sofia status
I get:
Name Type Data State ============================================================ ===================================== external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) external profile <http://sip:mod_sofia@192.168.2.13:5080> sip:mod_sofia@192.168.2.13:5080 RUNNING (0) external::d7369e36-c636-483c-b50b-177cef15caf9 gateway <sip%3A50000@192.168.2.108>sip:50000@192.168.2.108 REGED internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) internal profile <http://sip:mod_sofia@192.168.2.13:5060> sip:mod_sofia@192.168.2.13:5060 RUNNING (0) ============================================================ =====================================
So, where is external::d7369e36-c636-483c-b50b-177cef15caf9 gateway declared?
I thought it could be via mod_xml_curl, but there is no config for it in autoload_configs.
Regards,
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Tanner Kerr* | Developer | *iTel.com <http://www.itel.com/> * *1.888.899.4835 <1.888.899.4835> *(ext:1027)
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Tanner Kerr* | Developer | *iTel.com <http://www.itel.com/> * *1.888.899.4835 <1.888.899.4835> *(ext:1027)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Latests versions afaik use memcache to store config. In my experience, fusionpbx fails a lot in terms of refreshing the config when you're making several changes. I was going to open a ticket, but then i forgot. On Thu, Oct 20, 2016 at 2:18 PM Valter Nogueira <valter@fastway.com.br> wrote:
I will try that.
Thank you,
Valter
2016-10-19 17:14 GMT-02:00 Tanguy <phenix@vfemail.net>:
Hello I personalty enjoy fusionpbx, but i don't feel confortable with xml_handler because xml configurations files are easier to understand. I think you may disable xml_handler and try to understand auto generated xml config files
First go to FREESWITCH_CONDIR/autoload_configs/lua.conf.xml
<param name="xml-handler-script" value="app.lua xml_handler"/> <param name="xml-handler-bindings" value="directory"/>
remove some bindings, freeswitch will try to read xml files, not the database. In my case, i only want xml_handler for my directory
Then, tel to fusionpbx to write xml files Using web gui, do to Advanced > Default seetings
Move to "switch" and enable some subcategories like dialplan, sip_profiles ... if a subcategory is disabled, fusionpbx will not write xml files.
On 18/10/2016 22:16, Tanner Kerr wrote:
fs_cli should work with the fusionpbx install, also config_dir will most likely only contain config.lua and config.php which you don't need to worry about too much. when you do a global_getvar it will read from /usr/local/freeswitch/conf/vars.xml which I believe is populated by the database. I would recommend changing the configuration info in the gui because otherwise it's a little hard to keep track of the data flow in the backend of a fusionpbx/freeswitch instance.
I'm with Giovanni on that, if your goal is to solely learn freeswitch, I would recommend setting up a vanilla freeswitch server.
On Tue, Oct 18, 2016 at 1:04 PM, Giovanni Maruzzelli < <gmaruzz@gmail.com> gmaruzz@gmail.com> wrote:
On 18 October 2016 at 21:16, Valter Nogueira < <valter@fastway.com.br> valter@fastway.com.br> wrote:
Thank you.
My goal is learn how FS works and how can I check its configuration using fs_cli and config_dir.
Hello Valter,
if you want to learn how FS works and how you can check its configuration using fs_cli and config_dir then you need to use FS directly, without gui.
Go to http://freeswitch.org/confluence and start from there, you will find full docs about it all (install and usage), then if you want you can read the books from packtpub, ask here in mailing list, or in IRC channel #freeswitch
-giovanni
I will check mod_lua docs and I will get in touch with fusionpbx people.
Atenciosamente,
2016-10-18 16:44 GMT-02:00 Giovanni Maruzzelli < <gmaruzz@gmail.com> gmaruzz@gmail.com>:
FusionPBX is a web gui for managing a FreeSWITCH based PBX.
FusionPBX gets its settings dynamically from database (postgresql by default) via a lua xml handler (eg, check mod_lua docs, and mod_xml_curl docs).
You can get more details from the website <http://www.fusionpbx.com> www.fusionpbx.com and you can ask question in the IRC channel #fusionpbx
I would suggest you read the docs from website, then install, test, then ask questions in IRC channel.
This mailing list is about FreeSWITCH (the underlying server) not about FusionPBX.
sent from mobile cell: +39 347 266 56 18 Giovanni Maruzzelli OpenTelecom.IT
On Oct 18, 2016 7:39 PM, "Tanner Kerr" < <tanner@itel.com>tanner@itel.com> wrote:
Fusionpbx sets most xml configs to noload. I believe it stores all freeswitch configuration data in sqlite by default, that data is then loaded into a master xml file and that's what freeswitch uses.
On Tue, Oct 18, 2016 at 10:24 AM, Valter Nogueira < <valter@fastway.com.br>valter@fastway.com.br> wrote:
Sorry if it is OT.
I am trying to figure out how fusionpbx stores freeswitch configuration.
freeswitch global_getvar conf_dir shows /etc/freeswitch
But when I look at /etc/freeswitch/sip_profiles/external, I don't see any gateway declared, altough when I do:
sofia status
I get:
Name Type Data State
================================================================================================= external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) external profile <http://sip:mod_sofia@192.168.2.13:5080>sip:mod_sofia@192.168.2.13:5080 RUNNING (0) external::d7369e36-c636-483c-b50b-177cef15caf9 gateway <sip%3A50000@192.168.2.108>sip:50000@192.168.2.108 REGED internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) internal profile <http://sip:mod_sofia@192.168.2.13:5060>sip:mod_sofia@192.168.2.13:5060 RUNNING (0)
=================================================================================================
So, where is external::d7369e36-c636-483c-b50b-177cef15caf9 gateway declared?
I thought it could be via mod_xml_curl, but there is no config for it in autoload_configs.
Regards,
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Tanner Kerr* | Developer | *iTel.com <http://www.itel.com/> * *1.888.899.4835 <1.888.899.4835> *(ext:1027)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Tanner Kerr* | Developer | *iTel.com <http://www.itel.com/> * *1.888.899.4835 <1.888.899.4835> *(ext:1027)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
I have tried to disable lua and enable xml generation on fusionpbx, but it didn't worked at all, files xml were not generated and configs were not loaded. How can I find the source code for xml_handler (lua source code), defined bellow? <param name="xml-handler-script" value="app.lua xml_handler"/> <param name="xml-handler-bindings" value="directory"/> Thanks, Valter 2016-10-20 11:16 GMT-02:00 David Villasmil <david.villasmil.work@gmail.com>:
Latests versions afaik use memcache to store config. In my experience, fusionpbx fails a lot in terms of refreshing the config when you're making several changes. I was going to open a ticket, but then i forgot. On Thu, Oct 20, 2016 at 2:18 PM Valter Nogueira <valter@fastway.com.br> wrote:
I will try that.
Thank you,
Valter
2016-10-19 17:14 GMT-02:00 Tanguy <phenix@vfemail.net>:
Hello I personalty enjoy fusionpbx, but i don't feel confortable with xml_handler because xml configurations files are easier to understand. I think you may disable xml_handler and try to understand auto generated xml config files
First go to FREESWITCH_CONDIR/autoload_configs/lua.conf.xml
<param name="xml-handler-script" value="app.lua xml_handler"/> <param name="xml-handler-bindings" value="directory"/>
remove some bindings, freeswitch will try to read xml files, not the database. In my case, i only want xml_handler for my directory
Then, tel to fusionpbx to write xml files Using web gui, do to Advanced > Default seetings
Move to "switch" and enable some subcategories like dialplan, sip_profiles ... if a subcategory is disabled, fusionpbx will not write xml files.
On 18/10/2016 22:16, Tanner Kerr wrote:
fs_cli should work with the fusionpbx install, also config_dir will most likely only contain config.lua and config.php which you don't need to worry about too much. when you do a global_getvar it will read from /usr/local/freeswitch/conf/vars.xml which I believe is populated by the database. I would recommend changing the configuration info in the gui because otherwise it's a little hard to keep track of the data flow in the backend of a fusionpbx/freeswitch instance.
I'm with Giovanni on that, if your goal is to solely learn freeswitch, I would recommend setting up a vanilla freeswitch server.
On Tue, Oct 18, 2016 at 1:04 PM, Giovanni Maruzzelli < <gmaruzz@gmail.com>gmaruzz@gmail.com> wrote:
On 18 October 2016 at 21:16, Valter Nogueira < <valter@fastway.com.br> valter@fastway.com.br> wrote:
Thank you.
My goal is learn how FS works and how can I check its configuration using fs_cli and config_dir.
Hello Valter,
if you want to learn how FS works and how you can check its configuration using fs_cli and config_dir then you need to use FS directly, without gui.
Go to http://freeswitch.org/confluence and start from there, you will find full docs about it all (install and usage), then if you want you can read the books from packtpub, ask here in mailing list, or in IRC channel #freeswitch
-giovanni
I will check mod_lua docs and I will get in touch with fusionpbx people.
Atenciosamente,
2016-10-18 16:44 GMT-02:00 Giovanni Maruzzelli < <gmaruzz@gmail.com> gmaruzz@gmail.com>:
FusionPBX is a web gui for managing a FreeSWITCH based PBX.
FusionPBX gets its settings dynamically from database (postgresql by default) via a lua xml handler (eg, check mod_lua docs, and mod_xml_curl docs).
You can get more details from the website <http://www.fusionpbx.com> www.fusionpbx.com and you can ask question in the IRC channel #fusionpbx
I would suggest you read the docs from website, then install, test, then ask questions in IRC channel.
This mailing list is about FreeSWITCH (the underlying server) not about FusionPBX.
sent from mobile cell: +39 347 266 56 18 Giovanni Maruzzelli OpenTelecom.IT
On Oct 18, 2016 7:39 PM, "Tanner Kerr" < <tanner@itel.com>tanner@itel.com> wrote:
Fusionpbx sets most xml configs to noload. I believe it stores all freeswitch configuration data in sqlite by default, that data is then loaded into a master xml file and that's what freeswitch uses.
On Tue, Oct 18, 2016 at 10:24 AM, Valter Nogueira < <valter@fastway.com.br>valter@fastway.com.br> wrote:
Sorry if it is OT.
I am trying to figure out how fusionpbx stores freeswitch configuration.
freeswitch global_getvar conf_dir shows /etc/freeswitch
But when I look at /etc/freeswitch/sip_profiles/external, I don't see any gateway declared, altough when I do:
sofia status
I get:
Name Type Data State ============================================================ ===================================== external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) external profile <http://sip:mod_sofia@192.168.2.13:5080>sip:mod_sofia@192.168.2.13:5080 RUNNING (0) external::d7369e36-c636-483c-b50b-177cef15caf9 gateway <sip%3A50000@192.168.2.108>sip:50000@192.168.2.108 REGED internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) internal profile <http://sip:mod_sofia@192.168.2.13:5060>sip:mod_sofia@192.168.2.13:5060 RUNNING (0) ============================================================ =====================================
So, where is external::d7369e36-c636-483c-b50b-177cef15caf9 gateway declared?
I thought it could be via mod_xml_curl, but there is no config for it in autoload_configs.
Regards,
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Tanner Kerr* | Developer | *iTel.com <http://www.itel.com/> * *1.888.899.4835 <1.888.899.4835> *(ext:1027)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Tanner Kerr* | Developer | *iTel.com <http://www.itel.com/> * *1.888.899.4835 <1.888.899.4835> *(ext:1027)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Valter, This mailing list is for FreeSWITCH, you ask questions about FusionPBX in IRC channel #fusionpbx That said, you can find all scripts in /usr/local/freeswitch/scripts. Also, what you are trying will not work, FusionPBX will not write config files on filesystem. -giovanni On 20 October 2016 at 22:17, Valter Nogueira <valter@fastway.com.br> wrote:
I have tried to disable lua and enable xml generation on fusionpbx, but it didn't worked at all, files xml were not generated and configs were not loaded.
How can I find the source code for xml_handler (lua source code), defined bellow?
Also, why would you need to have them on xml? The point is exactly mot having them. I understand your frustration, i also tried to get it to write the xmls, because i was used to it, but it actually works ok, once your have it properly configured. On Thu, Oct 20, 2016 at 11:08 PM Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
Valter,
This mailing list is for FreeSWITCH, you ask questions about FusionPBX in IRC channel #fusionpbx
That said, you can find all scripts in /usr/local/freeswitch/scripts. Also, what you are trying will not work, FusionPBX will not write config files on filesystem.
-giovanni
On 20 October 2016 at 22:17, Valter Nogueira <valter@fastway.com.br> wrote:
I have tried to disable lua and enable xml generation on fusionpbx, but it didn't worked at all, files xml were not generated and configs were not loaded.
How can I find the source code for xml_handler (lua source code), defined bellow?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Older versions of fusionpbx did write xml and that made it easier to customize a bit, so if you really want that, go back in the svn to an older one, not sure just when they stopped writing to xml, but I thought there was a setting maybe look in the settings. On Fri, 21 Oct 2016 08:05:15 -0400, David Villasmil wrote:
[1 <multipart/alternative (7bit)>] [1.1 <text/plain; UTF-8 (7bit)>] [1.2 <text/html; UTF-8 (quoted-printable)>] Also, why would you need to have them on xml? The point is exactly mot having them. I understand your frustration, i also tried to get it to write the xmls, because i was used to it, but it actually works ok, once your have it properly configured.
On Thu, Oct 20, 2016 at 11:08 PM Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
Valter,
This mailing list is for FreeSWITCH, you ask questions about FusionPBX in IRC channel #fusionpbx
That said, you can find all scripts in /usr/local/freeswitch/scripts. Also, what you are trying will not work, FusionPBX will not write config files on filesystem.
-giovanni
On 20 October 2016 at 22:17, Valter Nogueira <valter@fastway.com.br> wrote:
I have tried to disable lua and enable xml generation on fusionpbx, but it didn't worked at all, files xml were not generated and configs were not loaded.
How can I find the source code for xml_handler (lua source code), defined bellow?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org [2 <text/plain; us-ascii (7bit)>] _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Hello i confirm that once enabled, xml files generations still working for me with fusionpbx 4.2, i don't advise an older version. Fusionpbx uses sessions variables to store theses parameters, like $_SESSION['switch']['dialplan']['dir'] resources/switch.php 685 //if dialplan dir exists then build and save the dialplan xml 686 if (is_dir($_SESSION['switch']['dialplan']['dir'])) { 687 $sql = "select * from v_dialplans "; 688 $sql .= "where dialplan_enabled = 'true' "; 689 $prep_statement = $db->prepare(check_sql($sql)); 690 if ($prep_statement) { 691 $prep_statement->execute(); 692 $result = $prep_statement->fetchAll(PDO::FETCH_ASSOC); 693 foreach ($result as &$row) { I don't know when the $_SESSION array is updated. I think you may logout from fusionpbx, reconnect and try again. If it stil not work try to add a dirty print_r($_SESSION) in your page to debug this array contents. On 21/10/2016 14:18, John Covici wrote:
Older versions of fusionpbx did write xml and that made it easier to customize a bit, so if you really want that, go back in the svn to an older one, not sure just when they stopped writing to xml, but I thought there was a setting maybe look in the settings.
On Fri, 21 Oct 2016 08:05:15 -0400, David Villasmil wrote:
participants (6)
-
David Villasmil
-
Giovanni Maruzzelli
-
John Covici
-
Tanguy
-
Tanner Kerr
-
Valter Nogueira