Good day, colleagues.
There is a problem that is not very significant, but, nevertheless, it gives a headache.
System:
FreePBX15 / Asterisk 16.9.0
6 SIP trunks are configured and in operation. Each has its own DID on which I land the call, each has its own name for both the web interface and Asterisk.
When an incoming call arrives to any of the DID numbers, I should see that the call came to the required trunk, but instead, calls to any DID come with the same trunk name, although, again, each has its own name.
An example with a combat PBX, disguised numbers and ip’s:
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
hsesru-749XXXXXXXX/iwYeg4 X.X.X.X Yes Yes 5060 OK (41 ms)
ukcrit-749XXXXXXXX/PfrDWi X.X.X.X Yes Yes 5060 OK (39 ms)
ukcrpro-749XXXXXXXX/gzo7I X.X.X.X Yes Yes 5060 OK (39 ms)
ukcrru-749XXXXXXXX/mHdHrr X.X.X.X Yes Yes 5060 OK (39 ms)
ukcrsu-749XXXXXXXX/1CcrID X.X.X.X Yes Yes 5060 OK (39 ms)
vsoutru-749XXXXXXXX/aId0T X.X.X.X Yes Yes 5060 OK (40 ms)
In the process of troubleshooting, I also noticed an interesting feature: the trunk name in the Asterisk CLI will always display what is above all in the list. For example, a call came to the ukcrit-749XXXXXXXX trunk, hsesru-749XXXXXXXX will be displayed, since he is higher on the list. If you disable hsesru-749XXXXXXXX, then ukcrit-749XXXXXXXX will be displayed for all trunks and so on.
To summarize: the problem is not with DID, the problem with displaying the trunk name when calling different DIDs.
In this case, I will also be grateful to you for any advice or help in troubleshooting and solving the problem.
Best wishes.