<div dir="ltr"><br><div>Hello</div><div><br></div><div>I am looking at the following configuration: </div><div><br></div><div>1/ voip providers, with different external sip servers, will send calls to kamailio, that will dispatch them to asterisk servers, with load balancing & failover. The IP of the asterisk servers are known and fixed.</div><div><br></div><div>2/ the asterisk servers will also place calls, going through kamailio, that will dispatch them to the voip provider sip servers, based on R-URI / Prefix.</div><div><br></div><div>I've achieved #1 with dispatcher module, I've seen carrierroute module that can achieve #2, but I dont really grasp how to put the two together.</div><div><br></div><div>I have the feeling that #1 can also be done with carrierroute, and that I only need to check if the 'from' domain is one my asterisk, and chose a different routing table, but I dont see how to do that</div><div><br></div><div>is that a valid approch ? where should I look to do that ?</div><div><br></div><div>thanks</div><div><br></div><div>J.</div></div>