<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 14-09-15 08:41 PM, Carlos Chavez
      wrote:<br>
    </div>
    <blockquote
      cite="mid:8c408a63530644014ac1eea235fdd919@www.telecomab.mx"
      type="cite">On 2014-09-15 16:45, Gao wrote:
      <br>
      <blockquote type="cite">Hi,
        <br>
        <br>
        I am using this dialplan to record incoming calls:
        <br>
        <br>
        .....
        <br>
        exten => 3331122,n,Set(MONITOR_FILE=${RECDIR}/${UNIQUEID})
        <br>
        exten => 3331122,n,MixMonitor(${MONITOR_FILE}.wav,b)
        <br>
        exten => 3331122,n,GoSub(stdexten(${Ext1007}))
        <br>
        exten => 3331122,n,Voicemail(1007@default,)
        <br>
        exten => 3331122,n,Hangup()
        <br>
        <br>
        The problem is it records all incoming calls include those with
        the
        <br>
        disposition of "NO ANSWER, FAILED, BUSY, UNKNOWN.". For example
        the
        <br>
        "NO ANSWER" call will leave a 44byte wav file in my ${RECDIR}
        <br>
        <br>
        How can I record only the calls with the disposition of
        "ANSWERED"?
        <br>
        <br>
      </blockquote>
      <br>
      The b option should only record bridged channels, so only
      connected calls should be recorded:
      <br>
      <br>
          b: Only save audio to the file while the channel is bridged.
      <br>
          NOTE: Does not include conferences or sounds played to each
      bridged
      <br>
          party
      <br>
    </blockquote>
    I have this b options in MixMonitor<br>
    <blockquote
      cite="mid:8c408a63530644014ac1eea235fdd919@www.telecomab.mx"
      type="cite">    NOTE: If you utilize this option inside a Local
      channel, you must
      <br>
          make sure the Local channel is not optimized away. To do this,
      be sure
      <br>
          to call your Local channel with the '/n' option. For example:
      Dial(Lo
      <br>
          cal/start@mycontext/n)
      <br>
    </blockquote>
    What is the /n option? Is it the same of:<br>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <ul style="margin-top: 0px; margin-bottom: 0px; color: rgb(0, 0, 0);
      font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
      font-size: 12px; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height: normal;
      orphans: auto; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);">
      <li style="margin: 0.15em 0px; padding: 1px 0px 1px 1em;
        list-style-type: none; list-style-image: none; background:
        url(http://www.voip-info.org/voip_info_drupal/themes/garland/images/menu-leaf.gif)
        0px 0.35em no-repeat transparent;"><strong>"n(</strong>delete<strong>)</strong>:
        (Asterisk 1.6) If<span class="Apple-converted-space"> </span><strong>delete</strong><span
          class="Apple-converted-space"> </span>is<span
          class="Apple-converted-space"> </span><strong>0</strong><span
          class="Apple-converted-space"> </span>or not specified, delete
        the privacy manager introduction if the caller hangs up before
        the call is answered. If set to<span
          class="Apple-converted-space"> </span><strong>1</strong>,
        delete the recording even if the call is answered."</li>
      <li style="margin: 0.15em 0px; padding: 1px 0px 1px 1em;
        list-style-type: none; list-style-image: none; background:
        url(http://www.voip-info.org/voip_info_drupal/themes/garland/images/menu-leaf.gif)
        0px 0.35em no-repeat transparent;">(Copied from voip-info.org)<br>
      </li>
    </ul>
    <br>
    <br>
  </body>
</html>