Realtime sip peers

Got some issue with mysql on realtime when 2 sip peers got the same ip but diferent accounts names…

sip show peers
0001234/0001234            213.58.140.140              255.255.255.255  5060     Unmonitored
1234567/0001234            213.58.140.140              255.255.255.255  5060     Unmonitored

the last line should be

1234567/1234567            213.58.140.140              255.255.255.255  5060     Unmonitored

it seems this only happens when the type os the two are peers. When i use friends this doesn’t happen.

anyone knows a why to solve this?