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        5060     Unmonitored
1234567/0001234        5060     Unmonitored

the last line should be

1234567/1234567        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?