<div dir="ltr"><div><div><div><div><div><div>Hi All,<br><br></div>Starting a new project, roll your own SBC, not a full SBC, just need some minor functionality.  I'm interested in deploying Kamailio as a edge device on a VSP for single entry point for hosted PBX's, Asterisk based.  I had some wonderful and informative conversations at Astricon 2013, several folks assuring me Kamailio w/rtpproxy was the tool for the job, so this is a follow up to delve more into details.<br>
<br></div>I've been researching configs, topology, modules needed, ect...  Most of the examples I'm reading about for this scenario are spreading the registrations across many PBX's without distinction.  One concept I'm struggling with is having a specific phone register to a specific PBX.<br>
<br></div>phone-customer-A-x101><internet><kamailio><PBX-customer-A-x101<br>phone-customer-B-x101><internet><kamailio><PBX-customer-B-x101<br>phone-customer-C-x101><internet><kamailio><PBX-customer-B-x101<br>
<br></div>I could add a unique identifier to some part of the registration of each phone like 'custA-101@kamailio_server', custB-101@kamailio_server, ect.  What I'm not clear on is when the request comes to kamailio, where would I identify what PBX the phone should register to and how to re-write the 'custA-101@kamailio_server' to '101@custA-pbx' and forward to the correct PBX and ensure rtp flows through kamailio.<br>
<br></div>Could this function be derived using dbaliases or possibly using dispatcher with group number for each customer PBX?<br><br></div><div>So assuming I can get the registrations to work properly, would standard invite for calling just work or would I also have to have specific config in place to ensure an invite from customer A phone also reaches the correct customer A PBX?<br>
</div><div><br></div>A point in the right direction?<br><br>Thanks.<br><br>JR<br><div><div><div><div><div><div><div><div><div>-- <br>JR Richardson<br>Engineering for the Masses
</div></div></div></div></div></div></div></div></div></div>