Hi all,
My sip provider as supplied me with 2 trunk
my Linux server as 2 nic card 2 different ips
trunk 1 external ip is xxx.xxx.xxx.189 router with static route going to internal ip 192.168.2.22 should be for long distance calls.
trunk 2 external ip is xxx.xxx.xxx.190 going to internal ip 192.168.2.29 should be for local calls
my problem is that when I do long distance call is going on ip 2.29 and when I do local calls it goes to the same ip.
My question i how can I get long distance calls to route from Asterisk to the right ip (xxx.xxx.xxx.189)?
Cleard