fyi, if you haven't discovered yourself yet (as it comes from ser repo), this might be useful if you deal with big configs:
utils/route_graph/route_graph.py
It prints the tree of routes in your config, useful to understand configs, detect loops or spot that some route was not called.
Next is the output for:
./utils/route_graph/route_graph.py etc/kamailio.cfg
Cheers, Daniel
Main
|
- REQINIT
|
- NAT
|
- WITHINDLG
| |
| - RELAY
| | |
| | - RTPPROXY
| |
| - PRESENCE
|
- AUTH
|
- SIPOUT
| |
| - RELAY
| | |
| | - RTPPROXY
|
- PRESENCE
|
- REGISTRAR
|
- PSTN
| |
| - RELAY
| | |
| | - RTPPROXY
|
- LOCATION
|
- RELAY
| |
| - RTPPROXY