[Freeswitch-users] ODBC with mod_voicemail and storage-dir

KPS Maillinglist ksims.ml at gmail.com
Mon Nov 5 19:16:56 MSK 2012


yes i am. I am calling the dialplan as follows

to send a caller to voicemail
<condition field="destination_number" expression="^EXT-(\d{4})$">
   <action application="bridge" data="user/$1 at demo1.cleardialin.com"/>
   <action application="answer"/>
   <action application="sleep" data="1000"/>
   <action application="hash"
data="insert/${domain_name}-retrieve_vm/global/${uuid}"/>
   <action application="bridge"
data="loopback/app=voicemail:DEMO1_CDI_TEST1 demo1.cleardialin.com $1"/>
</condition>

this is to retrieve voicemail
<condition field="destination_number"
expression="^vmain$|^\*7777$|^\*98$|^voicemail$">
<action application="voicemail" data="check DEMO1_CDI_TEST1
demo1.cleardialin.com"/>
</condition>



On Mon, Nov 5, 2012 at 7:31 AM, Michael Jerris <mike at jerris.com> wrote:

> How are you calling voicemail?  Are you specifying to use the profile
> listed below?
>
> On Nov 3, 2012, at 9:42 PM, KPS Maillinglist <ksims.ml at gmail.com> wrote:
>
> I cant seem to get mod_voicemail to store vm information in the database.
> It also is not using the storage-dir param to place the vm files. Please
> help.
>
>
> <profile name="DEMO1_CDI_TEST1">
> <settings>
> <param name="callback-context" value="DEMO1_CDI_TEST1"/>
> <param name="callback-dialplan" value="XML"/>
> <param name="choose-greeting-key" value="2"/>
> <param name="config-menu-key" value="5"/>
> <param name="delete-file-key" value="7"/>
> <param name="digit-timeout" value="10000"/>
> <param name="email-key" value="4"/>
> <param name="ff-key" value="6"/>
> <param name="file-extension" value="mp3"/>
> <param name="listen-file-key" value="1"/>
> <param name="main-menu-key" value="*"/>
> <param name="max-login-attempts" value="3"/>
> <param name="max-record-length" value="300"/>
> <param name="odbc-dsn" value="fs_regsrv_vm:fs_cs:staysynced"/>
> <param name="operator-extension" value="operator XML DEMO1_CDI_TEST1"/>
> <param name="operator-key" value="9"/>
> <param name="pause-key" value="0"/>
> <param name="play-new-messages-key" value="1"/>
> <param name="play-saved-messages-key" value="2"/>
> <param name="record-file-key" value="3"/>
> <param name="record-greeting-key" value="1"/>
> <param name="record-name-key" value="3"/>
> <param name="record-silence-hits" value="2"/>
> <param name="record-silence-threshold" value="200"/>
> <param name="restart-key" value="1"/>
> <param name="rew-key" value="4"/>
> <param name="save-file-key" value="9"/>
> <param name="storage-dir" value="/fs/cust/vm/DEMO1_CDI_TEST1"/>
> <param name="terminator-key" value="#"/>
> <param name="tone-spec" value="%(1000, 0, 640)"/>
> <param name="undelete-file-key" value="8"/>
> <param name="web-template-file" value="web-vm.tpl"/>
> <email>
> <param name="date-fmt" value="%A, %B %d %Y, %I %M %p"/>
> <param name="email-from" value="${voicemail_account}@${voicemail_domain}"
> />
> <param name="notify-template-file" value="notify-voicemail.tpl"/>
> <param name="template-file" value="voicemail.tpl"/>
> </email>
> </settings>
> </profile>
> _________________________________________________________________________
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121105/e497225b/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list