From 48182deacb6ca39d5c4e6c83bceaba1171d776bd Mon Sep 17 00:00:00 2001
From: Chris Rienzo <chris.rienzo@grasshopper.com>
Date: Tue, 7 Jan 2014 14:50:14 -0500
Subject: [PATCH] FS-6083 --resolve mod_ssml fixed <prosody>

---
 src/mod/formats/mod_ssml/mod_ssml.c | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/src/mod/formats/mod_ssml/mod_ssml.c b/src/mod/formats/mod_ssml/mod_ssml.c
index 8b172721c7..ae2670a74c 100644
--- a/src/mod/formats/mod_ssml/mod_ssml.c
+++ b/src/mod/formats/mod_ssml/mod_ssml.c
@@ -259,17 +259,6 @@ static int process_tag(struct ssml_parser *parser, const char *name, char **atts
 	return IKS_BADXML;
 }
 
-/**
- * Handle tag attributes that are ignored
- * @param parser the parser
- * @param atts the attributes
- * @return IKS_OK
- */
-static int process_attribs_ignore(struct ssml_parser *parser, char **atts)
-{
-	return IKS_OK;
-}
-
 /**
  * Handle CDATA that is ignored
  * @param parser the parser
@@ -395,6 +384,19 @@ static struct voice *find_say_voice(struct ssml_node *cur_node)
 	return find_voice(cur_node, globals.say_voice_map, "say", 1);
 }
 
+/**
+ * Handle tag attributes that are ignored
+ * @param parser the parser
+ * @param atts the attributes
+ * @return IKS_OK
+ */
+static int process_attribs_ignore(struct ssml_parser *parsed_data, char **atts)
+{
+	struct ssml_node *cur_node = parsed_data->cur_node;
+	cur_node->tts_voice = find_tts_voice(cur_node);
+	return IKS_OK;
+}
+
 /**
  * open next file for reading
  * @param handle the file handle