Setup listeners in ysipchan.conf:
[listener udp1]
type=udp
addr=10.0.0.1
[listener udp2]
type=udp
addr=10.0.0.2
Setup the local ip/port in in account parameters:
Here is an accfile.conf example:
[user1]
ip_transport_localip=10.0.0.1
ip_transport_localport=5060
[user2]
ip_transport_localip=10.0.0.2
ip_transport_localport=5060
user1 will register using the udp1 listener, user2 will register using the udp2 listener.
Set the line parameter when routing a call on specific account.
See
http://docs.yate.ro/wiki/Ysipchan for more info.