[Freeswitch-users] Load only selected configuration files with mod_xml_curl

mbo mbodbg at gmx.net
Fri Jan 17 11:04:23 MSK 2014


ok, that works, thanks.

Markus

Am 16.01.2014 um 12:06 schrieb Peter Steinbach <lists at telefaks.de>:

> Hello Markus,
> 
> we do the same, we only supply configs for certain modules via
> mod_xml_curl. For modules we do not support by our mod_xml_curl
> implementation, we send back the following
> <?xml version='1.0' encoding='UTF-8' standalone='no'?>.
> <!-- Timestamp 2014-01-16 12:02:27 -->
> <!-- Error: this config 'tts_commandline.conf' is not considered -->
> <document type='freeswitch/xml'>.
>  <section name='result'>.
>    <result status='not found'/>.
>  </section>.
> </document>.
> and then the local config in the file system is used.
> 
> See also the freeswitch wiki regarding this.
> 
> Best regards
> Peter
> 
> 
> On 01/16/14 10:27, mbo wrote:
>> Hi,
>> 
>> I have a question regarding mod_xml. I want to get only the sofia configuration via mod_xml_curl. If I configure the binding for „configuration“, freeswitch tries to get ALL configurations through mod_xml. However mod_curl tries to load the xml configuration file, it throws an error for each configuration which cannot be retrieved. As we are monitoring the freeswitch log, we receive a bunch of errors notifications every time a reloadxml is performed. 
>> 
>> Is it somehow possible to configure mod_xml_curl to only get selected configuration files ? Or is it possible to send back a special HTTP Response when the file is not found that no error is written to the freeswitch log?
>> 
>> Thanks
>> 
>> Markus
>> 
>> 
>> 
>> 
>> 
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> 
>> 
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>> 
>> 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
>> 
> 
> 
> -- 
> With kind regards
> Peter Steinbach 
> 
> Telefaks Services GmbH
> mailto:lists (att) telefaks.de
> Internet: www.telefaks.de
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> 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




Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list