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: sr.maillists(a)gmail.com <sr.maillists(a)gmail.com>
Sent: Dienstag, 13. Juni 2023 08:57
To: sr-users(a)lists.kamailio.org
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 sr-users-leave(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the
sender!
Edit mailing list options or unsubscribe: