<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    It gets deleted after the message is sent.&nbsp; By then, it's an
    attachment to the email and no longer required.<br>
    <br>
    John<br>
    <br>
    On 08/02/12 12:04, Balamurugan Mahendran wrote:
    <blockquote
cite="mid:CAP2fbbcg81zOj4oRcLEQmH+f5X0A8KozEzmZfdTQUzu9J8WEiA@mail.gmail.com"
      type="cite">Also looks like FS creates file in /tmp location, but
      I cannot find this file in this location.
      <div>
        <div><br>
        </div>
        <div>fs_cli:</div>
        <div><br>
        </div>
        <div>2012-02-08 12:01:26.506096 [DEBUG] switch_utils.c:767
          Emailed file [/tmp/mail.13287024861013] to [<a
            moz-do-not-send="true" href="mailto:b2m@a-cti.com">b2m@a-cti.com</a>]</div>
        <div><br>
        </div>
        <div>
          <div>syslog :</div>
          <div><br>
          </div>
          <div><span class="Apple-tab-span" style="white-space:pre"> </span>Feb
            &nbsp;8 12:01:26 ip-10-252-39-229 kernel: [7140816.707307]
            show_signal_msg: 3 callbacks suppressed</div>
          <div>Feb &nbsp;8 12:01:26 ip-10-252-39-229 kernel: [7140816.707313]
            sendmail[1335]: segfault at 7fff4a735100 ip 00007fb706a67a8a
            sp 00007fff4a7350d0 error 6 in sendmail[7fb7069d4000+cd000]</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>
            Thanks,</div>
          <div>Bala</div>
          <br>
          <div class="gmail_quote">On Wed, Feb 8, 2012 at 5:22 PM,
            Balamurugan Mahendran <span dir="ltr">&lt;<a
                moz-do-not-send="true" href="mailto:b2m@a-cti.com">b2m@a-cti.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div>I think found the log, not sure how to proceed.</div>
              <div><br>
              </div>
              Feb &nbsp;8 11:51:03 ip-10-252-39-229 kernel: [7140198.319410]
              sendmail[15835]: segfault at 7fff89aa2ed0 ip
              00007f75670e9a8a sp 00007fff89aa2ea0 error 6 in
              sendmail[7f7567056000+cd000]
              <div>
                <br>
              </div>
              <div>Thanks,</div>
              <div>Bala</div>
              <div>
                <div class="h5">
                  <div><br>
                    <br>
                    <div class="gmail_quote">On Tue, Feb 7, 2012 at
                      10:23 PM, Balamurugan Mahendran <span dir="ltr">&lt;<a
                          moz-do-not-send="true"
                          href="mailto:b2m@a-cti.com" target="_blank">b2m@a-cti.com</a>&gt;</span>
                      wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex">Is there anyway for more
                        logs? Thanks for your help!!
                        <div><br>
                        </div>
                        <div>--Bala
                          <div>
                            <div><br>
                              <br>
                              <div class="gmail_quote">On Tue, Feb 7,
                                2012 at 8:34 PM, Balamurugan Mahendran <span
                                  dir="ltr">&lt;<a
                                    moz-do-not-send="true"
                                    href="mailto:b2m@a-cti.com"
                                    target="_blank">b2m@a-cti.com</a>&gt;</span>
                                wrote:<br>
                                <blockquote class="gmail_quote"
                                  style="margin:0 0 0
                                  .8ex;border-left:1px #ccc
                                  solid;padding-left:1ex">
                                  <div><span
style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">I
                                      did, also I have no issue sending
                                      email outside FS.</span>
                                    <div
style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
                                    </div>
                                    <div
style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Thanks,</div>
                                    <div
style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Bala</div>
                                    <br>
                                  </div>
                                  <div>
                                    <div>
                                      <div class="gmail_quote">
                                        On Tue, Feb 7, 2012 at 8:31 PM,
                                        Balamurugan Mahendran <span
                                          dir="ltr">&lt;<a
                                            moz-do-not-send="true"
                                            href="mailto:balamurugan@adaptavant.com"
                                            target="_blank">balamurugan@adaptavant.com</a>&gt;</span>
                                        wrote:<br>
                                        <blockquote class="gmail_quote"
                                          style="margin:0 0 0
                                          .8ex;border-left:1px #ccc
                                          solid;padding-left:1ex">
                                          I did, also I have no issue
                                          sending email outside FS.
                                          <div><br>
                                          </div>
                                          <div>Thanks,</div>
                                          <div>Bala<br>
                                            <br>
                                            <div class="gmail_quote">
                                              <div>
                                                <div>On Tue, Feb 7, 2012
                                                  at 8:09 PM, John <span
                                                    dir="ltr">&lt;<a
                                                      moz-do-not-send="true"
href="mailto:freeswitch@earthspike.net" target="_blank">freeswitch@earthspike.net</a>&gt;</span>
                                                  wrote:<br>
                                                </div>
                                              </div>
                                              <blockquote
                                                class="gmail_quote"
                                                style="margin:0 0 0
                                                .8ex;border-left:1px
                                                #ccc
                                                solid;padding-left:1ex">
                                                <div>
                                                  <div>
                                                    <div
                                                      bgcolor="#FFFFFF"
                                                      text="#000000"> I
                                                      updated the wiki
                                                      mod_voicemail page
                                                      a few days ago
                                                      with some
                                                      instructions for
                                                      debugging email
                                                      from freeswitch.&nbsp;
                                                      Have you tried
                                                      those?
                                                      <div>
                                                        <div><br>
                                                          <br>
                                                          On 07/02/12
                                                          13:47,
                                                          Balamurugan
                                                          Mahendran
                                                          wrote:
                                                          <blockquote
                                                          type="cite">All,

                                                          <div><br>
                                                          </div>
                                                          <div>I am
                                                          having the
                                                          same issue,
                                                          its not
                                                          sending
                                                          email(extension
                                                          --&gt; lua
                                                          script)
                                                          getting <b>"Segmentation
                                                          fault"</b></div>
                                                          <div><br>
                                                          </div>
                                                          <div>xml :</div>
                                                          <div><br>
                                                          </div>
                                                          <div>
                                                          <div>&lt;include&gt;</div>
                                                          <div>&nbsp;
                                                          &lt;user
                                                          id="503"&gt;</div>
                                                          <div>&nbsp; &nbsp;
                                                          &lt;params&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp;
                                                          &lt;param
                                                          name="password"
value="1234"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp;
                                                          &lt;param
                                                          name="vm-password"
value="503"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp;
                                                          &lt;param
                                                          name="vm-mailto"
                                                          value="<a
                                                          moz-do-not-send="true"
href="mailto:b2m@a-cti.com" target="_blank">b2m@a-cti.com</a>"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp;
                                                          &lt;param
                                                          name="vm-enabled"
value="true"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp; &nbsp;
                                                          &lt;param
                                                          name="vm-skip-instructions"
value="true"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp; &nbsp;
                                                          &lt;param
                                                          name="vm-disk-quota"
value="3600"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp; &nbsp;
                                                          &lt;param
                                                          name="vm-email-all-messages"
value="true"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp; &nbsp;
                                                          &lt;param
                                                          name="max-login-attempts"
                                                          value="2"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp; &nbsp;
                                                          &lt;param
                                                          name="digit-timeout"
value="10000"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp; &nbsp;
                                                          &lt;param
                                                          name="max-record-len"
value="900"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp; &nbsp;
                                                          &lt;param
                                                          name="tone-spec"
                                                          value="%(1000,
                                                          0, 640)"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp; &nbsp;
                                                          &lt;param
                                                          name="record-silence-threshold"
value="2000"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp; &nbsp;
                                                          &lt;param
                                                          name="record-silence-hits"
                                                          value="3"/&gt;</div>
                                                          <div>&nbsp; &nbsp;
                                                          &lt;/params&gt;</div>
                                                          <div> &nbsp; &nbsp;
                                                          &lt;variables&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp;
                                                          &lt;variable
                                                          name="toll_allow"
value="domestic,international,local"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp;
                                                          &lt;variable
                                                          name="accountcode"
value="503"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp;
                                                          &lt;variable
                                                          name="user_context"
value="default"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp;
                                                          &lt;variable
                                                          name="effective_caller_id_name"
                                                          value="Extension
                                                          503"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp;
                                                          &lt;variable
                                                          name="effective_caller_id_number"
value="503"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp;
                                                          &lt;variable
                                                          name="outbound_caller_id_name"
value="$${outbound_caller_name}"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp;
                                                          &lt;variable
                                                          name="outbound_caller_id_number"
value="$${outbound_caller_id}"/&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp;
                                                          &lt;variable
                                                          name="callgroup"
value="techsupport"/&gt;</div>
                                                          <div>&nbsp; &nbsp;
                                                          &lt;/variables&gt;</div>
                                                          <div>&nbsp;
                                                          &lt;/user&gt;</div>
                                                          <div>&lt;/include&gt;</div>
                                                          <div><br>
                                                          </div>
                                                          <div>dialplan
                                                          :</div>
                                                          <div><br>
                                                          </div>
                                                          <div>
                                                          <div>&lt;include&gt;</div>
                                                          <div>&nbsp;
                                                          &lt;extension
                                                          name="503"&gt;</div>
                                                          <div>&nbsp; &nbsp;
                                                          &lt;condition
                                                          field="destination_number"

expression="^(503)$"&gt;</div>
                                                          <div>&nbsp; &nbsp; &nbsp;
                                                          &lt;action
                                                          application="lua"
                                                          data="vmbox.lua

${effective_caller_id_number}"/&gt;</div>
                                                          <div>&nbsp; &nbsp;
                                                          &lt;/condition&gt;</div>
                                                          <div>&nbsp;
                                                          &lt;/extension&gt;</div>
                                                          <div>&lt;/include&gt;</div>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div>Lua :</div>
                                                          <div><br>
                                                          </div>
                                                          <div>
                                                          <div>caller=503;</div>
                                                          <div>freeswitch.consoleLog("info","From
                                                          :"..caller);</div>
                                                          <div>session:set_tts_parms("flite",
                                                          "slt");</div>
                                                          <div>session:speak("Welcome
                                                          To Voice Mail
                                                          !. &nbsp;You Can
                                                          Leave Your
                                                          Message
                                                          Here.");</div>
                                                          <div>path="/usr/local/freeswitch/recordings/";</div>
                                                          <div>prompt=caller..".mp3";</div>
                                                          <div>recpath=path..prompt;</div>
                                                          <div>freeswitch.consoleLog("info","record
path="..recpath);</div>
                                                          <div>session:recordFile(recpath,30,10,10);</div>
                                                          <div>session:speak("Thank
                                                          you.");</div>
                                                          <div><br>
                                                          </div>
                                                          <div>freeswitch.consoleLog("info","testing");</div>
                                                          <div>freeswitch.email("<a
moz-do-not-send="true" href="mailto:b2m@a-cti.com" target="_blank">b2m@a-cti.com</a>",</div>
                                                          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                          &nbsp; &nbsp; &nbsp; &nbsp;"<a
                                                          moz-do-not-send="true"
href="mailto:saraswathi.devaraj@a-cti.com" target="_blank">saraswathi.devaraj@a-cti.com</a>",</div>
                                                          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                          &nbsp; &nbsp; &nbsp;
                                                          &nbsp;"subject:
                                                          Voicemail from
                                                          801\n",</div>
                                                          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                          &nbsp; &nbsp; &nbsp;
                                                          &nbsp;"Hello,\n\nYou've
                                                          got a
                                                          voicemail,
                                                          click the
                                                          attachment to
                                                          listen to
                                                          it.",</div>
                                                          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                          &nbsp; &nbsp; &nbsp;
                                                          &nbsp;"/usr/local/freeswitch/recordings/503.mp3",</div>
                                                          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                          &nbsp; &nbsp; &nbsp; &nbsp;"",</div>
                                                          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                          &nbsp; &nbsp; &nbsp; &nbsp;"");</div>
                                                          <div>freeswitch.consoleLog("info","hai");</div>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div>switchconf
                                                          :&nbsp;</div>
                                                          <div><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div>
                                                          <div>&lt;param
                                                          name="mailer-app"

value="/usr/sbin/sendmail"/&gt;</div>
                                                          <div>&nbsp; &nbsp;
                                                          &lt;param
                                                          name="mailer-app-args"
value="-t"/&gt;</div>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div>Thanks
                                                          for your
                                                          help!!</div>
                                                          <div><br>
                                                          </div>
                                                          <div>Thanks,</div>
                                                          <div>Bala</div>
                                                          <div><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <br>
                                                          <div
                                                          class="gmail_quote">On
                                                          Sat, Feb 4,
                                                          2012 at 12:31
                                                          AM, John <span
                                                          dir="ltr">&lt;<a
moz-do-not-send="true" href="mailto:freeswitch@earthspike.net"
                                                          target="_blank">freeswitch@earthspike.net</a>&gt;</span>
                                                          wrote:<br>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0
                                                          0 0
                                                          .8ex;border-left:1px
                                                          #ccc
                                                          solid;padding-left:1ex">On

                                                          03/02/12
                                                          18:00, Thomas
                                                          Hoellriegel
                                                          wrote:<br>
                                                          &gt;<br>
                                                          &gt; Its works
                                                          fine!!<br>
                                                          Good news!<br>
                                                          <div> </div>
                                                          </blockquote>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          <br>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </blockquote>
                                            </div>
                                          </div>
                                        </blockquote>
                                      </div>
                                    </div>
                                  </div>
                                </blockquote>
                              </div>
                            </div>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>