mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-24 11:48:48 +00:00
FS-6083 --resolve mod_ssml fixed <prosody>
This commit is contained in:
parent
7e71d85550
commit
d25d1293bc
@ -259,17 +259,6 @@ static int process_tag(struct ssml_parser *parser, const char *name, char **atts
|
|||||||
return IKS_BADXML;
|
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
|
* Handle CDATA that is ignored
|
||||||
* @param parser the parser
|
* @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);
|
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
|
* open next file for reading
|
||||||
* @param handle the file handle
|
* @param handle the file handle
|
||||||
|
Loading…
x
Reference in New Issue
Block a user