Hi List
Does someone know a function to test a number against the carrierroute module, to see which route it picked? My Idea: We have multiple Kamailio-Proxies and I would like to test a number against all hosts to see where it will be routed, without performing testcalls.
Regards Stefan
Hello,
the main cr_route(..) function is just rewriting the request URI. You should be able to easily setup some test setup that just e.g. prints that for an incoming message. There is for example the kamailio docker based test framework, that can give you some starting points.
Of course, it would be also possible to add some new RPC commands for this purpose, but they are currently not implemented.
Cheers,
Henning