Load Balancer install

Hello.
How can you make a load balancer so that outgoing calls originate from one IP, and incoming calls are received from another?

You can use kamailio or opensips with dispatcher module to implement load balancer.