Official Sinch API skills for AI coding agents — SMS, Voice, Verification, Numbers, Mailgun email, and more.
71
89%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Advisory
Suggest reviewing before use
If calls or registrations fail, check the SIP response code:
| Code | Symptom | Likely Cause | Fix |
|---|---|---|---|
| 401 | Registration fails | Credential mismatch | Verify username/password in Credential List matches what the SIP UA is sending. |
| 403 | Outbound call fails | Source IP not in ACL | Add your public IP to the ACL linked to the trunk. Check with curl ifconfig.me. |
| 403 | Outbound call fails | Wrong From domain | Ensure From header uses YOUR trunk domain (user@{hostname}.pstn.sinch.com), not the destination's domain. |
| 404 | Outbound call fails | Wrong SIP domain | Do NOT use trunk.pstn.sinch.com. Use your specific {hostname}.pstn.sinch.com. |
| 408 | Call timeout | Network/firewall issue | Ensure SIP ports (5060 UDP/TCP, 5061 TLS) are open to Sinch edge IPs. |
| 503 | Inbound call fails | No active endpoints | Ensure at least one SIP endpoint exists on the trunk AND (if registered) the UA is actively registered. |
| 603 | Outbound call fails | Rate limit (CPS) | Reduce call frequency. Default is 1 CPS; contact Sinch to increase. |
After setting up a trunk, verify the configuration:
GET /trunks — confirm your trunk appears in the listGET /trunks/{trunkId}/accessControlLists for ACL-based auth, or GET /trunks/{trunkId}/credentialLists for digest auth — confirm your ACL or credential list ID appearsGET /trunks/{trunkId}/endpoints — confirm endpoint with correct IP/portGET /trunks/{trunkId}/phoneNumbers — confirm numbers are listed+1XXXXXXXXXX@{hostname}.pstn.sinch.comcurl ifconfig.meGET /trunks/{trunkId}/accessControlListsFrom header uses your trunk domain, not the callee's domain{hostname}.pstn.sinch.comskills
sinch-10dlc
references
sinch-authentication
sinch-conversation-api
sinch-elastic-sip-trunking
references
sinch-fax-api
sinch-imported-numbers-hosting-orders
references
sinch-in-app-calling
sinch-mailgun
references
sinch-mailgun-inspect
references
sinch-mailgun-optimize
references
sinch-mailgun-validate
sinch-number-lookup-api
sinch-number-order-api
sinch-numbers-api
references
sinch-porting-api
sinch-provisioning-api
sinch-sdks
sinch-verification-api