As we are using more and more Asterisk and FreePBX with a full IP network, it becomes more and more important to conform to traditionnal telephony standards.
In this regard, it is mandatory to send an ANI, to allow for urgency services to identify the caller, regardless the presence of the callerID.
ANI is necessary as well to allow for providers to split the billing according to the origin of the call, even if they are in a same trunk.
Caller ID is not sufficient here, because we can choose to mask it.
So, i would be necessary to add :
- A new field to define the ANI number for each trunk and each extension (if ANI is present for an extension, then send it instead of the trunk ANI).
- The code logic to support ANI presentation.
- A dial prefix to mask or not mask the caller ID for each call.
Actually, most Asterisk based systems do not support correctly ANI and Caller ID. This need to be corrected to allow for a correct migration path to full IP telephony.
Asterisk seems to support ANI though the "a" parameter :
SetCallerID(CallerID[,a])
SetCIDName(name[,a])
SetCIDNum(number[,a])
For IAX trunks, we need to add the "sendani=yes" parameter inside the trunk definition.
Thanks for your listening.
Olivier.