Hello,
On 04.03.20 04:44, Joli Martinez wrote:
Hello,
We have several SIP domains coming into our SBC. I need to build a Kamailio box that will 302 the call to the appropriate server based on the domain. If the call does not come in with a recognized domain I would like for it to 404 the call. Not sure how to do this. Can someone point me in the right direction?
the complete solution and complexity can be a matter of scalability and security needs, but for redirect itself is about sending a sl_send_reply(...) after using append_to_reply(). If relevant data is stored in database, sqlops is the module that can help to fetch the matching records.
Cheers, Daniel