[Freeswitch-users] FreeSWITCH 1.8 New Configs

Sergey Safarov s.safarov at gmail.com
Wed Jan 13 08:19:16 MSK 2016


I has added example of full FS config that can be validated using XSD
schema to PR
Changes required in full FS config.
1) declare namespaces xmlns="http://freeswitch.org/xsd" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" in element document
2) Add type information for element section. XSD schema wrote using
polymorphism for element section. Like xsi:type="sectionConfiguration"
3) Symbols "&" and "<" in element and attribute values must be encoded as
"&amp;" and "&lt;"

Also i has commented "X-NO-PRE-PROCESS" elements - I want suggest other way
to include files.

Sergey


On Wed, Jan 13, 2016 at 4:40 AM, Brian West <brian at freeswitch.org> wrote:

> can the XSD validate the config in its entirety?  Seems apps aren't
> validated and such.
>
> On Tue, Jan 12, 2016 at 3:31 PM, Sergey Safarov <s.safarov at gmail.com>
> wrote:
>
>> Hello Brain
>> I think XSD schemas can help validate FS config files and locate error.
>> Mode detail on README file in PR
>> <https://freeswitch.org/stash/projects/FS/repos/fs18configs/pull-requests/1/overview>
>> Also modern xml editors automatically check xml files according rules in
>> XSD schema and suggest xml elements and display element descriptions.
>> Example in attached file.
>>
>> [image: Inline image 1]
>>
>> On Thu, Dec 17, 2015 at 10:44 PM, Brian West <brian at freeswitch.org>
>> wrote:
>>
>>> https://freeswitch.org/jira/browse/FS-8609
>>>
>>> Review the doc and git repo, input comments on this jira and you can
>>> even issue pull requests against the repo for the upcoming configs.
>>>
>>> On Thu, Dec 17, 2015 at 12:35 PM, Christian Hoene <
>>> christian.hoene at symonics.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>>
>>>>
>>>> I like the way Spring boot is doing all the configs:
>>>>
>>>>
>>>> http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config
>>>>
>>>> The idea behind it is to be opinionated out of the box, but get out of
>>>> the way quickly as requirements start to diverge from the defaults.
>>>>
>>>>
>>>>
>>>> And get rid of txml.
>>>>
>>>>
>>>>
>>>> But then again, it is wish list time, isn’t it?
>>>>
>>>>
>>>>
>>>> Enjoy the holidays
>>>>
>>>>
>>>>
>>>> Christian
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *Von:* Tristan Mahé [mailto:t.mahe at b-and-c.net]
>>>> *Gesendet:* Donnerstag, 17. Dezember 2015 19:13
>>>> *An:* freeswitch-users at lists.freeswitch.org
>>>> *Betreff:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs
>>>>
>>>>
>>>>
>>>> Hi Brian,
>>>>
>>>> For my configs, I'm usually trying to respect the following layout:
>>>>
>>>> conf/mods/modscategory/nameofmod
>>>> conf/core for core config
>>>>
>>>> Example:
>>>>
>>>> conf/freeswitch.xml
>>>> conf/core/vars.xml
>>>> conf/core/switch.conf.xml
>>>> conf/core/modules.conf.xml
>>>> conf/mod/dialplans/xml/internal.xml
>>>> conf/mod/endpoints/sofia/sofia.global.conf
>>>> conf/mod/endpoints/sofia/sip_profiles/internal.xml
>>>>
>>>> My 2 cents...
>>>>
>>>> Best,
>>>>
>>>> Gled.
>>>>
>>>> On 12/17/2015 06:46 AM, Brian West wrote:
>>>>
>>>> Has anyone had a chance to review the JIRA and the git repo?  I've put
>>>> up some samples of what I think we need to do, I really do want input on
>>>> this, because once this is done, if you complain about how its done... I'm
>>>> gonna sigh and say 'see this is why I asked for input'! :)
>>>>
>>>>
>>>>
>>>> Happy <INSERT_YOUR_OWN_HOLIDAY_HERE>!
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>>
>>>>
>>>> On Tue, Dec 8, 2015 at 2:24 PM, Brian West <brian at freeswitch.org>
>>>> wrote:
>>>>
>>>> I've started jotting down some notes:
>>>>
>>>>
>>>>
>>>>
>>>> https://docs.google.com/document/d/1Y7IN7wXU28Eu3T4DUDvIwI8O77V2PW5oT-V-7GYPNN8/edit?usp=sharing
>>>>
>>>>
>>>>
>>>> Input anyone?
>>>>
>>>>
>>>>
>>>> On Tue, Dec 8, 2015 at 8:02 AM, Stanislav Sinyagin <ssinyagin at gmail.com>
>>>> wrote:
>>>>
>>>> install hipchat application to your desktop or your phone, and login to
>>>> hipchat.freeswitch.org  wit your jira account
>>>>
>>>>
>>>>
>>>> On Tue, Dec 8, 2015 at 2:34 PM, Victor Medina <
>>>> victor.medina at cibersys.com> wrote:
>>>>
>>>> How do I join?
>>>>
>>>>
>>>>
>>>> 2015-12-07 12:50 GMT-04:30 Ken Rice <krice at freeswitch.org>:
>>>>
>>>> Unsubscribe instructions are linked in the footer of every email to the
>>>> list.
>>>>
>>>>
>>>>
>>>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
>>>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Paul
>>>> Klenk
>>>> *Sent:* Monday, December 7, 2015 11:02 AM
>>>> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>>>> *Subject:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs
>>>>
>>>>
>>>>
>>>> unsubscribe
>>>>
>>>>
>>>>
>>>> On Mon, Dec 7, 2015 at 5:57 PM, Brian West <brian at freeswitch.org>
>>>> wrote:
>>>>
>>>> FreeSWITCHers,
>>>>
>>>>
>>>>
>>>> FS-8609 is raised to get a rough outline of a completely new config
>>>> sample that will be used in 1.8, So we are reaching out to the community
>>>> for input and direction, I have also created a hipchat room FS-8609 on
>>>> hipchat.freeswitch.org if you wish to join in.  Lets start the
>>>> discussion on this topic.
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Brian West*
>>>> brian at freeswitch.org
>>>>
>>>> [image: Das Bild wurde vom Absender entfernt.]
>>>>
>>>> *Twitter: @FreeSWITCH , @briankwest*
>>>> http://www.freeswitchbook.com
>>>> http://www.freeswitchcookbook.com
>>>>
>>>> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
>>>> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>>>>
>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at 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 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at 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 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
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>> [image: Das Bild wurde vom Absender entfernt.]
>>>>
>>>> Víctor E. Medina M.
>>>>
>>>> Platform Architect / Chief Infrastructure
>>>>
>>>> +58424 291 4561
>>>> BB #79A8AFA2
>>>> @VMCibersys
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at 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 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at 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 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Brian West*
>>>> brian at freeswitch.org
>>>>
>>>> [image: Das Bild wurde vom Absender entfernt.]
>>>>
>>>> *Twitter: @FreeSWITCH , @briankwest*
>>>> http://www.freeswitchbook.com
>>>> http://www.freeswitchcookbook.com
>>>>
>>>> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
>>>> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>>>>
>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Brian West*
>>>> brian at freeswitch.org
>>>>
>>>> [image: Das Bild wurde vom Absender entfernt.]
>>>>
>>>> *Twitter: @FreeSWITCH , @briankwest*
>>>> http://www.freeswitchbook.com
>>>> http://www.freeswitchcookbook.com
>>>>
>>>> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
>>>> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>>>>
>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>>>
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>>
>>>> Professional FreeSWITCH Consulting Services:
>>>>
>>>> consulting at 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 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
>>>>
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at 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 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
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Brian West*
>>> brian at freeswitch.org
>>>
>>>
>>> *Twitter: @FreeSWITCH , @briankwest*
>>> http://www.freeswitchbook.com
>>> http://www.freeswitchcookbook.com
>>>
>>> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
>>> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>>>
>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at 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 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
>>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at 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 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
>>
>
>
>
> --
>
> *Brian West*
> brian at freeswitch.org
>
>
> *Twitter: @FreeSWITCH , @briankwest*
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
>
> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>
> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/e72d2734/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/e72d2734/attachment-0001.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xml_editor_suggester_example.png
Type: image/png
Size: 81894 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/e72d2734/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeswitch.xml.patch
Type: application/octet-stream
Size: 14503 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/e72d2734/attachment-0001.obj 


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