Hi,<div><br></div><div>We are trying to follow <a href="http://kb.asipto.com/asterisk:realtime:kamailio-3.1.x-asterisk-1.6.2-astdb">http://kb.asipto.com/asterisk:realtime:kamailio-3.1.x-asterisk-1.6.2-astdb</a> to setup Kamailio as front end and multiple PBXs as back end.</div>

<div><br></div><div>We need to forward sip messages to the respective servers based on the contact.  For example, users 101, 102 go to PBX at 1.1.1.1 and users 201, 202 go to PBX at 1.1.1.2.  Where is a good place to save this info and how to route them in the config?</div>

<div><br></div><div>Also we have some users with fixed IP addresses which don&#39;t use authentication.  How do we route the calls based on source IP?  Since we have plenty of these users, we&#39;d like to save them in database too.</div>

<div><br></div><div>Any advice is appreciated!</div><div><br></div><div>Richard</div><div><br></div>