Out going calls failing - provider states ANI is wrong

smokinjo

New Member
Oct 24, 2024
7
0
1
57
Hello,
We are using fusion PBX.
After a string of problems, we starting working with our provider to solve them

The first issues is that our outgoing calls are not going out.

The reason that they told us is that the ANI data that is being sent to their server is incorrect., According to US laws, all out going calls need valid ANI data.


When they did a sip trace, the said that the data being sent to them for the ANI is:

FREESWITCH

It is supposed to be our phone number. But, it is not.

My tech said that he has set things up correctly, but obviously something is wrong.


I have attached 3 images to this message to show a little insight. Hopefully it will help.

Can you suggest steps to go about resolving the issue?

Thanks for any and all help!

Joseph
 

Attachments

  • 1.jpeg
    1.jpeg
    27.9 KB · Views: 15
  • 3.jpeg
    3.jpeg
    19 KB · Views: 13
  • 4.png
    4.png
    314.3 KB · Views: 13

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,074
577
113
In your gateways advanced settings, do you have "Caller ID In From" set to true. If not can you set that then stop and restart the gateway.
 

smokinjo

New Member
Oct 24, 2024
7
0
1
57
Hello

Thanks for the idea.

We checked and the setting is already set to TRUE.

Might you have another suggestion as to where to look or what to look for?

Thanks again!

Joseph
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,074
577
113
In the advanced gateway settings try setting callerid type to pid, again, after the change, stop and restart the gateway.

Also, can the provider not help you out with this? They should be able to tell you what the invite should looks like.
 

smokinjo

New Member
Oct 24, 2024
7
0
1
57
Hi there.

I will try your idea for the callerid type to pid. Just to be clear, pid is what? One of the setting options?

As for what they are expecting, I menitonned in it my first message.

Te ANI is supposed ot be the DID form which the calls are made. There is a new US law that requires this, s all our calls wll fail until we:

remove the ANI=FREESWITCH

and add ANI= MYDID(replace this with muy actual phone number).

Thanks
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,074
577
113
Well to be blunt then what is ANI? Where is this set? According to the SIP specs, caller id is either set in in the FROM header or it is set in RPID, p-asserted-id etc. Some proveiders will use the from, some rpid, some pid (p-asserted-id)

I know of no field in SIP for ANI, please enlighten me.
 

smokinjo

New Member
Oct 24, 2024
7
0
1
57
Hi there. I looked up and found a decent definition of ANI:

What Is ANI?​


ANI is a system used by phone carriers to identify the telephone number of anyone making a call. It’s also being adopted by call centers to provide agents with more information about each caller.

With US VOIP suppliers, outgoing calls must contain the caller ID of who is doing the calling. If that is missing, then the calls will be rejected.

In our case, the DID needed in th ANI config is not there. The DID is replaced by the text: FREESWITCH

Hope this helps a little.
 

pbxgeek

Active Member
Jan 19, 2021
193
65
28
37
I think what you are loking for is a setting in Gateways. It's called Caller ID in From. It will pass your phone number to the carrier in the header instead of Freeswith. I had the same issue with US trunk providers.
 

pbxguru

New Member
Nov 7, 2024
17
2
3
49
ANI stands for Automatic Number Identification and it's another way of saying what is the outbound number when placing calls. So, when setting the "ANI" on our FusionPBX, we set "Outbound Caller ID Number" as the DID number. Also, we normally set "Outbound Caller ID Name" the same.

I think you've set FREESWITCH as the outbound name instead of the DID number. Maybe they're checking the CNAM? I do believe the Outbound Caller ID Name is the CNAM.
 

smokinjo

New Member
Oct 24, 2024
7
0
1
57
I think what you are loking for is a setting in Gateways. It's called Caller ID in From. It will pass your phone number to the carrier in the header instead of Freeswith. I had the same issue with US trunk providers.
Thanks PBXGeek..

Glad I am not the only one withth eissue.

Let me share this with my tech, and we will see if it work.

Much appreciated:)
 

smokinjo

New Member
Oct 24, 2024
7
0
1
57
Hi there.

We checked over the settings and it seems to set that way.

Here is a photo of the setting.

Other ideas?
 

Attachments

  • pbx.jpeg
    pbx.jpeg
    30.7 KB · Views: 12

pbxgeek

Active Member
Jan 19, 2021
193
65
28
37
@smokinjo, did you restart the gateway after making changes? A restart is necessary after each update, as simply saving the changes won’t fully apply them.
 

pbxguru

New Member
Nov 7, 2024
17
2
3
49
Without a full PCAP of the INVITE, it's harder to diagnose. Best would be to review your outbound INVITE and your carrier's rejection INVITE as well.

Your carrier is clearly not grabbing the CID from the FROM header. Does your dialplan have inline enabled? What about external?

Check out this post - it seems to be related, and their solution was using rpid instead - but not all carriers may support it.

 

dcitelecom

Member
Oct 20, 2021
153
3
18
61
Are the following extension fields populated for your DID in E.164 format?

Effective Caller ID Name
Effective Caller ID Number
Outbound Caller ID Name
Outbound Caller ID Number
Emergency Caller ID Name
Emergency Caller ID Number