Greedy IAX trunk

Hi;

I have 2 IAX trunks, one for giving my cellphone the same caller id as my home phone, and one for retransmitting incoming caller ids, so I know who is calling before picking up my cellphone.

The problem is that no matter which of these 2 trunks my provider connects a call to, it ends up at the same trunk.

I believe I have a networking problem, but I am not quite sure what is wrong.

I can get incoming calls to reach trunk number 2 only by disabling trunk number 1.

Has anybody else had the same problem, or does anybody have an idea how to fix this problem?

Jan