We have a Kamailio SIP server up and running with authentication. Now we want that a SIP User say abc@localhost.com can only communicate to a specific SIP User say xyz@locahost.com and not to all other SIP users that are stored in a database table. I tried to find the solution, but could find a way to do it. Any help will be appreciated.
So scenario is:
SIP User 1 ---------------> SIP User 2 only and if SIP User 1 ---------------> SIP User 3 Access should be denied