Search code examples
freeswitch

Is it possible to exclude (filter out) events from the Mod Event Socket telnet client output?


Mod Event Socket provides a useful telnet client. I can filter specific events and keep track of just these, but I can't find how to exclude events I don't want to monitor (typically HEARTBEAT and RE_SCHEDULE). Is it possible?


Solution

  • Yes, it's possible. Just use nixevent:

    nixevent HEARTBEAT
    
    nixevent RE_SCHEDULE
    

    Everytime you type one of the above lines followed by two line breaks, it should respond with this:

    Content-Type: command/reply
    Reply-Text: +OK events nixed