hi, i need migrate customers from severeal to one asterisk server with multiple ip aliases like eth0 192.168.10.1 eth0:1 192.168.10.20 eth0:2 192.168.10.30 i must preserve endpoint configuration to these ip adressess the problem is if i register to 192.168.10.30, the answer is from 192.168.10.1 are there some ways for this scenario? 1) chan_pjsip? 2) kamailio in front of asterisk on the same server? 3) iptables magic? 4) ... thanks -- --------------------------------------- Marek Cervenka =======================================
it looks like i found solution with chan_pjsip /etc/asterisk/pjsip.conf [transport-udp-net1] type=transport protocol=udp bind=192.168.10.20 [transport-udp-net2] type=transport protocol=udp bind=192.168.10.30 [net1_user1] type=endpoint transport=transport-udp-net1 [net2_user1] type=endpoint transport=transport-udp-net2 can you someone confirm this solution? Dne 29.8.2014 v 11:26 Marek Cervenka napsal(a):> hi, > > i need migrate customers from severeal to one asterisk server with > multiple ip aliases > like > eth0 192.168.10.1 > eth0:1 192.168.10.20 > eth0:2 192.168.10.30 > > i must preserve endpoint configuration to these ip adressess > > the problem is if i register to 192.168.10.30, the answer is from > 192.168.10.1 > > are there some ways for this scenario? > 1) chan_pjsip? > 2) kamailio in front of asterisk on the same server? > 3) iptables magic? > 4) ... > > thanks >-- --------------------------------------- Marek Cervenka =======================================