some questions on mod_xml_curl?
hi, i have some questions on mod_xml_curl .. 1- for implementing mod_xml_cur must to running webserver? 2-is it possible to use mysql directly without webserver ,like ASterisk realtime architecture? in other hand after sip request use sql request instead of http request 3- if we want to use python or c++ or perl langueges in mod_xml_curl so the werb server should to be implement via php because using python we couldn't implement web server ?
1- for implementing mod_xml_cur must to running webserver?
The purpose of mod_xml_curl is to download configuration files via HTTP, so yes it does require running a webserver. That doesn't have to run on the same machine though, it just needs to be reachable.
3- if we want to use python or c++ or perl langueges in mod_xml_curl so the werb server should to be implement via php because using python we couldn't implement web server ?
You can implement the scripts running on the webserver in any language you like (any of the above including python can be used), the script just needs to capable of outputting the correct XML.
2-is it possible to use mysql directly without webserver ,like ASterisk realtime architecture? in other hand after sip request use sql request instead of http request
This isn't enough information for us to answer your question. Some parts of FS can indeed talk to a DB directly, others generally shouldn't (CDR). What specifically are you wanting to store in the database and access directly from FS? Steve on iPhone On 23 Jun 2012, at 06:48, Samira Mh <saami_mh@ymail.com> wrote:
hi, i have some questions on mod_xml_curl .. 1- for implementing mod_xml_cur must to running webserver? 2-is it possible to use mysql directly without webserver ,like ASterisk realtime architecture? in other hand after sip request use sql request instead of http request 3- if we want to use python or c++ or perl langueges in mod_xml_curl so the werb server should to be implement via php because using python we couldn't implement web server ?
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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 Steven, it is kind of you answer my question in the way that meet my need, but i need some helps, by reading wiki on mod_xml_curl i am not able to understand what exactly must to do for implement realtime on freeswitch what is the next step for implement realtime after set binding directory in /usr/local/freeswitch/conf/autoload_configs/xml_curl.conf.xml as follow and load mod_xml_curl ? <configuration name="xml_curl.conf" description="cURL XML Gateway"> <bindings> <binding name="directory_fetcher"> <param name="gateway-url" value="http://192.168.10.89:8080" bindings="directory"/> <param name="disable-100-continue" value="true"/> </binding> </bindings> </configuration> i think the next step is to put my script -on any programming languges-in the below path ? /usr/local/freeswitch/htdocs/ is it possible for you to describe me only the steps for implement raltime to findout what exactly should to do? thanks so much ________________________________ From: Steven Ayre <steveayre@gmail.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Cc: Free SWITCH Users Help <freeswitch-users@lists.freeswitch.org> Sent: Saturday, June 23, 2012 4:41 PM Subject: Re: [Freeswitch-users] some questions on mod_xml_curl? 1- for implementing mod_xml_cur must to running webserver? The purpose of mod_xml_curl is to download configuration files via HTTP, so yes it does require running a webserver. That doesn't have to run on the same machine though, it just needs to be reachable. 3- if we want to use python or c++ or perl langueges in mod_xml_curl so the werb server should to be implement via php
because using python we couldn't implement web server ? You can implement the scripts running on the webserver in any language you like (any of the above including python can be used), the script just needs to capable of outputting the correct XML.
2-is it possible to use mysql directly without webserver ,like ASterisk realtime architecture?
in other hand after sip request use sql request instead of http request This isn't enough information for us to answer your question. Some parts of FS can indeed talk to a DB directly, others generally shouldn't (CDR). What specifically are you wanting to store in the database and access directly from FS?
Steve on iPhone On 23 Jun 2012, at 06:48, Samira Mh <saami_mh@ymail.com> wrote: hi,
i have some questions on mod_xml_curl .. 1- for implementing mod_xml_cur must to running webserver? 2-is it possible to use mysql directly without webserver ,like ASterisk realtime architecture? in other hand after sip request use sql request instead of http request 3- if we want to use python or c++ or perl langueges in mod_xml_curl so the werb server should to be implement via php because using python we couldn't implement web server ?
_________________________________________________________________________
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
Join Us At ClueCon - Aug 7-9, 2012
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 Join Us At ClueCon - Aug 7-9, 2012 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 (2)
-
Samira Mh
-
Steven Ayre