Koopmann, Jan-Peter
2006-Sep-15 03:04 UTC
[asterisk-users] CDR question with SIP/IAX trunks
Hi, scenario: Call comes in via ISDN BRI on Asterisk A. Callerid (set by zapata) is let's say 0151123456789. In the incoming context I prepend a 0 to that callerid. My snom correctly displays 00151123456789. The call is also "forwarted" to Asterisk B. On the incoming context of Asterisk B I prepend yet another prefix 98. The callerid now is 9800151123456789 which is correctly displayed on the SNOM on Asterisk B. So far so good. The CDR on Asterisk B logs the callerid 001511234567890 though and ignores the prepended 98. Any ideas why? Kind regards, JP
Koopmann, Jan-Peter
2006-Sep-15 03:35 UTC
[asterisk-users] CDR question with SIP/IAX trunks
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 problems in August. After my switch to the new version, this started going wrong... Any ideas?
Koopmann, Jan-Peter
2006-Sep-15 05:23 UTC
[asterisk-users] CDR question with SIP/IAX trunks
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 set ANI now or upgrade to 1.2.12... :-)