<div dir="ltr"><div>Hello all,</div><div><br></div><div>I need to set up a multi-domain kamailio, i think in terms of accepting invites to different domains is pretty simple by using the "alias" parameter, that much i have clear. </div><div><br></div><div>My doubt comes from the fact that I need to route outgoing calls also based on the domain.</div><div><br></div><div>As of today, i have single-domain kamailios using dispatcher to load-balance and failover said calls. I think i should be able to use dispatcher here as well, separating the dispatcher list by GID, so that</div><div><br></div><div>Domain1->gid:1</div><div>Domain2->gid: 2</div><div>Domain3->gid: 3</div><div>and so on...</div><div><br></div><div>I don't have registrations on this server and none are expected.</div><div><br></div><div>So i'm thinking i will received the invites like:</div><div><br></div><div><div><a href="mailto:sip%3A12345@domain1.com">sip:12345@domain1.com</a></div><div><a href="mailto:sip%3A12345@domain1.com">sip:12345@domain1.com</a></div><div><a href="mailto:sip%3A12345@domain1.com">sip:12345@domain1.com</a></div>and so on...</div><div><br></div><div>How would you guys go about associating the domain with the gid list in dispatcher?</div><div><br></div><div>Thanks a lot for your help!</div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=fdbd73a5-ccae-4c38-a73f-470b79ea56b1"><font color="#ffffff" size="1">ᐧ</font></div>