Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calls being sent out wrong trunk #162

Open
needafix opened this issue Apr 23, 2019 · 5 comments
Open

calls being sent out wrong trunk #162

needafix opened this issue Apr 23, 2019 · 5 comments

Comments

@needafix
Copy link

Hi, seeing calls which are overseas calls that have 011 in front and A2B configured to remove the 011 using the wrong trunk.

In the simulator putting either the number with 011 or without, shows the correct trunk. When dialing these overseas numbers its using a trunk that is for North America instead.

Have tried removing the rate cards from the rate plan and add them back but that did not change anything.
Any ideas on how to fix this?

Thanks.

@moretalk
Copy link

moretalk commented Apr 23, 2019 via email

@needafix
Copy link
Author

Hi Moretalk, yeah ran the simulator several times, The trunk used when dialing the TN, is NOT a trunk listed in the rates/trunks displayed.

@needafix
Copy link
Author

I have small FreePBX installed along with A2Billing. What I am also noticing is although all the info in the trunk setting for both A2Billing and FreePBX are correct, A2Billing doesn't want to use it. However, if i put the FQDN instead of a trunk name in A2Billing it does dial out. I have had this A2B working well for > 6 years, It must be in the last month I started noticing issues when calling someone overseas that I know would use the trunk.

@needafix
Copy link
Author

needafix commented Apr 23, 2019

Oh by the way, the reason its using the other trunk not listed in the simulator for the TN, is due to the setting in A2Billing for failover trunk. So we know that part is working. It seems that its not talking to FreePBX since the FreePBX trunk has the FQDN of the carrier. We have always just had one name like 'overseasprovider' in the trunk settings in A2Billing and of course in FreePBX in SIP part of trunk the name would be same 'overseasprovider'. I wonder where the problem lies.

I just changed the name in A2Billing to the FQDN, make a call overseas and in cli saw it was using the correct trunk 'overseasprovider'.

@needafix
Copy link
Author

The whole issue was all DNS. It's fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants