Swift
Como usar o painel
- Encontre sua inscrição na Painel de controle.
- Clique no aplicativo na lista “Seus Applications”. Em seguida, clique na aba “Numbers”.
- Clique no botão “Link” para vincular um número da Vonage a esse aplicativo.
Como usar a CLI da Vonage
Depois de obter um número adequado, você pode vinculá-lo ao seu aplicativo da Vonage executando este comando:
Copiar
vonage apps numbers link 00000000-0000-0000-0000-000000000000 16127779311
✅ Fetching Application
Fetching Owned numbers [===============================================] 1/1 100%
Number linked
Number: 16127779311
Country: 🇺🇸 United States
Type: Toll-free
Features: MMS, SMS, VOICE
Monthly Cost: Not Set
Setup Cost: Not Set
Linked Application ID: 00000000-0000-0000-0000-000000000000
Voice Callback: app
Voice Callback Value: 00000000-0000-0000-0000-000000000000
Voice Status Callback: Not Set
Copiar
vonage apps numbers link 00000000-0000-0000-0000-000000000000 16127779311
✅ Fetching Application
Fetching Owned numbers [===============================================] 1/1 100%
Number linked
Number: 16127779311
Country: 🇺🇸 United States
Type: Toll-free
Features: MMS, SMS, VOICE
Monthly Cost: Not Set
Setup Cost: Not Set
Linked Application ID: 00000000-0000-0000-0000-000000000000
Voice Callback: app
Voice Callback Value: 00000000-0000-0000-0000-000000000000
Voice Status Callback: Not Set
vonage apps numbers link 00000000-0000-0000-0000-000000000000 16127779311
✅ Fetching Application
Fetching Owned numbers [===============================================] 1/1 100%
Number linked
Number: 16127779311
Country: 🇺🇸 United States
Type: Toll-free
Features: MMS, SMS, VOICE
Monthly Cost: Not Set
Setup Cost: Not Set
Linked Application ID: 00000000-0000-0000-0000-000000000000
Voice Callback: app
Voice Callback Value: 00000000-0000-0000-0000-000000000000
Voice Status Callback: Not Set
Fazendo uma chamada de voz no aplicativo
Você faz uma chamada de voz a partir de um aplicativo iOS para um telefone usando o Client SDK do iOS.
Etapas
1
Introdução a esta tarefa2
Prerequisites3
Criar um servidor de webhooks4
Criar uma aplicação da Vonage5
Vincular um número da Vonage6
Criar um usuário7
Gerar um JWT8
Projeto e área de trabalho do Xcode9
Permissões do projeto10
Criação da interface11
VGVoiceClient12
Fazer uma ligação13
E agora?