<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Template conversion complete!</title>
		<link>http://wikipbx.subwiki.com/forum/t-153279/template-conversion-complete</link>
		<description>Posts in the discussion thread &quot;Template conversion complete!&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Sat, 31 Jul 2010 15:21:58 +0000</lastBuildDate>
		
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-153279#post-469800</guid>
				<title>Re: Template conversion complete!</title>
				<link>http://wikipbx.subwiki.com/forum/t-153279/template-conversion-complete#post-469800</link>
				<description></description>
				<pubDate>Tue, 05 May 2009 18:33:29 +0000</pubDate>
				<wikidot:authorName>tleyden</wikidot:authorName>				<wikidot:authorUserId>230690</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>Moreover, looks like instead of XML tree we should be able to use dialplan template here to make it more customizable.</p> </blockquote> <p>Done - svn revision 76</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-153279#post-469066</guid>
				<title>Re: Template conversion complete!</title>
				<link>http://wikipbx.subwiki.com/forum/t-153279/template-conversion-complete#post-469066</link>
				<description></description>
				<pubDate>Tue, 05 May 2009 04:47:10 +0000</pubDate>
				<wikidot:authorName>tleyden</wikidot:authorName>				<wikidot:authorUserId>230690</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>Freeswitch docs tell that variables should be resolved normally in this case.</p> </blockquote> <p>Yeah, I just tested it against freeswitch revision 13223 and it worked. So it was fixed somewhere between freeswitch revision 10359 snd 13223.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-153279#post-468302</guid>
				<title>Re: Template conversion complete!</title>
				<link>http://wikipbx.subwiki.com/forum/t-153279/template-conversion-complete#post-468302</link>
				<description></description>
				<pubDate>Mon, 04 May 2009 17:15:06 +0000</pubDate>
				<wikidot:authorName>tleyden</wikidot:authorName>				<wikidot:authorUserId>230690</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'll clean up the dialplan builidng stuff and convert it to use templates as well.</p> <p>Thanks for the link to the freeswitch docs .. it sounds like that variable resolution might actually work. I will test it on a later version of freeswitch and see what happens.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-153279#post-467981</guid>
				<title>Re: Template conversion complete!</title>
				<link>http://wikipbx.subwiki.com/forum/t-153279/template-conversion-complete#post-467981</link>
				<description></description>
				<pubDate>Mon, 04 May 2009 10:02:11 +0000</pubDate>
				<wikidot:authorName>stas_shtin</wikidot:authorName>				<wikidot:authorUserId>230176</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Freeswitch docs tell that variables should be <a href="http://wiki.freeswitch.org/wiki/Mod_xml_curl#Preprocessor_directives_and_variables">resolved normally</a> in this case.</p> <p>Also, looks like dialplanbuilder.build_xml function has some incostintencies. First we create an XML tree starting with context tag, then check if current extension has condition tag and if it does we use string substitution with another string. So in the latter case there was no need to create XML tree here. Moreover, looks like instead of XML tree we should be able to use dialplan template here to make it more customizable. This would let the users to easily change all dialplans easily, e.g. could be used for setting some variables, silence detection, authorization checks.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-153279#post-467793</guid>
				<title>Template conversion complete!</title>
				<link>http://wikipbx.subwiki.com/forum/t-153279/template-conversion-complete#post-467793</link>
				<description></description>
				<pubDate>Mon, 04 May 2009 05:02:21 +0000</pubDate>
				<wikidot:authorName>tleyden</wikidot:authorName>				<wikidot:authorUserId>230690</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>In subversion versions 71-74, the code has been converted to use Django templates for nearly all configuration served up by wikipbx, "nearly call" because the dialplan xml does not use templates .. and I'm not sure if it really needs to. Sofia, xml cdr, event socket, and directory configuration are now all template based.</p> <p>Now it should be much easier to customize the configuration to your specific needs when that customization is not supported in the web interface / database.</p> <p>The templates are still outdated compared to the current config, and will be brought up to date soon. But it should be fairly easy since it is just a matter of merging in new parameters to the xml template. (all templates are located in the freeswitchxml subdirectory).</p> <p>WARNING: don't try to use default variables like $${foo} that are defined in vars.xml in the static freeswitch config. This will be passed verbatim to freeswitch, which will not resolve the variable. Not sure if this is a bug in freeswitch or by design. Only tested against an old version of freeswitch (10300) so your mileage may vary.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>