2007-10-12 03:28:59 +00:00
<configuration name= "voicemail.conf" description= "Voicemail" >
<settings >
</settings>
<profiles >
2007-11-27 00:22:05 +00:00
<profile name= "default" >
2007-10-12 13:31:12 +00:00
<param name= "file-extension" value= "wav" />
2007-10-12 03:28:59 +00:00
<param name= "terminator-key" value= "#" />
<param name= "max-login-attempts" value= "3" />
<param name= "digit-timeout" value= "10000" />
<param name= "max-record-len" value= "300" />
<param name= "tone-spec" value= "%(1000, 0, 640)" />
2007-10-20 00:26:06 +00:00
<param name= "callback-dialplan" value= "XML" />
<param name= "callback-context" value= "default" />
2007-10-12 03:28:59 +00:00
<param name= "terminator-key" value= "#" />
<param name= "play-new-messages-key" value= "1" />
<param name= "play-saved-messages-key" value= "2" />
<param name= "main-menu-key" value= "0" />
<param name= "config-menu-key" value= "5" />
<param name= "record-greeting-key" value= "1" />
<param name= "choose-greeting-key" value= "2" />
<param name= "record-name-key" value= "3" />
<param name= "record-file-key" value= "3" />
<param name= "listen-file-key" value= "1" />
<param name= "save-file-key" value= "2" />
<param name= "delete-file-key" value= "7" />
<param name= "undelete-file-key" value= "8" />
2007-10-12 14:53:52 +00:00
<param name= "email-key" value= "4" />
2007-10-12 22:08:30 +00:00
<param name= "pause-key" value= "0" />
<param name= "restart-key" value= "1" />
<param name= "ff-key" value= "6" />
<param name= "rew-key" value= "4" />
2007-11-24 21:09:52 +00:00
<param name= "record-silence-threshold" value= "200" />
<param name= "record-silence-hits" value= "2" />
2007-11-26 23:41:00 +00:00
<!-- if you need to change the sample rate of the recorded files e.g. gmail voicemail player -->
<!-- <param name="record - sample - rate" value="11025"/> -->
2007-11-02 21:58:04 +00:00
<!-- the next two both must be set for this to be enabled
the extension is in the format of <dest > [<dialplan > ] [<context > ]
-->
<param name= "operator-extension" value= "operator XML default" />
<param name= "operator-key" value= "9" />
2007-10-23 14:45:22 +00:00
<email >
2007-11-26 23:41:00 +00:00
<body > < ![CDATA[At ${voicemail_time} you were left a ${voicemail_message_len} second message from ${voicemail_caller_id_name} ${voicemail_caller_id_number}
2007-10-23 14:45:22 +00:00
to your account ${voicemail_account}@${voicemail_domain}
]]></body>
<headers > <![CDATA[From: FreeSWITCH mod_voicemail <${voicemail_account}@${voicemail_domain}>
To: < ${voicemail_email}>
2007-11-26 23:41:00 +00:00
Subject: ${voicemail_message_len} sec Voicemail from ${voicemail_caller_id_name} ${voicemail_caller_id_number}
2007-10-23 14:45:22 +00:00
X-Priority: ${voicemail_priority}
X-Mailer: FreeSWITCH
]]></headers>
<!-- this is the format voicemail_time will have -->
<param name= "date-fmt" value= "%A, %B %d %Y, %I %M %p" />
<param name= "email-from" value= "${voicemail_account}@${voicemail_domain}" />
</email>
2007-10-20 00:09:41 +00:00
<!-- <param name="storage - dir" value="/tmp"/> -->
2007-10-12 03:28:59 +00:00
<!-- <param name="odbc - dsn" value="dsn:user:pass"/> -->
</profile>
</profiles>
</configuration>