Add ${dsn} variable to the freeswitch/conf files.

This commit is contained in:
Mark Crane
2013-01-05 11:14:50 +00:00
parent 6d6edca0bf
commit f84926ebb5
7 changed files with 7 additions and 7 deletions
@@ -1,6 +1,6 @@
<configuration name="callcenter.conf" description="CallCenter"> <configuration name="callcenter.conf" description="CallCenter">
<settings> <settings>
<!--<param name="odbc-dsn" value="dsn:user:pass"/>--> <!--<param name="odbc-dsn" value="${dsn}"/>-->
<!--<param name="dbname" value="/usr/local/freeswitch/db/call_center.db"/>--> <!--<param name="dbname" value="/usr/local/freeswitch/db/call_center.db"/>-->
</settings> </settings>
@@ -12,7 +12,7 @@
<!-- expire is in seconds --> <!-- expire is in seconds -->
<param name="cache-expire" value="86400"/> <param name="cache-expire" value="86400"/>
<param name="odbc-dsn" value="fusionpbx:username:password"/> <param name="odbc-dsn" value="{v_dsn}"/>
<!-- comment out sql to not setup a database (directory) lookup --> <!-- comment out sql to not setup a database (directory) lookup -->
<param name="sql" value=" <param name="sql" value="
@@ -1,5 +1,5 @@
<configuration name="db.conf" description="LIMIT DB Configuration"> <configuration name="db.conf" description="LIMIT DB Configuration">
<settings> <settings>
<!--<param name="odbc-dsn" value="dsn:user:pass"/>--> <!--<param name="odbc-dsn" value="${dsn}"/>-->
</settings> </settings>
</configuration> </configuration>
@@ -1,6 +1,6 @@
<configuration name="directory.conf" description="Directory"> <configuration name="directory.conf" description="Directory">
<settings> <settings>
<!--<param name="odbc-dsn" value="dsn:user:pass"/>--> <!--<param name="odbc-dsn" value="${dsn}"/>-->
<!--<param name="dbname" value="directory"/>--> <!--<param name="dbname" value="directory"/>-->
</settings> </settings>
<profiles> <profiles>
@@ -143,7 +143,7 @@
<param name="rtp-enable-zrtp" value="true"/> <param name="rtp-enable-zrtp" value="true"/>
<!-- <param name="core-db-dsn" value="dsn:username:password" /> --> <!-- <param name="core-db-dsn" value="${dsn}" /> -->
<!-- <!--
Allow to specify the sqlite db at a different location (In this example, move it to ramdrive for Allow to specify the sqlite db at a different location (In this example, move it to ramdrive for
better performance on most linux distro (note, you loose the data if you reboot)) better performance on most linux distro (note, you loose the data if you reboot))
@@ -61,7 +61,7 @@
<param name="email-from" value="${voicemail_account}@${voicemail_domain}"/> <param name="email-from" value="${voicemail_account}@${voicemail_domain}"/>
</email> </email>
<!--<param name="storage-dir" value="/tmp"/>--> <!--<param name="storage-dir" value="/tmp"/>-->
<!--<param name="odbc-dsn" value="dsn:user:pass"/>--> <!--<param name="odbc-dsn" value="${dsn}"/>-->
<!--<param name="record-comment" value="Your Comment"/>--> <!--<param name="record-comment" value="Your Comment"/>-->
<!--<param name="record-title" value="Your Title"/>--> <!--<param name="record-title" value="Your Title"/>-->
<!--<param name="record-copyright" value="Your Copyright"/>--> <!--<param name="record-copyright" value="Your Copyright"/>-->
@@ -200,7 +200,7 @@
<!--<param name="rtp-rewrite-timestamps" value="true"/>--> <!--<param name="rtp-rewrite-timestamps" value="true"/>-->
<!--<param name="pass-rfc2833" value="true"/>--> <!--<param name="pass-rfc2833" value="true"/>-->
<!--If you have ODBC support and a working dsn you can use it instead of SQLite--> <!--If you have ODBC support and a working dsn you can use it instead of SQLite-->
<!--<param name="odbc-dsn" value="dsn:user:pass"/>--> <!--<param name="odbc-dsn" value="${dsn}"/>-->
<!--Uncomment to set all inbound calls to no media mode--> <!--Uncomment to set all inbound calls to no media mode-->
<!--<param name="inbound-bypass-media" value="true"/>--> <!--<param name="inbound-bypass-media" value="true"/>-->