[Freeswitch-users] reload user data

Leon de Rooij leon at scarlet-internet.nl
Tue Aug 25 03:00:57 PDT 2009


Hi,

I wrote that module, but been on vacation for a while :-) It's not  
really finished yet, but it worked well for generating user directory  
xml..

Some things that still need to be done:
- Fix it so that reloadxml works
- Don't write the generated xml always to disk before returning it to fs
- Surely there are bugs that need to be fixed

Did anyone try it yet ? If so, what is your experience ?

Regards,

Leon




On Aug 25, 2009, at 11:30 AM, Jim Burke wrote:

> Is this what you are after?
>
> http://wiki.freeswitch.org/wiki/Mod_xml_odbc
>
> Cheers,
> Jim
>
> On Tue, Aug 25, 2009 at 7:22 PM, Juan Backson<juanbackson at gmail.com>  
> wrote:
>> Hi Ken,
>>
>> xml_curl is a great idea.  Is there anyway to not having to setup  
>> another
>> HTTP server?  For instance, can I have freeswitch to call an api or  
>> call a
>> lua or php or c script that will return the xml response?  That  
>> way, I don't
>> need to maintain yet another service.
>>
>> Thanks,
>> JB
>>
>> On Tue, Aug 25, 2009 at 4:30 PM, Ken Rice <krice at freeswitch.org>  
>> wrote:
>>>
>>> You just need to reloadxml you don’t have to restart the whole  
>>> thing. You
>>> can also use xml_curl to feed the users from a database see my  
>>> contrib
>>> directory (contrib/swk) for some example scripts and db code
>>>
>>>
>>> ________________________________
>>> From: Juan Backson <juanbackson at gmail.com>
>>> Reply-To: <freeswitch-users at lists.freeswitch.org>
>>> Date: Tue, 25 Aug 2009 16:21:58 +0800
>>> To: <freeswitch-users at lists.freeswitch.org>
>>> Subject: [Freeswitch-users] reload user data
>>>
>>> Hello,
>>>
>>> I would like to dynamically add user to freeswitch.  If I add a  
>>> new file
>>> to the directory dir, is there anyway to have freeswitch to read  
>>> the new
>>> user xml file without having to restart freeswitch?
>>>
>>> Other than using flat file, is there anyway to add user to  
>>> freeswitch user
>>> api command?
>>>
>>> Thanks,
>>> JB
>>>
>>> ________________________________
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
>
> -- 
> Jim Burke
> Director Evolutiontel.
> http://www.evolutiontel.net
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org





More information about the FreeSWITCH-users mailing list