Ok... I got it. Someone changed the CDRs to reflect CALLERID(ANI) instead of
CALLERID(number) in 1.2.10. According to the release notes this was taken back
in 1.2.12. I do not know why this was not done for IAX as well so it would have
been consistent at least but well...
I am either going to
Sorry for replying to my own post: I just switch the connection from Asterisk A
to Asterisk B from SIP to IAX without changing anything else (dialplans on both
system are the same). Now the correct callerID is logged. The behaviour changed
from 1.2.9 to 1.2.10 I suppose since this worked without