<?xml version="1.0" encoding="utf-8"?>
<!--
 *	CFFreeSwitch
 *
 *	Copyright (c) 2014-2017 Mark Sobkow
 *	
 *	This program is available as free software under the GNU GPL v 2.0, or
 *	under a commercial license from Mark Sobkow.  For commercial licensing
 *	details, please contact msobkow@sasktel.net.
 *	
 *	Under the terms of the GPL:
 *	
 *		This program is free software: you can redistribute it and/or modify
 *		it under the terms of the GNU General Public License as published by
 *		the Free Software Foundation, either version 2.0 of the License, or
 *		(at your option) any later version.
 *	  
 *		This program is distributed in the hope that it will be useful,
 *		but WITHOUT ANY WARRANTY; without even the implied warranty of
 *		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *		GNU General Public License for more details.
 *	  
 *		You should have received a copy of the GNU General Public License
 *		along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *-->
<MSSBam
		xmlns="uri://msscodefactory/mssbam"
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xmlns:xs="http://www.w3.org/2001/XMLSchema"
		xsi:schemaLocation="uri://msscodefactory/mssbam file:../bin/xsd/mssbam-2.9.xsd"
		Name="CFFreeSwitch"
		Revision="2.10"
		Description="CFFreeSwitch"
		ProjectRoot="net.sourceforge.MSSCodeFactory.CFFreeSwitch.2.10" >
	<Tld Name="org" >
		<TopDomain Name="apache" >
			<License Name="ApacheV2"
					Description="Apache Version 2 License">
Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
    http://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.</License>
		</TopDomain>
		<TopDomain Name="gnu" >
			<License Name="GplV2"
					Description="GNU GPL v2+ License">
This project is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
.
This project is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this project.  If not, see http://www.gnu.org/licenses/.</License>
			<License Name="GplV3"
					Description="GNU GPL v3+ License">
This project is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This project is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this project.  If not, see http://www.gnu.org/licenses/.</License>
			<License Name="LGplV2"
					Description="GNU Lesser/Library GPL v2+ License">
This project is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
.
This project is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser Public License for more details.
.
You should have received a copy of the GNU Lesser Public License
along with this project.  If not, see http://www.gnu.org/licenses/.</License>
			<License Name="LGplV3"
					Description="GNU Lesser/Library GPL v3+ License">
This project is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This project is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser Public License for more details.
.
You should have received a copy of the GNU Lesser Public License
along with this project.  If not, see http://www.gnu.org/licenses/.</License>
		</TopDomain>
	</Tld>
	<Tld Name="net" >
		<TopDomain Name="sourceforge" >
			<TopProject Name="MSSCodeFactory" >
				<SubProject Name="CFFreeSwitch" >
					<MajorVersion Name="2" >
						<MinorVersion Name="10" >
<SchemaDef Name="CFFreeSwitch"
		DbName="CFFsw210"
		Description=""
		DefaultLicense="org.apache.ApacheV2"
		ExtendCFCore="true"
		CopyrightHolder="Mark Sobkow"
		CopyrightPeriod="2014-2017"
		AuthorEMail="msobkow@sasktel.net"
		ProjectURL="http://msscodefactory.sourceforge.net/"
		PublishURI="http://msscodefactory.sourceforge.net/model-2.9/net-sourceforge-MSSCodeFactory-CFFreeSwitch-2-10-CFFreeSwitch.xml" >

	<SchemaRef Name="CFSecurity"
			RefModelName="net-sourceforge-MSSCodeFactory-CFSecurity-2-10-CFSecurity"
			IncludeRoot="net.sourceforge.MSSCodeFactory.CFSecurity.2.10.CFSecurity" />

	<SchemaRef Name="CFInternet"
			RefModelName="net-sourceforge-MSSCodeFactory-CFInternet-2-10-CFInternet"
			IncludeRoot="net.sourceforge.MSSCodeFactory.CFInternet.2.10.CFInternet" />

	<Id64Gen Name="FSSFConfIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			DbName="FSSFConfIdGenSeq"
			MinValue="0"
			InitValue="0"
			Dispenser="Tenant"
			Slice="1021"
			BlockSize="1" />

	<Id64Gen Name="FSSFConfPFileIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			DbName="FSSFConfProfileIdGenSeq"
			MinValue="0"
			InitValue="0"
			Dispenser="Tenant"
			Slice="1022"
			BlockSize="1" />

	<Id64Gen Name="FSSFDialerIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			DbName="FSSFDialerIdGenSeq"
			MinValue="0"
			InitValue="0"
			Dispenser="Tenant"
			Slice="1023"
			BlockSize="1" />

	<Id64Gen Name="FSSFDialplanIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			DbName="FSSFDialplanIdGenSeq"
			MinValue="0"
			InitValue="0"
			Dispenser="Tenant"
			Slice="1024"
			BlockSize="1" />

	<Id64Gen Name="FSSFDirectoryIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			DbName="FSSFDirectoryIdGenSeq"
			MinValue="0"
			InitValue="0"
			Dispenser="Tenant"
			Slice="1025"
			BlockSize="1" />

	<Id64Gen Name="FSSFExtIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			DbName="FSSFExtIdGenSeq"
			MinValue="0"
			InitValue="0"
			Dispenser="Tenant"
			Slice="1026"
			BlockSize="1" />

	<Id64Gen Name="FSSFGatewayIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			DbName="FSSFGatewayIdGenSeq"
			MinValue="0"
			InitValue="0"
			Dispenser="Tenant"
			Slice="1027"
			BlockSize="1" />

	<Id64Gen Name="FSSFPFileAliasIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			DbName="FSSFPFAliasIdGenSeq"
			MinValue="0"
			InitValue="0"
			Dispenser="Tenant"
			Slice="1028"
			BlockSize="1" />

	<Id64Gen Name="FSSFPFileDomIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			DbName="FSSFPFDomainIdGenSeq"
			MinValue="0"
			InitValue="0"
			Dispenser="Tenant"
			Slice="1029"
			BlockSize="1" />

	<Id64Gen Name="FSSFProfileIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			DbName="FSSFProfileIdGenSeq"
			MinValue="0"
			InitValue="0"
			Dispenser="Tenant"
			Slice="1030"
			BlockSize="1" />

	<Id64Gen Name="FSSFVMailIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			DbName="FSSFVMailIdGenSeq"
			MinValue="0"
			InitValue="0"
			Dispenser="Tenant"
			Slice="1031"
			BlockSize="1" />

	<Id64Gen Name="FSSofiaIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			DbName="FSSofieaIdGenSeq"
			MinValue="0"
			InitValue="0"
			Dispenser="Tenant"
			Slice="1032"
			BlockSize="1" />

	<Id64Gen Name="PbxCustomerIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			DbName="PbxCustIdGenSeq"
			MinValue="0"
			InitValue="0"
			Dispenser="Tenant"
			Slice="1033"
			BlockSize="1" />

	<Id64Gen Name="PbxIvrMenuEntryIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			DbName="PbxIvrMenuEntryIdGenSeq"
			MinValue="0"
			InitValue="0"
			Dispenser="Tenant"
			Slice="1034"
			BlockSize="1" />

	<Id64Gen Name="PbxIvrMenuIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			DbName="PbxIvrMenuIdGenSeq"
			MinValue="0"
			InitValue="0"
			Dispenser="Tenant"
			Slice="1035"
			BlockSize="1" />

	<Id64Gen Name="PbxOperatorIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			DbName="PbxOpIdGenSeq"
			MinValue="0"
			InitValue="0"
			Dispenser="Tenant"
			Slice="1036"
			BlockSize="1" />

	<Table Name="FSSFConference"
			TableClassCode="FSCN"
			DbName="FSSFConf"
			Label="FS Sofia Conference"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="FSSFConferenceId"
				Label="FS Sofia Conference Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSFConfIdGen" />
		<TableCol Name="FSSofiaId"
				Label="FS Sofia Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSofiaIdGen" />
		<StringCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="" />
		<PrimaryIndex Name="FSSFConferenceIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="FSSFCfnc_pidx"
				Suffix="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFConferenceId" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="FSSFConferenceTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFCfnc_xtenant"
				Suffix="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFConferenceSofiaIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFCfnc_xsofia"
				Suffix="SofiaIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSofiaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFConferenceNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFCfnc_xuname"
				Suffix="UNameIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSofiaId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
	</Table>

	<Table Name="FSSFConferenceProfile"
			TableClassCode="FSCP"
			DbName="FSSFCnfPrf"
			Label="FS Sofia Conference Profile"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="FSSFConferenceProfileId"
				Label="FS Sofia Conference Profile Id"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="FSSFCFPFileId"
				DataType="FSSFConfPFileIdGen" />
		<TableCol Name="FSSFConferenceId"
				Label="FS Sofia Conference Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSFConfIdGen" />
		<StringCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="SoundPrefix"
				Label="Sound Prefix"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="/opt/freeswitch/sounds/en/us/callie" />
		<StringCol Name="AckSound"
				Label="ACK Sound"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1" />
		<StringCol Name="AloneSound"
				Label="Alone Sound"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="conf-alone.wav" />
		<StringCol Name="BadPinSound"
				Label="Bad PIN Sound"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="conf-bad-pin.wav" />
		<StringCol Name="EnterSound"
				Label="Enter Sound"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="conf-welcome.wav" />
		<StringCol Name="ExitSound"
				Label="Exit Sound"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="conf-goodbye.wav" />
		<StringCol Name="IsLockedSound"
				Label="Is Locked Sound"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="conf-is-locked.wav" />
		<StringCol Name="KickedSound"
				Label="Kicked Sound"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="conf-kicked.wav" />
		<StringCol Name="LockedSound"
				Label="Locked Sound"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="conf-locked.wav" />
		<StringCol Name="MaxMembersSound"
				Label="Maximum Members Sound"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1" />
		<StringCol Name="MOHSound"
				Label="Message On Hold Sound"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1" />
		<StringCol Name="MuteDetectSound"
				Label="Mute Detect Sound"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1" />
		<StringCol Name="MutedSound"
				Label="Muted Sound"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="conf-muted.wav" />
		<StringCol Name="NackSound"
				Label="NACK Sound"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1" />
		<StringCol Name="PerpetualSound"
				Label="Perpetual Sound"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1" />
		<StringCol Name="PinSound"
				Label="PIN Sound"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1" />
		<StringCol Name="Pin"
				Label="PIN"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="conf-pin.wav" />
		<StringCol Name="UnmutedSound"
				Label="Unmuted Sound"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="conf-unmuted.wav" />
		<Int32Col Name="Rate"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="8000" />
		<StringCol Name="AutoRecord"
				Label="Auto-Record"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="/var/myNFSshare/${conference_name}_$strftime(%Y%m%d-%H%M%S)).wav" />
		<Int32Col Name="ValInterval"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="20" />
		<Int32Col Name="EnergyLevel"
				Label="Energy Level"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="300" />
		<StringCol Name="MemberFlags"
				Label="Member Flags"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="ConferenceFlags"
				Label="Conference Flags"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="CallerControls"
				Label="Caller Controls"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="TTSEngine"
				Label="TTS Engine"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="cepstral" />
		<StringCol Name="TTSVoice"
				Label="TTS Voice"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="david" />
		<Int32Col Name="MaxMembers"
				Label="Maximum Members"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="20" />
		<Int32Col Name="ComfortNoise"
				Label="Comfort Noise"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="1420" />
		<Int32Col Name="AnnounceCount"
				Label="Announce Count"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="5" />
		<StringCol Name="SuppressEvents"
				Label="Suppress Events"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="VerboseEvents"
				Label="Verbose Events"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="CallerIdName"
				Label="Caller Id Name"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1" />
		<StringCol Name="CallerIdNumber"
				Label="Caller Id Number"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1" />
		<PrimaryIndex Name="FSSFConfProfileIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="FSSFCFPFile_pidx"
				Suffix="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFConferenceProfileId" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="FSSFConfProfileTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFCFPFile_xtent"
				Suffix="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFConfProfileConferenceIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFCFPFile_xconf"
				Suffix="ConferenceIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFConferenceId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFConfProfileNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFCFPFile_xuname"
				Suffix="UNameIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFConferenceId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
	</Table>

	<Table Name="FSSFDialer"
			TableClassCode="FSDL"
			DbName="FSSFDialer"
			Label="FS Sofia Dialer"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="FSSFDialerId"
				Label="FS Sofia Dialier Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSFDialerIdGen" />
		<TableCol Name="FSSofiaId"
				Label="FS Sofia Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSofiaIdGen" />
		<StringCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="Prefix"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="sofia/external/" />
		<StringCol Name="Suffix"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="@localhost" />
		<Int32Col Name="Timeout"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="15" />
		<StringCol Name="ErlangNode"
				Label="Erlang Node"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="testsrv" />
		<StringCol Name="LocalPrefix"
				Label="Local Prefix"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="sofia/external/" />
		<StringCol Name="LocalSuffix"
				Label="Local Suffix"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="%localhost" />
		<Int32Col Name="MessageSeconds"
				Label="Message Seconds"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="2" />
		<Int32Col Name="CallbackHandoffMinutes"
				Label="Callback Handoff Minutes"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="5" />
		<StringCol Name="WelcomeMsg"
				Label="Welcome Message"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="/usr/lib/sounds/welcome_to_host-8000.wav" />
		<StringCol Name="InvalidExtensionMsg"
				Label="Invalid Extension Message"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="/usr/lib/sounds/invalid_extension-8000.wav" />
		<StringCol Name="InvalidPINMsg"
				Label="Invalid PIN Message"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="/usr/lib/sounds/invalid_pin_try_again-8000.wav" />
		<StringCol Name="InvalidResultCodeMsg"
				Label="Invalid Result Code Message"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="/usr/lib/sounds/invalid_result_code-8000.wav" />
		<StringCol Name="PleaseEnterResultCodeMsg"
				Label="Please Enter Result Code Message"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="/usr/lib/sounds/please_enter_result_code-8000.wav" />
		<StringCol Name="ThankYouMsg"
				Label="Thank-You Message"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="/usr/lib/sounds/thank_you-8000.wav" />
		<StringCol Name="PleaseEnterPINMsg"
				Label="Please Enter PIN Message"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="/usr/lib/sounds/welcome_please_enter_pin-8000.wav" />
		<StringCol Name="SpoolMsgDir"
				Label="Spool Message Directory"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="/var/spool/cffreeswitch" />
		<StringCol Name="SpoolMsgPrefix"
				Label="Spool Message Prefix"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="cffreeswitch" />
		<StringCol Name="SpoolMsgType"
				Label="Spool Message Type"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="gsm" />
		<BoolCol Name="RecordAllCalls"
				Label="Record All Calls"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="true" />
		<StringCol Name="AreaCode"
				Label="Area Code"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="3"
				ShowLines="1"
				InitValue="306" />
		<Int32Col Name="OutboundLines"
				Label="Outbound Lines"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="8" />
		<PrimaryIndex Name="FSSFDialerIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="FSSFDialer_pidx"
				Suffix="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFDialerId" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="FSSFDialerTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFDialer_xtenant"
				Suffix="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFDialerSofiaIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFDialer_xsofia"
				Suffix="SofiaIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSofiaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFDialerNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFDialer_xuname"
				Suffix="UNameIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSofiaId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
	</Table>

	<Table Name="FSSFDialplan"
			TableClassCode="FSDP"
			DbName="FSSFDialplan"
			Label="FS Sofia Dialplan"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="FSSFDialplanId"
				Label="FS Sofia Dialplan Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSFDialplanIdGen" />
		<TableCol Name="FSSofiaId"
				Label="FS Sofia Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSofiaIdGen" />
		<StringCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="" />
		<TextCol Name="DialplanXML"
				Label="Dialplan XML"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="8000"
				ShowLines="5"
				InitValue="" />
		<PrimaryIndex Name="FSSFDialplanIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="FSSFDPlan_pidx"
				Suffix="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFDialplanId" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="FSSFDialplanTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFDPlan_xtenant"
				Suffix="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFDialplanSofiaIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFDPlan_xsofia"
				Suffix="SofiaIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSofiaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFDialplanNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFDPlan_xuname"
				Suffix="UNameIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSofiaId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
	</Table>

	<Table Name="FSSFDirectory"
			TableClassCode="FSDR"
			DbName="FSSFDir"
			Label="FS Sofia Directory"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="FSSFDirectoryId"
				Label="FS Sofia Directory Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSFDirectoryIdGen" />
		<TableCol Name="FSSofiaId"
				Label="FS Sofia Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSofiaIdGen" />
		<StringCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="DialString"
				Label="Dial String"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}" />
		<BoolCol Name="RecordStereo"
				Label="Record Stereo"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="true" />
		<StringCol Name="DefaultGateway"
				Label="Default Gateway"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="$${default_provider}" />
		<StringCol Name="DefaultAreacode"
				Label="Default Area Code"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="$${default_areacode}" />
		<StringCol Name="TransferFallbackExtension"
				Label="Transfer Fallback Extension"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="operator" />
		<PrimaryIndex Name="FSSFDirectoryIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="FSSFDir_pidx"
				Suffix="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFDirectoryId" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="FSSFDirectoryTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFDir_xtenant"
				Suffix="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFDirectorySofiaIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFDir_xsofia"
				Suffix="SofiaIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSofiaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFDirectoryNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFDir_xuname"
				Suffix="UNameIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSofiaId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
	</Table>

	<Table Name="FSSFExtension"
			TableClassCode="FSEX"
			DbName="FSSFExt"
			Label="FS Sofia Extension"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="FSSFExtensionId"
				Label="FS Sofia Extension Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSFExtIdGen" />
		<TableCol Name="FSSFDirectoryId"
				Label="FS Sofia Directory Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSFDirectoryIdGen" />
		<StringCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="Password"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="TollAllow"
				Label="Toll Allow"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="domestic,international,local" />
		<StringCol Name="AccountCode"
				Label="Account Code"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="5000" />
		<StringCol Name="UserContext"
				Label="User Context"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="default" />
		<StringCol Name="EffectiveCallerIdName"
				Label="Effective Caller Id Name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="Extension 5000" />
		<StringCol Name="EffectiveCallerIdNumber"
				Label="Effective Caller Id Number"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="5000" />
		<StringCol Name="OutboundCallerIdName"
				Label="Outbound Caller Id Name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="$${outbound_caller_name}" />
		<StringCol Name="OutboundCallerIdNumber"
				Label="Outbound Caller Id Number"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="$${outbound_caller_id}" />
		<StringCol Name="CallGroup"
				Label="Call Group"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="employee" />
		<Int32Col Name="VMDiskQuota"
				Label="Voice Mail Disk Quota"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="0" />
		<StringCol Name="VMMailTo"
				Label="Voice Mail Mail To"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="username@localhost" />
		<StringCol Name="VMNotifyMailTo"
				Label="Voice Mail Notify Mail To"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="username@localhost" />
		<StringCol Name="VMPassword"
				Label="Voice Mail Password"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="5000" />
		<BoolCol Name="VMEmailAllMessages"
				Label="Voice Mail Email All Messages"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="true" />
		<BoolCol Name="VMNotifyEmailAllMessages"
				Label="Voice Mail Notify Email All Messages"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="true" />
		<BoolCol Name="VMKeepLocalAfterEMail"
				Label="Voice Mail Keep Local After EMail"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="true" />
		<BoolCol Name="VMAttachFile"
				Label="Voice Mail Attach File"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="true" />
		<StringCol Name="EMailEMailFrom"
				Label="EMail EMail From"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="voicemail@localhost" />
		<StringCol Name="VMMessageExt"
				Label="Voice Mail Message Extension"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="16"
				ShowLines="1"
				InitValue="wav" />
		<PrimaryIndex Name="FSSFExtensionIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="FSSFExt_pidx"
				Suffix="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFExtensionId" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="FSSFExtensionTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFExt_xtent"
				Suffix="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFExtensionDirectoryIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFExt_xdir"
				Suffix="DirectoryIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFDirectoryId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFExtensionNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFExt_xuname"
				Suffix="UNameIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFDirectoryId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
	</Table>

	<Table Name="FSSFGateway"
			TableClassCode="FSGW"
			DbName="FSSFGateway"
			Label="FS Sofia Gateway"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="FSSFGatewayId"
				Label="FS Sofia Gateway Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSFGatewayIdGen" />
		<TableCol Name="FSSofiaId"
				Label="FS Sofia Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSofiaIdGen" />
		<StringCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="Username"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="testsrv" />
		<StringCol Name="Realm"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="localhost" />
		<StringCol Name="FromUser"
				Label="From User"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="testsrv" />
		<StringCol Name="FromDomain"
				Label="From Domain"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="testsrv" />
		<StringCol Name="Password"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="testsrv" />
		<StringCol Name="Extension"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="testsrv" />
		<StringCol Name="Proxy"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="testsrv" />
		<StringCol Name="RegisterProxy"
				Label="Register Proxy"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="localhost" />
		<Int32Col Name="ExpireSeconds"
				Label="Expire Seconds"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="60" />
		<BoolCol Name="Register"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<StringCol Name="RegisterTransport"
				Label="Register Transport"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="16"
				ShowLines="1"
				InitValue="udp" />
		<Int32Col Name="RetrySeconds"
				Label="Retry Seconds"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="60" />
		<BoolCol Name="CallerIdInFrom"
				Label="Caller Id In From"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<StringCol Name="ContactParams"
				Label="Contact Params"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="tport=tcp" />
		<Int32Col Name="Ping"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="25" />
		<PrimaryIndex Name="FSSFGatewayIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="FSSFGWay_pidx"
				Suffix="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFGatewayId" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="FSSFGatewayTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFGWay_xtenant"
				Suffix="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFGatewaySofiaIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFGWay_xsofia"
				Suffix="SofiaIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSofiaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFGatewayNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFGWay_xuname"
				Suffix="UNameIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSofiaId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
	</Table>

	<Table Name="FSSFProfile"
			TableClassCode="FSPF"
			DbName="FSSFProfile"
			Label="FS Sofia Profile"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="FSSFProfileId"
				Label="FS Sofia Profile Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSFProfileIdGen" />
		<TableCol Name="FSSofiaId"
				Label="FS Sofia Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSofiaIdGen" />
		<StringCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="" />
		<Int16Col Name="Debug"
				IsNullable="false"
				DefaultVisibility="true"
				MaxValue="10"
				InitValue="0" />
		<BoolCol Name="SipTrace"
				Label="SIP Trace"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<Int16Col Name="SipPort"
				Label="SIP Port"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="6080" />
		<StringCol Name="Dialplan"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="XML" />
		<StringCol Name="Context"
				DbName="safe_context"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="public" />
		<Int32Col Name="DTMFDuration"
				Label="DTMF Duration"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="100" />
		<StringCol Name="CodecPrefs"
				Label="Codec Preferences"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="128"
				ShowLines="1"
				InitValue="PCMU,PCMA,GSM" />
		<StringCol Name="HoldMusic"
				Label="Hold Music"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="local_stream://moh" />
		<StringCol Name="RTPTimerName"
				Label="RTP Timer Name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="32"
				ShowLines="1"
				InitValue="soft" />
		<BoolCol Name="Enable100Rel"
				Label="Enable 100 Rel"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="ManagePresence"
				Label="Manage Presence"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<StringCol Name="DbName"
				Label="Database Name"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="share_presence" />
		<StringCol Name="PresenceHosts"
				Label="Presence Hosts"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="10.77.0.231" />
		<StringCol Name="ForceRegisterDomain"
				Label="Force Register Domain"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="10.77.0.231" />
		<StringCol Name="ForceRegisterDbDomain"
				Label="Force Register Db Domain"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1" />
		<BoolCol Name="AggressiveNATDetection"
				Label="Aggressive NAT Detection"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="true" />
		<StringCol Name="InboundCodecNegotiation"
				Label="Inbound Codec Negotiation"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="32"
				ShowLines="1"
				InitValue="generous" />
		<Int16Col Name="NonCETTL"
				Label="NonCE TTL"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="60" />
		<BoolCol Name="AuthCalls"
				Label="Auth Calls"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<Int32Col Name="RtpTimeoutSec"
				Label="RTP Timeout Sec"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="1800" />
		<StringCol Name="RtpIP"
				Label="RTP IP Address"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="10.77.0.231" />
		<StringCol Name="SipIP"
				Label="SIP IP Address"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="10.77.0.231" />
		<StringCol Name="ExtRtpIP"
				Label="External RTP IP Address"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="10.77.0.231" />
		<StringCol Name="ExtSipIP"
				Label="External SIP IP Address"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="10.77.0.231" />
		<BoolCol Name="Enable3PCC"
				Label="Enable 3PCC"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<StringCol Name="TlsBindParams"
				Label="TLS Bind Params"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="transport=tls" />
		<Int16Col Name="TlsSipPort"
				Label="TLS SIP Port"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="6081" />
		<StringCol Name="TlsCertDir"
				Label="TLS Certificate Directory"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="/opt/freeswitch/conf/ssl" />
		<StringCol Name="TlsVersion"
				Label="TLS Version"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="16"
				ShowLines="1"
				InitValue="t1sv1" />
		<BoolCol Name="RtpAutoflushDuringBridge"
				Label="RTP Auto-Flush During Bridge"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="true" />
		<BoolCol Name="RtpRewriteTimestamp"
				Label="RTP Rewrite Timestamp"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="PassRFC2833"
				Label="Pass RFC2833"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<StringCol Name="OdbcDSN"
				Label="ODBC DSN"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1" />
		<BoolCol Name="InboundBypassMedia"
				Label="Inbound Bypass Media"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="InboundProxyMedia"
				Label="Inbound Proxy Media"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="InboundLateNegotiation"
				Label="Inbound Late Negotiation"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="AcceptBlindReg"
				Label="Accept Blind Registration"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="AcceptBlindAuth"
				Label="Accept Blind Authentication"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="SuppressCNG"
				Label="Suppress CNG"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="DisableTranscoding"
				Label="Disable Transcoding"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="DisableTransfer"
				Label="Disable Transfer"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="NDLBBrokenAuthHash"
				Label="NDLB Broken Auth Hash"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="NDLBReceivedInNATRegContact"
				Label="NDLB Received In NAT Reg Contact"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="InboundRegForceMatchingUsername"
				Label="Inbound Registragtion Force Matching Username"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="inbndregfrcmusr"
				InitValue="true" />
		<BoolCol Name="AuthAllPackets"
				Label="Auth All Packets"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<StringCol Name="Vad"
				Label="VAD"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="16"
				ShowLines="1"
				InitValue="both" />
		<StringCol Name="ProfileAlias"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="sip:10.77.0.231:6080" />
		<Int32Col Name="ForceSubscriptionExpires"
				Label="Force Subscription Expires"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="60" />
		<BoolCol Name="DisableRegister"
				Label="Disable Register"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="NDLBForceReport"
				Label="NDLB Force Report"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<StringCol Name="ChallengeRealm"
				Label="Challenge Realm"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="auto_from" />
		<BoolCol Name="DisableRtpAutoAdjust"
				Label="Disable RTP Auto-Adjust"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="InboundUseCallIdAsUUID"
				Label="Inbound Use CallerId As UUID"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="OutboundUseUUIDAsCallId"
				Label="Outbound Use UUID As Caller Id"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="RtpAutofixTiming"
				Label="RTP Auto-Fix Timing"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="true" />
		<StringCol Name="AutoRtpBugs"
				Label="Auto RTP Bugs"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="16"
				ShowLines="1"
				InitValue="clear" />
		<BoolCol Name="DisableSrv"
				Label="Disable SRV"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="true" />
		<BoolCol Name="DisableNAPtr"
				Label="Disable NA Pointer"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="true" />
		<Int32Col Name="TimerT1"
				Label="Timer T1"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="800" />
		<Int32Col Name="TimerT1X64"
				Label="Timer T1X64"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="32000" />
		<Int32Col Name="TimerT2"
				Label="Timer T2"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="4000" />
		<Int32Col Name="TimerT4"
				Label="Timer T4"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="4000" />
		<PrimaryIndex Name="FSSFProfileIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="FSSFPFile_pidx"
				Suffix="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFProfileId" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="FSSFProfileTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFPFile_xtenant"
				Suffix="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFProfileSofiaIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFPFile_xsofia"
				Suffix="SofiaIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSofiaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFProfileNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFPFile_xuname"
				Suffix="UNameIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSofiaId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
	</Table>

	<Table Name="FSSFProfileAlias"
			TableClassCode="FSAL"
			DbName="FSSFPFAlias"
			Label="FS Sofia Profile Alias"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="FSSFProfileAliasId"
				Label="FS Sofia Profile Alias Id"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="FSSFPFAliasId"
				DataType="FSSFPFileAliasIdGen" />
		<TableCol Name="FSSFProfileId"
				Label="FS Sofia Profile Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSFProfileIdGen" />
		<StringCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="" />
		<PrimaryIndex Name="FSSFProfileAliasIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="FSSFPFAlias_pidx"
				Suffix="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFProfileAliasId" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="FSSFProfileAliasTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFPFAlias_xtenant"
				Suffix="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFProfileAliasProfileIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFPFAlias_xpfile"
				Suffix="ProfileIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFProfileId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFProfileAliasNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFPFAls_xuname"
				Suffix="UNameIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFProfileId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
	</Table>

	<Table Name="FSSFProfileDomain"
			TableClassCode="FSPD"
			DbName="FSSFPFDomain"
			Label="FS Sofia Profile Domain"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="FSSFProfileDomainId"
				Label="FS Sofia Profile Domain Id"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="FSSFPFDomId"
				DataType="FSSFPFileDomIdGen" />
		<TableCol Name="FSSFProfileId"
				Label="FS Sofia Profile Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSFProfileIdGen" />
		<StringCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="" />
		<BoolCol Name="DomainAlias"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="Parse"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="true" />
		<PrimaryIndex Name="FSSFProfileDomainIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="FSSFPFDom_pidx"
				Suffix="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFProfileDomainId" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="FSSFProfileDomainTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFPFDom_xptenant"
				Suffix="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFProfileDomainProfileIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFPFDom_xpfile"
				Suffix="ProfileIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFProfileId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFProfileDomainNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFPFDom_xuname"
				Suffix="UNameIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFProfileId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
	</Table>

	<Table Name="FSSFVMail"
			TableClassCode="FSVM"
			DbName="FSSFVM"
			Label="FS Sofia Voicemail"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="FSSFVMailId"
				Label="FS Sofia Voicemail Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSFVMailIdGen" />
		<TableCol Name="FSSofiaId"
				Label="FS Sofia Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="FSSofiaIdGen" />
		<StringCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="TemplateFile"
				Label="Template File"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="voicemail.tpl" />
		<StringCol Name="NotifyTemplateFile"
				Label="Notify Template File"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="notify-voicemail.tpl" />
		<StringCol Name="DateFmt"
				Label="Date Format"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="%A, %B %d %Y %I %M %p" />
		<StringCol Name="EmailFrom"
				Label="EMail From"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="%{voicemail_account}@${voicemail_domain}" />
		<StringCol Name="FileExtension"
				Label="File Extension"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="16"
				ShowLines="1"
				InitValue="wav" />
		<StringCol Name="TerminatorKey"
				Label="Terminator Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="#" />
		<Int16Col Name="MaxLoginAttempts"
				Label="Maximum Login Attempts"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				MaxValue="100"
				InitValue="3" />
		<Int32Col Name="DigitTimeout"
				Label="Digit Timeout"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="10000" />
		<Int32Col Name="MinRecordLen"
				Label="Minimum Record Length"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="3" />
		<Int32Col Name="MaxRecordLen"
				Label="Maximum Record Length"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="300" />
		<Int16Col Name="MaxRetries"
				Label="Maximum Retries"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				MaxValue="99"
				InitValue="3" />
		<StringCol Name="ToneSpec"
				Label="Tone Specification"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="%(1000, 0, 640)" />
		<StringCol Name="CallbackDialplan"
				Label="Callback Dialplan"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="16"
				ShowLines="1"
				InitValue="XML" />
		<StringCol Name="CallbackContext"
				Label="Callback Context"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1" />
		<StringCol Name="PlayNewMessagesKey"
				Label="Play New Messages Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="1" />
		<StringCol Name="PlaySavedMessagesKey"
				Label="Play Saved Messages Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="2" />
		<StringCol Name="LoginKeys"
				Label="Login Keys"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="0" />
		<StringCol Name="MainMenuKey"
				Label="Main Menu Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="0" />
		<StringCol Name="ConfigMenuKey"
				Label="Config Menu Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="5" />
		<StringCol Name="RecordGreetingKey"
				Label="Record Greeting Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="1" />
		<StringCol Name="ChooseGreetingKey"
				Label="Choose Greeting Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="2" />
		<StringCol Name="ChangePassKey"
				Label="Change Pass Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="6" />
		<StringCol Name="RecordNameKey"
				Label="Record Name Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="3" />
		<StringCol Name="RecordFileKey"
				Label="Record File Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="3" />
		<StringCol Name="ListenFileKey"
				Label="Listen File Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="1" />
		<StringCol Name="SaveFileKey"
				Label="Save File Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="2" />
		<StringCol Name="DeleteFileKey"
				Label="Delete File Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="7" />
		<StringCol Name="UndeleteFileKey"
				Label="Undelete File Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="8" />
		<StringCol Name="EMailKey"
				Label="EMail Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="4" />
		<StringCol Name="PauseKey"
				Label="Pause Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="0" />
		<StringCol Name="RestartKey"
				Label="Restart Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="1" />
		<StringCol Name="FastForwardKey"
				Label="Fast Forward Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="6" />
		<StringCol Name="RewindKey"
				Label="Rewind Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="4" />
		<StringCol Name="SkipGreetKey"
				Label="Skip Greeting Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="#" />
		<Int32Col Name="RecordSilenceThreshold"
				Label="Record Silence Threshold"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="200" />
		<Int16Col Name="RecordSilenceHits"
				Label="Record Silence Hits"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="2" />
		<StringCol Name="WebTemplateFile"
				Label="Web Template File"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="web-vm.tpl" />
		<Int32Col Name="RecordSampleRate"
				Label="Record Sample Rate"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="16000" />
		<StringCol Name="OperatorExtension"
				Label="Operator Extension"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="operator XML default" />
		<StringCol Name="VMainExtension"
				Label="Voicemail Main Extension"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="4"
				ShowLines="1"
				InitValue="900" />
		<StringCol Name="VMailKey"
				Label="Voicemail Key"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="*" />
		<BoolCol Name="AutoPlaybackRecordings"
				Label="Auto-Playback Recordings"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<StringCol Name="StorageDir"
				Label="Storage Directory"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1"
				InitValue="/var/voicemail" />
		<StringCol Name="OdbcDSN"
				Label="ODBC DSN"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1" />
		<StringCol Name="RecordComent"
				Label="Record Comment"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1" />
		<StringCol Name="RecordTitle"
				Label="Record Title"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1" />
		<StringCol Name="RecordCopyright"
				Label="Record Copyright"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="511"
				ShowLines="1" />
		<PrimaryIndex Name="FSSFVMailIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="FSSFVMail_pidx"
				Suffix="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSFVMailId" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="FSSFVMailTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFVMail_xtenant"
				Suffix="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFVMailSofiaIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFVMail_xsofia"
				Suffix="SofiaIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSofiaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="FSSFVMailNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSFVMail_xuname"
				Suffix="UNameIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSofiaId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
	</Table>

	<Table Name="FSSofia"
			TableClassCode="FSSF"
			DbName="FSSofia"
			Label="FreeSwitch Sofia"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="FSSofiaId"
				Label="FS Sofia Id"
				IsNullable="false"
				DefaultVisibility="true"
				GenerateId="true"
				DataType="FSSofiaIdGen" />
		<StringCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="255"
				ShowLines="1"
				InitValue="" />
		<Int16Col Name="LogLevel"
				Label="Log Level"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				MaxValue="10"
				InitValue="0" />
		<BoolCol Name="AutoRestart"
				Label="Auto Restart"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<Int32Col Name="DebugPresence"
				Label="Debug Presence"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				InitValue="0" />
		<PrimaryIndex Name="FSSofiaIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="FSSofia_pidx"
				Suffix="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FSSofiaId" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="FSSofiaTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="FSSofia_tentidx"
				Suffix="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
	</Table>

	<Table Name="PbxIvrMenu"
			TableClassCode="PIM"
			DbName="PbxIvrMnu"
			ShortName="IvrMenu"
			Label="PBX IVR Menu"
			Description="PbxIvrMenu is a configuration detail of Tenant"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="MenuId"
				Label="Menu Id"
				IsNullable="false"
				DefaultVisibility="true"
				GenerateId="true"
				DataType="PbxIvrMenuIdGen" />
		<StringCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="GreetLong"
				Label="Long Greeting"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="2048"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="GreetShort"
				Label="Short Greeting"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="2048"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="InvalidSound"
				Label="Invalid Sound"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="2048"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="ExitSound"
				Label="Exit Sound"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="2048"
				ShowLines="1"
				InitValue="" />
		<Int32Col Name="Timeout"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="30000" />
		<Int32Col Name="InterDigitTimeout"
				Label="Inter-Digit Timeout"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="5000" />
		<Int32Col Name="MaxFailures"
				Label="Maximum Failures"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="3" />
		<Int32Col Name="MaxTimeouts"
				Label="Maximum Timeouts"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="3" />
		<Int32Col Name="DigitLen"
				Label="Digit Length"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="1" />
		<PrimaryIndex Name="PbxIvrMenuIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="PbxIvrM_pidx"
				Suffix="MenuIdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="MenuId" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="PbxIvrMenuTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="PbxIvrM_xtenant"
				Suffix="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="PbxIvrMenuUNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="PbxIvrM_xuname"
				Suffix="UNameIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
	</Table>

	<Table Name="PbxIvrMenuEntry"
			TableClassCode="PIE"
			DbName="PbxIvrNtr"
			ShortName="IvrEntry"
			Label="PBX IVR Menu Entry"
			Description="PbxIvrMenuEntries are details of PbxIvrMenu"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="MenuEntryId"
				Label="Menu Entry Id"
				IsNullable="false"
				DefaultVisibility="true"
				GenerateId="true"
				DataType="PbxIvrMenuEntryIdGen" />
		<TableCol Name="MenuId"
				Label="Menu Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="PbxIvrMenuIdGen" />
		<StringCol Name="Digits"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="EntryType"
				Label="Entry Type"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="Param"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="2048"
				ShowLines="1"
				InitValue="" />
		<PrimaryIndex Name="PbxIvrMenuEntryIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="PbxIvrE_pidx"
				Suffix="EntryIdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="MenuEntryId" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="PbxIvrMenuEntryTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="PbxIvrE_xtent"
				Suffix="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="PbxIvrMenuEntryMenuIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="PbxIvrE_xmnu"
				Suffix="MenuIdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="MenuId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="OperatorStateUDigitsIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="PbxIvrE_udig"
				Suffix="UDigitsIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="MenuId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Digits" IsAscending="true" DefaultVisibility="true" />
		</Index>
	</Table>

	<TableAddendum FromTable="FSSFConference">
		<Relation Name="FSSFConferenceTenant"
				RelationType="Owner"
				DbName="fssfconf_tenant"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="FSSFConferenceTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSFConferenceSofia"
				RelationType="Container"
				DbName="fssfconf_sofia"
				Label="Sofia"
				Suffix="Sofia"
				FromIndex="FSSFConferenceSofiaIdx"
				ToIndex="FSSofia.FSSofiaIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSofiaId" ToCol="FSSofiaId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSFConferenceProfiles"
				RelationType="Components"
				DbName="fssfconf_pfl"
				Label="Profile"
				Suffix="Profile"
				FromIndex="FSSFConferenceIdIdx"
				ToIndex="FSSFConferenceProfile.FSSFConfProfileConferenceIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSFConferenceId" ToCol="FSSFConferenceId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="FSSFConferenceProfile">
		<Relation Name="FSSFConferenceProfileTenant"
				RelationType="Owner"
				DbName="fssfconfpfl_tenant"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="FSSFConfProfileTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSFConferenceProfileConference"
				RelationType="Container"
				DbName="fssfconfpfl_conf"
				Label="Conference"
				Suffix="Conference"
				FromIndex="FSSFConfProfileConferenceIdx"
				ToIndex="FSSFConference.FSSFConferenceIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSFConferenceId" ToCol="FSSFConferenceId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="FSSFDialer">
		<Relation Name="FSSFDialerTenant"
				RelationType="Owner"
				DbName="fssfdial_tenant"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="FSSFDialerTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSFDialerSofia"
				RelationType="Container"
				DbName="fssfdial_sofia"
				Label="Sofia"
				Suffix="Sofia"
				FromIndex="FSSFDialerSofiaIdx"
				ToIndex="FSSofia.FSSofiaIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSofiaId" ToCol="FSSofiaId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="FSSFDialplan">
		<Relation Name="FSSFDialplanTenant"
				RelationType="Owner"
				DbName="fssfdplan_tenant"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="FSSFDialplanTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSFDialplanSofia"
				RelationType="Container"
				DbName="fssfdplan_sofia"
				Label="Sofia"
				Suffix="Sofia"
				FromIndex="FSSFDialplanSofiaIdx"
				ToIndex="FSSofia.FSSofiaIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSofiaId" ToCol="FSSofiaId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="FSSFDirectory">
		<Relation Name="FSSFDirectoryTenant"
				RelationType="Owner"
				DbName="fssfdir_tenant"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="FSSFDirectoryTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSFDirectorySofia"
				RelationType="Container"
				DbName="fssfdir_sofia"
				Label="Sofia"
				Suffix="Sofia"
				FromIndex="FSSFDirectorySofiaIdx"
				ToIndex="FSSofia.FSSofiaIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSofiaId" ToCol="FSSofiaId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSFDirectoryExtensions"
				RelationType="Components"
				DbName="fssfdir_exten"
				Label="Extension"
				Suffix="Extension"
				FromIndex="FSSFDirectoryIdIdx"
				ToIndex="FSSFExtension.FSSFExtensionDirectoryIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSFDirectoryId" ToCol="FSSFDirectoryId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="FSSFExtension">
		<Relation Name="FSSFExtensionTenant"
				RelationType="Owner"
				DbName="fssfexten_tenant"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="FSSFExtensionTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSFExtensionDirectory"
				RelationType="Container"
				DbName="fssfexten_dir"
				Label="Directory"
				Suffix="Directory"
				FromIndex="FSSFExtensionDirectoryIdx"
				ToIndex="FSSFDirectory.FSSFDirectoryIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSFDirectoryId" ToCol="FSSFDirectoryId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="FSSFGateway">
		<Relation Name="FSSFGatewayTenant"
				RelationType="Owner"
				DbName="fssfgway_tenant"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="FSSFGatewayTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSFGatewaySofia"
				RelationType="Container"
				DbName="fssfgway_sofia"
				Label="Sofia"
				Suffix="Sofia"
				FromIndex="FSSFGatewaySofiaIdx"
				ToIndex="FSSofia.FSSofiaIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSofiaId" ToCol="FSSofiaId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="FSSFProfile">
		<Relation Name="FSSFProfileTenant"
				RelationType="Owner"
				DbName="fssfpfl_tenant"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="FSSFProfileTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSFProfileSofia"
				RelationType="Container"
				DbName="fssfpfl_sofia"
				Label="Sofia"
				Suffix="Sofia"
				FromIndex="FSSFProfileSofiaIdx"
				ToIndex="FSSofia.FSSofiaIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSofiaId" ToCol="FSSofiaId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSFProfileDomains"
				RelationType="Components"
				DbName="fssfpfl_doms"
				Label="Domain"
				Suffix="Domain"
				FromIndex="FSSFProfileIdIdx"
				ToIndex="FSSFProfileDomain.FSSFProfileDomainProfileIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSFProfileId" ToCol="FSSFProfileId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSFProfileAliases"
				RelationType="Components"
				DbName="fssfpfl_alias"
				Label="Alias"
				Suffix="Alias"
				FromIndex="FSSFProfileIdIdx"
				ToIndex="FSSFProfileAlias.FSSFProfileAliasProfileIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSFProfileId" ToCol="FSSFProfileId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="FSSFProfileAlias">
		<Relation Name="FSSFProfileAliasTenant"
				RelationType="Owner"
				DbName="fssfpflals_tenant"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="FSSFProfileAliasTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSFProfileAliasProfile"
				RelationType="Container"
				DbName="fssfpflals_pfile"
				Label="Profile"
				Suffix="Profile"
				FromIndex="FSSFProfileAliasProfileIdx"
				ToIndex="FSSFProfile.FSSFProfileIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSFProfileId" ToCol="FSSFProfileId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="FSSFProfileDomain">
		<Relation Name="FSSFProfileDomainTenant"
				RelationType="Owner"
				DbName="fssfpfldom_tenant"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="FSSFProfileDomainTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSFProfileDomainProfile"
				RelationType="Container"
				DbName="fssfpfldom_pfile"
				Label="Profile"
				Suffix="Profile"
				FromIndex="FSSFProfileDomainProfileIdx"
				ToIndex="FSSFProfile.FSSFProfileIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSFProfileId" ToCol="FSSFProfileId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="FSSFVMail">
		<Relation Name="FSSFVMailTenant"
				RelationType="Owner"
				DbName="fssfvmail_tenant"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="FSSFVMailTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSFVMailSofia"
				RelationType="Container"
				DbName="fssfvmail_sofia"
				Label="Sofia"
				Suffix="Sofia"
				FromIndex="FSSFVMailSofiaIdx"
				ToIndex="FSSofia.FSSofiaIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSofiaId" ToCol="FSSofiaId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="FSSofia">
		<Relation Name="Tenant"
				RelationType="Container"
				DbName="fssofia_tenant"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="FSSofiaTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSofiaConference"
				RelationType="Components"
				DbName="fssofia_conf"
				Label="Conference"
				Suffix="Conference"
				FromIndex="FSSofiaIdIdx"
				ToIndex="FSSFConference.FSSFConferenceSofiaIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSofiaId" ToCol="FSSofiaId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSofiaDialer"
				RelationType="Components"
				DbName="fssofia_dialer"
				Label="Dialer"
				Suffix="Dialer"
				FromIndex="FSSofiaIdIdx"
				ToIndex="FSSFDialer.FSSFDialerSofiaIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSofiaId" ToCol="FSSofiaId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSofiaDialplan"
				RelationType="Components"
				DbName="fssofia_dplan"
				Label="Dialplan"
				Suffix="Dialplan"
				FromIndex="FSSofiaIdIdx"
				ToIndex="FSSFDialplan.FSSFDialplanSofiaIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSofiaId" ToCol="FSSofiaId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSofiaDirectory"
				RelationType="Components"
				DbName="fssofia_dir"
				Label="Directory"
				Suffix="Directory"
				FromIndex="FSSofiaIdIdx"
				ToIndex="FSSFDirectory.FSSFDirectorySofiaIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSofiaId" ToCol="FSSofiaId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSofiaGateway"
				RelationType="Components"
				DbName="fssofia_gw"
				Label="Gateway"
				Suffix="Gateway"
				FromIndex="FSSofiaIdIdx"
				ToIndex="FSSFGateway.FSSFGatewaySofiaIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSofiaId" ToCol="FSSofiaId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSofiaProfile"
				RelationType="Components"
				DbName="fssofia_pfile"
				Label="Profile"
				Suffix="Profile"
				FromIndex="FSSofiaIdIdx"
				ToIndex="FSSFProfile.FSSFProfileSofiaIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSofiaId" ToCol="FSSofiaId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FSSofiaVMail"
				RelationType="Components"
				DbName="fssofia_vmail"
				Label="Voicemail"
				Suffix="VMail"
				FromIndex="FSSofiaIdIdx"
				ToIndex="FSSFVMail.FSSFVMailSofiaIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FSSofiaId" ToCol="FSSofiaId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="PbxIvrMenu">
		<Relation Name="PbxIvrMenuTenant"
				RelationType="Container"
				DbName="pbxivrmen_tennat"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="PbxIvrMenuTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Entry"
				RelationType="Components"
				DbName="pbxivrmen_entry"
				Label="Entry"
				Suffix="Entry"
				FromIndex="PbxIvrMenuIdIdx"
				ToIndex="PbxIvrMenuEntry.PbxIvrMenuEntryMenuIdIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="MenuId" ToCol="MenuId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="PbxIvrMenuEntry">
		<Relation Name="Tenant"
				RelationType="Owner"
				DbName="pbxivrmnuent_tenant"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="PbxIvrMenuEntryTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Menu"
				RelationType="Container"
				DbName="pbxivrmnuent_menu"
				Label="Menu"
				Suffix="Menu"
				FromIndex="PbxIvrMenuEntryMenuIdIdx"
				ToIndex="PbxIvrMenu.PbxIvrMenuIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="MenuId" ToCol="MenuId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Tenant">
		<Relation Name="TenantFSSofia"
				RelationType="Components"
				DbName="tenant_fssofia"
				Label="FreeSwitch Sofia configuration"
				Suffix="FSSofia"
				FromIndex="TenantIdIdx"
				ToIndex="FSSofia.FSSofiaTenantIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="Id" ToCol="TenantId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="TenantFSSFDialer"
				RelationType="Components"
				DbName="tenant_fssfdial"
				Label="FreeSwitch Sofia Dialer configuration"
				Suffix="FSSFDialer"
				FromIndex="TenantIdIdx"
				ToIndex="FSSFDialer.FSSFDialerTenantIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="Id" ToCol="TenantId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="TenantFSSFDialplan"
				RelationType="Components"
				DbName="tenant_fssfdplan"
				Label="FreeSwitch Sofia Dial Plan configuration"
				Suffix="FSSFDialplan"
				FromIndex="TenantIdIdx"
				ToIndex="FSSFDialplan.FSSFDialplanTenantIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="Id" ToCol="TenantId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="TenantFSSFProfile"
				RelationType="Components"
				DbName="tenant_fssfpfile"
				Label="FreeSwitch Sofia Profile configuration"
				Suffix="FSSFProfile"
				FromIndex="TenantIdIdx"
				ToIndex="FSSFProfile.FSSFProfileTenantIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="Id" ToCol="TenantId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="TenantFSSFProfileDomain"
				RelationType="Components"
				DbName="tenant_fssfpfiledom"
				Label="FreeSwitch Sofia Profile Domain configuration"
				Suffix="FSSFProfileDom"
				FromIndex="TenantIdIdx"
				ToIndex="FSSFProfileDomain.FSSFProfileDomainTenantIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="Id" ToCol="TenantId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="TenantFSSFProfileAlias"
				RelationType="Components"
				DbName="tenan_fssfpflals"
				Label="FreeSwitch Sofia Profile Alias configuration"
				Suffix="FSSFProfileAls"
				FromIndex="TenantIdIdx"
				ToIndex="FSSFProfileAlias.FSSFProfileAliasTenantIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="Id" ToCol="TenantId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="TenantFSSFGateway"
				RelationType="Components"
				DbName="tenant_fssfgw"
				Label="FreeSwitch Sofia Gateway configuration"
				Suffix="FSSFGateway"
				FromIndex="TenantIdIdx"
				ToIndex="FSSFGateway.FSSFGatewayTenantIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="Id" ToCol="TenantId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="TenantFSSFConference"
				RelationType="Components"
				DbName="tenant_fssfconf"
				Label="FreeSwitch Sofia Conference configuration"
				Suffix="FSSFConference"
				FromIndex="TenantIdIdx"
				ToIndex="FSSFConference.FSSFConferenceTenantIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="Id" ToCol="TenantId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="TenantFSSFConferenceProfile"
				RelationType="Components"
				DbName="tenant_fssfconfpfile"
				Label="FreeSwitch Sofia Conference Profile configuration"
				Suffix="FSSFConferencePF"
				FromIndex="TenantIdIdx"
				ToIndex="FSSFConferenceProfile.FSSFConfProfileTenantIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="Id" ToCol="TenantId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="TenantFSSFDirectory"
				RelationType="Components"
				DbName="tenant_fssfdir"
				Label="FreeSwitch Sofia Directory configuration"
				Suffix="FSSFDirectory"
				FromIndex="TenantIdIdx"
				ToIndex="FSSFDirectory.FSSFDirectoryTenantIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="Id" ToCol="TenantId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="TenantFSSFExtension"
				RelationType="Components"
				DbName="tenant_fssfexten"
				Label="FreeSwitch Sofia Extension configuration"
				Suffix="FSSFExtension"
				FromIndex="TenantIdIdx"
				ToIndex="FSSFExtension.FSSFExtensionTenantIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="Id" ToCol="TenantId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="TenantFSSFVMail"
				RelationType="Components"
				DbName="tenant_fssfvmail"
				Label="FreeSwitch Sofia Voice Mail configuration"
				Suffix="FSSFVMail"
				FromIndex="TenantIdIdx"
				ToIndex="FSSFVMail.FSSFVMailTenantIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="Id" ToCol="TenantId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="TenantPbxIvrMenu"
				RelationType="Components"
				DbName="tenant_pbxivrmnu"
				Label="PBX IVR Menu"
				Suffix="PbxIvrMenu"
				FromIndex="TenantIdIdx"
				ToIndex="PbxIvrMenu.PbxIvrMenuTenantIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="Id" ToCol="TenantId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="TenantPbxIvrMenuEntry"
				RelationType="Components"
				DbName="tenant_pbxivrmnuent"
				Label="PBX IVR Menu Entry"
				Suffix="PbxIvrMenuEntry"
				FromIndex="TenantIdIdx"
				ToIndex="PbxIvrMenuEntry.PbxIvrMenuEntryTenantIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="Id" ToCol="TenantId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="FSSFConference">
		<DelDep Name="DelConferenceProfiles" DelDepChain="FSSFConferenceProfiles" />
	</TableAddendum>

	<TableAddendum FromTable="FSSFConferenceProfile">
	</TableAddendum>

	<TableAddendum FromTable="FSSFDirectory">
		<DelDep Name="DelExtensions" DelDepChain="FSSFDirectoryExtensions" />
	</TableAddendum>

	<TableAddendum FromTable="FSSFProfile">
		<DelDep Name="DelDomains" DelDepChain="FSSFProfileDomains" />
		<DelDep Name="DelAliases" DelDepChain="FSSFProfileAliases" />
	</TableAddendum>

	<TableAddendum FromTable="FSSofia">
		<DelDep Name="DelConferences" DelDepChain="FSSofiaConference" />
		<DelDep Name="DelDialers" DelDepChain="FSSofiaDialer" />
		<DelDep Name="DelDialplans" DelDepChain="FSSofiaDialplan" />
		<DelDep Name="DelDirectories" DelDepChain="FSSofiaDirectory" />
		<DelDep Name="DelGateways" DelDepChain="FSSofiaGateway" />
		<DelDep Name="DelProfiles" DelDepChain="FSSofiaProfile" />
		<DelDep Name="DelVMails" DelDepChain="FSSofiaVMail" />
	</TableAddendum>

	<TableAddendum FromTable="PbxIvrMenu">
		<DelDep Name="DelEntries" DelDepChain="Entry" />
	</TableAddendum>

	<TableAddendum FromTable="Tenant">
		<DelDep Name="DelFSSofia" DelDepChain="TenantFSSofia" />
		<DelDep Name="DelFSSFDialer" DelDepChain="TenantFSSFDialer" />
		<DelDep Name="DelFSSFDialplan" DelDepChain="TenantFSSFDialplan" />
		<DelDep Name="DelFSSFProfile" DelDepChain="TenantFSSFProfile" />
		<DelDep Name="DelFSSFProfileDomain" DelDepChain="TenantFSSFProfileDomain" />
		<DelDep Name="DelFSSFProfileAlias" DelDepChain="TenantFSSFProfileAlias" />
		<DelDep Name="DelFSSFGateway" DelDepChain="TenantFSSFGateway" />
		<DelDep Name="DelFSSFConference" DelDepChain="TenantFSSFConference" />
		<DelDep Name="DelFSSFConferenceProfile" DelDepChain="TenantFSSFConferenceProfile" />
		<DelDep Name="DelFSSFDirectory" DelDepChain="TenantFSSFDirectory" />
		<DelDep Name="DelFSSFExtension" DelDepChain="TenantFSSFExtension" />
		<DelDep Name="DelFSSFVMail" DelDepChain="TenantFSSFVMail" />
		<DelDep Name="DelPbxIvrMenu" DelDepChain="TenantPbxIvrMenu" />
		<DelDep Name="DelPbxIvrMenuEntry" DelDepChain="TenantPbxIvrMenuEntry" />
	</TableAddendum>
</SchemaDef>
						</MinorVersion>
					</MajorVersion>
				</SubProject>
			</TopProject>
		</TopDomain>
	</Tld>
</MSSBam>
