Name

ChangeMonitor() — Changes the monitoring filename of a channel

Synopsis

    ChangeMonitor(filename_base)

Changes the name of the recorded file created by monitoring a channel with the Monitor() application. This application has no effect if the channel is not monitored. The argument filename_base is the new filename base to use for monitoring the channel.

    ; start recording this channel with a basename of 'sample'
    exten => 123,1,Monitor(sample)
    ; change the filename base to 'example'
    exten => 123,2,ChangeMonitor(example)

Get Asterisk: The Future of Telephony now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.