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

-- 
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://gilawa.com

> -----Original Message-----
> From: [email protected] <[email protected]>
> Sent: Dienstag, 13. Juni 2023 08:57
> To: [email protected]
> Subject: [SR-Users] Carrierroute Test API?
> 
> 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
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe
> send an email to [email protected]
> Important: keep the mailing list in the recipients, do not reply only to the
> sender!
> Edit mailing list options or unsubscribe:
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to