[SR-Users] topos event_route question

Juha Heinanen jh at tutpro.com
Tue Mar 2 18:48:26 CET 2021


Daniel-Constantin Mierla writes:

> That's a route block executed with an internal sip request. There is
> another one with the request to be sent out, see the readme of the module.

I had read README and also had corresponding 

 event_route[topos:msg-sending] {
     xinfo("******** at topos:msg-sending with $rd\n");
     if ($rd == "example.com")
         drop;
}

but did not get any topos:msg-sending messages to syslog.

According to README the default is that both of them are executed:

  3.9. event_mode (int)

  Control what event_route blocks to be executed. It is a bitmask of: 1
  - execute event_route[topos:outgoing]; 2 - execute
  event_route[topos:sending]. 

  Default value is 3 (execute both event_route blocks).

-- Juha



More information about the sr-users mailing list