On Mon, Aug 13, 2018 at 05:48:49PM +0000, Wilkins, Steve wrote:
Is it possible for Kamailio to interface with a particular Asterisk Server based on the FQDN of a caller?
Yes.
I would like to pass calls received by Kamailio through to different Asterisk Servers based on the FQDN of the caller. I have used Load Balancing before, but I want to select which Asterisk Server the call is directed to.
All you have to do is figure out on what criteria you want to make the routing. If it is the from domain ($fd) what will you do with an anonymous call ($fd=="anonymous.invalid")?
All you have to do is change $rd (or assign $du if the R-URI must remain unchanged).