Add AttrSIPTrunkHostName for SIP trunk host identification #1202
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The purpose of this PR is to add sip trunk host name to sip participant attributes.
One of the use case for multi PBX systems. For example there can be a few PBX which works separately and on call we want to know that call was done exactly from this PBX as we have to associate caller phone number with our users table to show that this specific person is calling. Having AttrSIPHostName will not work in all cases as these PBX can be under the same firewall so when they make calls to us we will see one firewalls public IP address. In this case we can one PBX configure to make calls to sip1.example.com and second to sip2.example.com and based what domain name is called we can make get what exact PBX was calling us