I cloned this repo from Github which contains a short example of entering a phone number and calling that number with Twilio Voice SDK for IOS: https://github.com/twilio/voice-quickstart-ios. I generated an access token following the instructions with the command line but I get an error message when I try to initiate a call.
The command I ran:
twilio token:voice --identity=identity --voice-app-sid=AP537f...
The token:
Copy/paste this voice token into your test application:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImN0e.....
This is what jwt.io gives back for the token:
1704129998",
"grants": {
"identity": "identity",
"voice": {
"incoming": {
"allow": true
},
"outgoing": {
"application_sid": "AP53...."
}
}
},
"iat": 1704129998,
"exp": 1704133598,
"iss": "SK66d37615f300baee4e8902978a9bf481",
"sub": "AC9c1a775d2a777a79387a55da7f53733c"
}
What can be the problem?




