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
Receber uma ligação dentro do aplicativo
Você recebe uma chamada de um telefone no seu aplicativo
Etapas
1
Introdução a esta tarefa2
Prerequisites3
Criar um servidor de webhooks4
Criar uma aplicação da Vonage5
Compre um número da Vonage6
Vincular um número da Vonage7
Criar um usuário8
Gerar um JWT9
Criar um projeto Android10
Adicionar permissões11
Criação da interface12
Inicializar o cliente13
Gerenciar a chamada14
E agora?