Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All SSML tags are malformed and do not work with Twilio #220

Open
PhilThurston opened this issue Jan 20, 2024 · 0 comments · May be fixed by #221
Open

All SSML tags are malformed and do not work with Twilio #220

PhilThurston opened this issue Jan 20, 2024 · 0 comments · May be fixed by #221

Comments

@PhilThurston
Copy link

Issue Summary

Currently all SSML tags are malformed. They are either capitalized for example the proper <emphasis> is instead generated as <Emphasis> or <say-as> is generated as <SayAs>. These generate an error code of 12200 XML Validation warning and the call fails.

Steps to Reproduce

Create a twiml with any function that is designed to inject an SSML tag.

Code Snippet

        say := &twiml.VoiceSay{}
	say.InnerElements = []twiml.Element{
		&twiml.VoiceP{Words: "This will generate the wrong SSML"}
	}

	hangup := &twiml.VoiceHangup{}

	return []twiml.Element{say, hangup}

Technical details:

  • twilio-go version: All versions since Oct 2, 2022
  • go version: All versions
@PhilThurston PhilThurston linked a pull request Jan 20, 2024 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant