[Freeswitch-users] voicemail options

Madovsky infos at madovsky.org
Mon Mar 15 13:59:37 PDT 2010


ok maybe this is the var from voicemail.conf.xml record-comment ?
      <param name="record-comment" value="message from a call at ${domain}"/>
didn't know it doesn't allow variables... so I removed it and the error disappeared.
so I have on console

2010-03-15 16:55:12.846384 [INFO] mod_shout.c:297 LAME 3.97 64bits (http://www.mp3dev.org/)
2010-03-15 16:55:12.846384 [INFO] mod_shout.c:297 Using polyphase lowpass filter, transition band:  7806 Hz -  8000 Hz

but no message sent by email yet..
I checked sendmail -t manually, it works.

here is my voicemail.conf.xml

<configuration name="voicemail.conf" description="Voicemail">
  <settings>
  </settings>
  <profiles>
    <profile name="default">
      <param name="file-extension" value="mp3"/>
      <param name="terminator-key" value="#"/>
      <param name="max-login-attempts" value="3"/>
      <param name="digit-timeout" value="10000"/>
      <param name="min-record-len" value="5"/>
      <param name="max-record-len" value="180"/>
      <param name="max-retries" value="3"/>
      <param name="tone-spec" value="%(1000, 0, 640)"/>
      <param name="callback-dialplan" value="XML"/>
      <param name="callback-context" value="default"/>
      <param name="play-new-messages-key" value="1"/>
      <param name="play-saved-messages-key" value="2"/>
      <param name="login-keys" value="0"/>
      <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="change-pass-key" value="6"/>
      <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"/>
      <param name="email-key" value="4"/>
      <param name="pause-key" value="0"/>
      <param name="restart-key" value="1"/>
      <param name="ff-key" value="6"/>
      <param name="rew-key" value="4"/>
      <param name="skip-greet-key" value="#"/>
      <!--<param name="previous-message-key" value=""/>-->
      <!--<param name="next-message-key" value=""/>-->
      <!--<param name="skip-info-key" value=""/>-->
      <param name="record-silence-threshold" value="200"/>
      <param name="record-silence-hits" value="2"/>
      <param name="web-template-file" value="web-vm.tpl"/>
      <!-- if you need to change the sample rate of the recorded files e.g. gmail voicemail player -->
      <!--<param name="record-sample-rate" value="11025"/>-->
      <!-- 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"/>
      <param name="vmain-extension" value="vmain XML default"/>
      <param name="vmain-key" value="*"/>
      <!-- playback created files as soon as they were recorded by default -->
      <!--<param name="auto-playback-recordings" value="true"/>-->
      <email>
        <param name="template-file" value="voicemail.tpl"/>
        <param name="notify-template-file" value="notify-voicemail.tpl"/>
        <!-- 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>
      <param name="storage-dir" value="/tmp"/>
      <param name="odbc-dsn" value="freeswitch-pgsql:freeswitch:bronto8fc"/>
      <param name="record-comment" value="message from a call"/>
      <param name="record-title" value="your Boophone voicemail"/>
      <param name="record-copyright" value="own Copyright"/>
    </profile>
  </profiles>
</configuration>


and the user config
....
    <params>
      ....
     <param name="vm-email-all-messages" value="true"/>
     <param name="vm-attach-file" value="true"/>
     <param name="vm-keep-local-after-email" value="false"/>
      <param name="vm-mailto" value="infos at baba.bibi"/>
...
    </params>


F



  ----- Original Message ----- 
  From: Milena 
  To: freeswitch-users at lists.freeswitch.org 
  Sent: Monday, March 15, 2010 4:10 PM
  Subject: Re: [Freeswitch-users] voicemail options


  Hello,


  What value are you setting for "RECORD_COMMENT"? what is your dial plan for the extension you're testing?






  2010/3/15 Madovsky <infos at madovsky.org>

    Sorry revision 16970
      ----- Original Message ----- 
      From: Milena 
      To: freeswitch-users at lists.freeswitch.org 
      Sent: Monday, March 15, 2010 3:32 PM
      Subject: Re: [Freeswitch-users] voicemail options


      Hello,


      I have voicemails set on my office and messages do get sent when you hang up even if you don't press 2, 


      did you try it? or are you guessing? (not trying to be rude, just trying to get info :) ) 


      what revision are you running?






      2010/3/15 Madovsky <infos at madovsky.org>

        Actually on the default voicemail example 
        after you left a message the operator says press 1 to listen blabla or 2 to save blabla..
        so if the caller hangs up before to press 2 the message is not sent. any way to remove
        these options and send the message after slience or caller hang up ?

        Thanks

        F
          ----- Original Message ----- 
          From: Michael Collins 
          To: freeswitch-users at lists.freeswitch.org 
          Sent: Monday, March 15, 2010 2:23 PM
          Subject: Re: [Freeswitch-users] voicemail options





          On Mon, Mar 15, 2010 at 8:28 AM, Madovsky <infos at madovsky.org> wrote:

            Hi all,

            is there any way to set the voicemail for leave a message without any option at the end ?
            like record or send the message by email once the caller hangs up or after N sec of silence.

          I'm not quite sure that I understand the question. If the caller hangs up while leaving a message then the message gets sent. 
          -MC





----------------------------------------------------------------------


          _______________________________________________
          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



        _______________________________________________
        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






--------------------------------------------------------------------------


      _______________________________________________
      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



    _______________________________________________
    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






------------------------------------------------------------------------------


  _______________________________________________
  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/20100315/261e926b/attachment-0002.html 


More information about the FreeSWITCH-users mailing list