Twilio autopilot handoff action is not working with Twiml Bin
up vote
1
down vote
favorite
I have a Twilio autopilot task from an incoming call, which performs a greeting then asks a question before redirecting to a new task called 'callnumber'. This all works fine.
The 'callnumber' task looks like this
{
"actions": [
{
"handoff": {
"channel": "voice",
"uri": "https://handler.twilio.com/twiml/TWIMLBINID"
}
}
]
}
TWIMLBINID actually has the correct ID from the Twiml Bin.
This is the Twiml content in the bin:
<Response>
<Say>I will put you in contact with our customer care specialist.</Say>
</Response>
Unfortunately I'm not hearing this Response spoken out and instead just get the standard 'an error has occurred' voice message.
I've tried a few different versions of this, even calling an xml file hosted on my own public web server and seeing the same problem. Also tried the dial verb and still seeing this issue.
I feel like I may have missed some configuration, after seeing similar posts like: Twilio autopilot doesnt say what it is supposed to say
Any help is much appreciated!
twilio twiml twilio-twiml
add a comment |
up vote
1
down vote
favorite
I have a Twilio autopilot task from an incoming call, which performs a greeting then asks a question before redirecting to a new task called 'callnumber'. This all works fine.
The 'callnumber' task looks like this
{
"actions": [
{
"handoff": {
"channel": "voice",
"uri": "https://handler.twilio.com/twiml/TWIMLBINID"
}
}
]
}
TWIMLBINID actually has the correct ID from the Twiml Bin.
This is the Twiml content in the bin:
<Response>
<Say>I will put you in contact with our customer care specialist.</Say>
</Response>
Unfortunately I'm not hearing this Response spoken out and instead just get the standard 'an error has occurred' voice message.
I've tried a few different versions of this, even calling an xml file hosted on my own public web server and seeing the same problem. Also tried the dial verb and still seeing this issue.
I feel like I may have missed some configuration, after seeing similar posts like: Twilio autopilot doesnt say what it is supposed to say
Any help is much appreciated!
twilio twiml twilio-twiml
Do any HTTP request errors get logged into the Twilio debugger? twilio.com/console/runtime/debugger
– Devin Rader
yesterday
Are you able to call the number yourself and see if this works? Rather than using the test dialler in the Autopilot console.
– philnash
2 hours ago
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have a Twilio autopilot task from an incoming call, which performs a greeting then asks a question before redirecting to a new task called 'callnumber'. This all works fine.
The 'callnumber' task looks like this
{
"actions": [
{
"handoff": {
"channel": "voice",
"uri": "https://handler.twilio.com/twiml/TWIMLBINID"
}
}
]
}
TWIMLBINID actually has the correct ID from the Twiml Bin.
This is the Twiml content in the bin:
<Response>
<Say>I will put you in contact with our customer care specialist.</Say>
</Response>
Unfortunately I'm not hearing this Response spoken out and instead just get the standard 'an error has occurred' voice message.
I've tried a few different versions of this, even calling an xml file hosted on my own public web server and seeing the same problem. Also tried the dial verb and still seeing this issue.
I feel like I may have missed some configuration, after seeing similar posts like: Twilio autopilot doesnt say what it is supposed to say
Any help is much appreciated!
twilio twiml twilio-twiml
I have a Twilio autopilot task from an incoming call, which performs a greeting then asks a question before redirecting to a new task called 'callnumber'. This all works fine.
The 'callnumber' task looks like this
{
"actions": [
{
"handoff": {
"channel": "voice",
"uri": "https://handler.twilio.com/twiml/TWIMLBINID"
}
}
]
}
TWIMLBINID actually has the correct ID from the Twiml Bin.
This is the Twiml content in the bin:
<Response>
<Say>I will put you in contact with our customer care specialist.</Say>
</Response>
Unfortunately I'm not hearing this Response spoken out and instead just get the standard 'an error has occurred' voice message.
I've tried a few different versions of this, even calling an xml file hosted on my own public web server and seeing the same problem. Also tried the dial verb and still seeing this issue.
I feel like I may have missed some configuration, after seeing similar posts like: Twilio autopilot doesnt say what it is supposed to say
Any help is much appreciated!
twilio twiml twilio-twiml
twilio twiml twilio-twiml
asked Nov 8 at 9:52
ianrathbone
9392813
9392813
Do any HTTP request errors get logged into the Twilio debugger? twilio.com/console/runtime/debugger
– Devin Rader
yesterday
Are you able to call the number yourself and see if this works? Rather than using the test dialler in the Autopilot console.
– philnash
2 hours ago
add a comment |
Do any HTTP request errors get logged into the Twilio debugger? twilio.com/console/runtime/debugger
– Devin Rader
yesterday
Are you able to call the number yourself and see if this works? Rather than using the test dialler in the Autopilot console.
– philnash
2 hours ago
Do any HTTP request errors get logged into the Twilio debugger? twilio.com/console/runtime/debugger
– Devin Rader
yesterday
Do any HTTP request errors get logged into the Twilio debugger? twilio.com/console/runtime/debugger
– Devin Rader
yesterday
Are you able to call the number yourself and see if this works? Rather than using the test dialler in the Autopilot console.
– philnash
2 hours ago
Are you able to call the number yourself and see if this works? Rather than using the test dialler in the Autopilot console.
– philnash
2 hours ago
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
I was able to get the TwiML Bin working with similar JSON, when I have it associated with a Task that has samples.
So, for example, a call comes in to your Autopilot assistant and initially triggers the Assistant Initiation Task of hello_world where you modified the predefined JSON with a listen action.
{
"actions": [
{
"say": "How can I help you today?"
},
{
"listen": true
}
]
}
You then respond so the task associated with your handoff JSON/TwiML Bin is executed (based on the samples you provided). If you try to call the handoff task directly, it fails.
You original use case looked as though it should work to me. I'd recommend getting in touch with Twilio support and describing the issue as well as sharing some affected CallSids and they will be able to look into it.
– philnash
yesterday
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I was able to get the TwiML Bin working with similar JSON, when I have it associated with a Task that has samples.
So, for example, a call comes in to your Autopilot assistant and initially triggers the Assistant Initiation Task of hello_world where you modified the predefined JSON with a listen action.
{
"actions": [
{
"say": "How can I help you today?"
},
{
"listen": true
}
]
}
You then respond so the task associated with your handoff JSON/TwiML Bin is executed (based on the samples you provided). If you try to call the handoff task directly, it fails.
You original use case looked as though it should work to me. I'd recommend getting in touch with Twilio support and describing the issue as well as sharing some affected CallSids and they will be able to look into it.
– philnash
yesterday
add a comment |
up vote
0
down vote
I was able to get the TwiML Bin working with similar JSON, when I have it associated with a Task that has samples.
So, for example, a call comes in to your Autopilot assistant and initially triggers the Assistant Initiation Task of hello_world where you modified the predefined JSON with a listen action.
{
"actions": [
{
"say": "How can I help you today?"
},
{
"listen": true
}
]
}
You then respond so the task associated with your handoff JSON/TwiML Bin is executed (based on the samples you provided). If you try to call the handoff task directly, it fails.
You original use case looked as though it should work to me. I'd recommend getting in touch with Twilio support and describing the issue as well as sharing some affected CallSids and they will be able to look into it.
– philnash
yesterday
add a comment |
up vote
0
down vote
up vote
0
down vote
I was able to get the TwiML Bin working with similar JSON, when I have it associated with a Task that has samples.
So, for example, a call comes in to your Autopilot assistant and initially triggers the Assistant Initiation Task of hello_world where you modified the predefined JSON with a listen action.
{
"actions": [
{
"say": "How can I help you today?"
},
{
"listen": true
}
]
}
You then respond so the task associated with your handoff JSON/TwiML Bin is executed (based on the samples you provided). If you try to call the handoff task directly, it fails.
I was able to get the TwiML Bin working with similar JSON, when I have it associated with a Task that has samples.
So, for example, a call comes in to your Autopilot assistant and initially triggers the Assistant Initiation Task of hello_world where you modified the predefined JSON with a listen action.
{
"actions": [
{
"say": "How can I help you today?"
},
{
"listen": true
}
]
}
You then respond so the task associated with your handoff JSON/TwiML Bin is executed (based on the samples you provided). If you try to call the handoff task directly, it fails.
answered yesterday
Alan
2392
2392
You original use case looked as though it should work to me. I'd recommend getting in touch with Twilio support and describing the issue as well as sharing some affected CallSids and they will be able to look into it.
– philnash
yesterday
add a comment |
You original use case looked as though it should work to me. I'd recommend getting in touch with Twilio support and describing the issue as well as sharing some affected CallSids and they will be able to look into it.
– philnash
yesterday
You original use case looked as though it should work to me. I'd recommend getting in touch with Twilio support and describing the issue as well as sharing some affected CallSids and they will be able to look into it.
– philnash
yesterday
You original use case looked as though it should work to me. I'd recommend getting in touch with Twilio support and describing the issue as well as sharing some affected CallSids and they will be able to look into it.
– philnash
yesterday
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53205213%2ftwilio-autopilot-handoff-action-is-not-working-with-twiml-bin%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Do any HTTP request errors get logged into the Twilio debugger? twilio.com/console/runtime/debugger
– Devin Rader
yesterday
Are you able to call the number yourself and see if this works? Rather than using the test dialler in the Autopilot console.
– philnash
2 hours ago