15004: Action Callback URL must be absolute when updating in-progress calls
VOICE
ERROR
When you update an in-progress call with the twiml parameter, use an absolute URL for any action callback. This requirement applies to <Gather>, <Record>, and <Pay> when you create or update a call with inline TwiML.
- You updated a live call with inline
twimland used a relativeactionURL such as/process_gather.php.<Gather>and<Record>can use relative URLs in other contexts, but when you start or update a call with thetwimlparameter, theactionURL must be absolute. - The TwiML sent in the
twimlparameter includes<Gather>,<Record>, or<Pay>with anactionthat depends on the current document URL instead of a fully qualified callback URL. Twilio uses thetwimlparameter directly instead of fetching TwiML from aurl. - Your
<Pay>verb uses anactionURL that is not absolute or does not usehttps.<Pay>only acceptshttpsfor theactionURL.
- Replace each relative
actionvalue with a fully qualified URL that includes the scheme and hostname, such ashttps://example.com/voice/process-gather. - Review the TwiML you send in the
twimlparameter and update every<Gather>,<Record>, and<Pay>actionto an absolute URL before you resend the call update. - If you use
<Pay>, set theactionto an absolutehttpsURL.