Kotlin
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
Faça uma chamada de voz a partir de um aplicativo Android para um telefone usando o Client SDK do Android.
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
Criar um projeto Android9
Adicionar permissões10
Criar a tela principal11
Inicializar o cliente12
Fazer uma ligação13
Encerrar uma chamada14
E agora?