whosgonna created an issue (kamailio/kamailio#4738)

<!--
Kamailio Project uses GitHub Issues only for bugs in the code or feature 
requests. Please use this template only for bug reports.

If you have questions about using Kamailio or related to its configuration 
file, ask on sr-users mailing list:

  * 
https://lists.kamailio.org/mailman3/postorius/lists/sr-users.lists.kamailio.org/

If you have questions about developing extensions to Kamailio or its existing C 
code, ask on sr-dev mailing list:

  * 
https://lists.kamailio.org/mailman3/postorius/lists/sr-dev.lists.kamailio.org/

Please try to fill this template as much as possible for any issue. It helps 
the developers to troubleshoot the issue.

Note that an issue report may be closed automatically after about 2 months
if there is no interest from developers or community users on pursuing it, being
considered expired. In such case, it can be reopened by writing a comment that 
includes
the token `/notexpired`. About two weeks before considered expired, the issue is
marked with the label `stale`, trying to notify the submitter and everyone else
that might be interested in it. To remove the label `stale`, write a comment 
that
includes the token `/notstale`. Also, any comment postpone the `expire` 
timeline,
being considered that there is interest in pursuing the issue.

If there is no content to be filled in a section, the entire section can be 
removed.

You can delete the comments from the template sections when filling.

You can delete next line and everything above before submitting (it is a 
comment).
-->

### Description

Topos module parameter `event_mode`  indicates an incorrect default value.  The 
documentation for 6.1 says:

> _Default value is 3 (execute both event_route blocks)._

However in 5.5 a new event route was added 
(`event_route[topos:msg-receiving]`), which is controlled by flag bit value 8. 
It looks like *all* routes are enabled by default from the code:

```c
#define TPS_EVENTRT_OUTGOING 1
#define TPS_EVENTRT_SENDING 2
#define TPS_EVENTRT_INCOMING 4
#define TPS_EVENTRT_RECEIVING 8
. . .
static int _tps_eventrt_mode = TPS_EVENTRT_OUTGOING | TPS_EVENTRT_SENDING
                               | TPS_EVENTRT_INCOMING | TPS_EVENTRT_RECEIVING;
```



### Possible Solutions

Update documentation.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4738
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to