Hi,

I never worked with mod python for fetching user directory dynamically.

Some quick search on google, i found these links:
http://lists.freeswitch.org/pipermail/freeswitch-users/2010-February/053696.html

https://wiki.freeswitch.org/wiki/Mod_python#Can_it_serve_configuration_.28like_Lua.29.3F

Srigo


On Sun, 1 Apr 2018, 18:40 Do Nguyen Ha, <donguyenha@gmail.com> wrote:
hi Srigo

thank you for your suggestion, i did read the mod_xml_curl documents but i refer the mod_lua/mod_python :)

any idea for the mod_python

On Sun, Apr 1, 2018 at 2:48 PM, Srigo Kanapathipillai <ksrigo@gmail.com> wrote:
Hi 

If you want to have dynamic directory, i suggest you to use mod_xml_curl which will do an http request to your web server to get ur directory info. Your webserver serving your fs config can be a python process (fcgiwrap, uwsgi, gunicorn, etc with a nginx or apache for production environnement).

Srigo

On Sat, 31 Mar 2018, 06:23 Do Nguyen Ha, <donguyenha@gmail.com> wrote:
hi list

i want to use mod_python to dynamic load user directory and read the wiki but no documents for access XML_REQUEST 

how to get the XML_REQUEST in python script

thank you
_________________________________________________________________________
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