ReadText et numéro VOIP
... / ReadText et numéro VOIP
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

ReadText et numéro VOIP

by
PaulS11
Created on 2023-07-11 07:21:31 (edited on 2024-09-04 13:26:25) in Forfaits VoIP

ReadText sur un numéro OVH

Bonjour,
j'ai un numéro OVH avec plusieurs lignes dessus configurées en "toutes sonnent en même temps". J'ai fait une API pour qu'une ligne OVH (qui n'est pas dans le groupe du numéro) appelle le numéro OVH pour lire un texte (read text)

ci dessous le code :
curl -X POST "https://eu.api.ovh.com/v1/telephony/XX-ovh-2/line/la_ligne/automaticCall" \
-H "accept: application/json"\
-H "authorization: Bearer XX"\
-H "content-type: application/json" \
-d '{"bridgeNumberDialplan":"","calledNumber":"la_ligne","callingNumber":"numéro OVH","dialplan":"ReadText","isAnonymous":false,"playbackAudioFileDialplan":"","timeout":0,"ttsTextDialplan":"Merci de faire les protocoles"}' \

Ce code fonctionne très bien si je renseigne un numéro de téléphone lambda (mon portable par exemple) mais ne fonctionne pas sur le numéro OVH avec groupe d'appel.
L'appel est émis mais il se coupe instantanément sans lire le message audio.

je n'arrive pas à comprendre pourquoi.

**Prérequis à renseigner :**
- Forfait Voip : entreprise

-------