Restricting Incoming Calls to Specific SIP Trunk on BYO Phone Number
Good morning, Support Team,
I am currently migrating the SIP trunks of our assistants to a BYO-SIP-Trunk model ("provider": "byo-sip-trunk"), and the process has been successful so far following your documentation.
However, I’ve encountered an issue when creating a phone number with "provider": "byo-phone-number" and linking it to a trunk via "credentialId": "YOUR_CREDENTIAL_ID". Despite this association, I am still able to receive calls to the number from any SIP origin.
My question is:
How can I configure the BYO phone number to only accept calls originating from the SIP trunk associated with its credentials?
I’ve configured the trunk using peer authentication, which is suitable for my use case. If any specific parameter needs to be set, I would appreciate if you could let me know which SIP header the sip.vapi.ia backend expects to receive in order to validate the source.
Logs:
Call from an external source Call ID 9008baa0-539a-4ae6-a996-86aa1c674e54 (should not be allowed).
Call from my SIP Trunk BYO Call ID 8e16ea8b-7d6f-4b1b-967a-cfc4ad8e258e.
Thank you for your support — I look forward to your guidance.
Best regards,
S.Caballero
I am currently migrating the SIP trunks of our assistants to a BYO-SIP-Trunk model ("provider": "byo-sip-trunk"), and the process has been successful so far following your documentation.
However, I’ve encountered an issue when creating a phone number with "provider": "byo-phone-number" and linking it to a trunk via "credentialId": "YOUR_CREDENTIAL_ID". Despite this association, I am still able to receive calls to the number from any SIP origin.
My question is:
How can I configure the BYO phone number to only accept calls originating from the SIP trunk associated with its credentials?
I’ve configured the trunk using peer authentication, which is suitable for my use case. If any specific parameter needs to be set, I would appreciate if you could let me know which SIP header the sip.vapi.ia backend expects to receive in order to validate the source.
Logs:
Call from an external source Call ID 9008baa0-539a-4ae6-a996-86aa1c674e54 (should not be allowed).
Call from my SIP Trunk BYO Call ID 8e16ea8b-7d6f-4b1b-967a-cfc4ad8e258e.
Thank you for your support — I look forward to your guidance.
Best regards,
S.Caballero