Viewing 4 posts - 1 through 4 (of 4 total)
  • Migrated from old forum
    Participant
    Post count: 327
    #5979 |

    I have created a simple script, which uses the dial block to call an extension and then waits for 30 seconds then hangsup. Then, I have more dial blocks which call and again hang up after 30 seconds. All the dial blocks have continue processing checked so the initial call stays active.

    In the FreePbx monitor I want each dial block to have it’s own seperate monitor recording. What happens now is that the full recording for all the dial blocks is shown for each dial block call leg. Is there a setting I can use to change this so each dial out has it’s own recording? I’ve tried using the monitor block but the results are the same.

    Migrated from old forum
    Participant
    Post count: 327
    #5980 |

    I’m not sure if I understood you correctly but one way to achieve this may be if you choose “Execute macro” in Dial block.
    This way it will execute the macro when the called party answers, each macro should contain Monitor block in order to record conversation between two parties.

    Layos

    Migrated from old forum
    Participant
    Post count: 327
    #5981 |

    I tried that, but it didn’t seem to make a difference.

    Let me try and articulate this a little better. Suppose you had one outbound number which when called ran through three dial blocks. The first one would continue to the second one, and the second one would continue to the third. In order to do this, you must check the “execute even when called party hangs up” or whatever the exact wording is.

    Now, normally you would want the first dial block’s CDR and call monitor recording to be entirely different than the second dial blocks as they are two different calls, even though you dialed that one original number. In my case, I am getting one monitor recording which has all three dial blocks conversations, however the three do have separate CDR’s records. But the monitor recording is the same on all three CDR’s and it consists of all three calls together.

    Migrated from old forum
    Participant
    Post count: 327
    #5982 |

    In that case you will need 3 different file names to use when saving the sound file in monitor block.
    I just made a simple dial plan with 3 dial blocks and 3 macros, each macro corresponds to one of 3 dial blocks.
    After running the dial plan asterisk created 3 different sound files (each for every monitor block) in /var/spool/asterisk/monitor folder.
    Also, I checked “mix” and leave “monitor when bridged” option unchecked in “Edit Monitor” window.

    Layos

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.