AlanS Posted November 11, 2021 Report Posted November 11, 2021 Good morning gents! I am wondering whats the difference between ANI and EANI? I setup an action url for when a trunk call is made. I am sending it [to, from, domain]. Since none of those show what actual ANI is used for the call, I made a call to /domains to get all the users. Then I find the user that made the call. I consoled the user and saw ani and eani. But since these are both arrays, which one is used for the primary ani? Thanks! Quote
Support Posted November 11, 2021 Report Posted November 11, 2021 Just now, AlanS said: EANI Emergency Ani used for when dialling Emergency numbers. Primary ANI depends on the one that is sent out from your trunk seen under the "Regular ANI" field. Quote
AlanS Posted November 11, 2021 Author Report Posted November 11, 2021 So, even though ani is an array, ani[0] will always be what was used as the outbound ani? Quote
Vodia PBX Posted November 11, 2021 Report Posted November 11, 2021 The rules for what ANI to use are in https://doc.vodia.com/docs/trunk-ani in a nutshell unless you set something else up: yes. its an array because you can have different ANI depending on what trunk the call goes out. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.