File tree 1 file changed +10
-9
lines changed
1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -39,24 +39,25 @@ class StreamData(BaseModel):
39
39
def answer_call ():
40
40
print (1 )
41
41
response = VoiceResponse ()
42
- start = Start ()
43
- start .stream (url = 'wss://apis-as-phere-s-team.vercel.app/stream' )
42
+ # start = Start()
43
+ # start.stream(url='wss://apis-as-phere-s-team.vercel.app/stream')
44
44
print (2 )
45
45
#response.append(start)
46
46
print (3 )
47
- gather = Gather (input = 'dtmf' , num_digits = 4 )
48
- gather .say ('Please enter the 4 digit code on your screen to get started.' )
49
- response .append (gather )
47
+ # gather = Gather(input='dtmf', num_digits=4)
48
+ # gather.say('Please enter the 4 digit code on your screen to get started.')
49
+ # response.append(gather)
50
50
print (31 )
51
- response .say ("Bienvenue, je suis en train d'écouter et de transcrire ce que vous dites." , voice = 'alice' )
51
+ #response.say("Bienvenue, je suis en train d'écouter et de transcrire ce que vous dites.", voice='alice')
52
+ response .say ("Hello world. Bonjour, bienvenue Benjamin." , voice = 'alice' )
52
53
print (4 )
53
- response .play ('https://demo.twilio.com/docs/classic.mp3' )
54
+ # response.play('https://demo.twilio.com/docs/classic.mp3')
54
55
print (5 )
55
56
# Use <Record> to record the caller's message
56
- response .record ()
57
+ # response.record()
57
58
print (6 )
58
59
# End the call with <Hangup>
59
- response .hangup ()
60
+ # response.hangup()
60
61
print (7 )
61
62
print (response )
62
63
return str (response )
You can’t perform that action at this time.
0 commit comments