JavaScript
Utilisation du tableau de bord
Vous pouvez tout d'abord consulter vos numéros existants.
Si vous n'avez pas de Numbers en réserve, vous pouvez en acheter un.
Utilisation de la CLI de Vonage
Une fois que vous avez trouvé un numéro qui vous convient, vous pouvez l'acheter à l'aide de la fonction vonage numbers buy commande :
vonage numbers buy US 16127779311
✅ Searching for numbers
Are you sure you want to purchase the number 16127779311 for €0.90? [y/n] y
✅ Purchasing number
Number 16127779311 purchased
Number: 16127779311
Country: 🇺🇸 United States
Type: Mobile
Features: MMS, SMS, VOICE
Monthly Cost: €0.90
Setup Cost: €0.00
Linked Application ID: Not linked to any application
Voice Callback: Not Set
Voice Callback Value: Not Set
Voice Status Callback: Not Set
vonage numbers buy US 16127779311 ✅ Searching for numbers Are you sure you want to purchase the number 16127779311 for €0.90? [y/n] y ✅ Purchasing number Number 16127779311 purchased Number: 16127779311 Country: 🇺🇸 United States Type: Mobile Features: MMS, SMS, VOICE Monthly Cost: €0.90 Setup Cost: €0.00 Linked Application ID: Not linked to any application Voice Callback: Not Set Voice Callback Value: Not Set Voice Status Callback: Not Set
Recevoir un appel téléphonique in-app
Vous recevez un appel d'un téléphone vers votre application
Étapes
1
Introduction à cette tâche2
Prerequisites3
Créer un serveur webhook4
Créer une application Vonage5
Acheter un numéro Vonage6
Lier un numéro Vonage7
Créer un utilisateur8
Générer un JWT9
Installer le Client SDK10
Créer une application côté client11
Exécutez votre application12
Quelle est la prochaine étape ?