[Asterisk-cvs] asterisk/include/asterisk say.h,1.7,1.8
markster at lists.digium.com
markster at lists.digium.com
Wed Apr 28 22:23:33 CDT 2004
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv13143/include/asterisk
Modified Files:
say.h
Log Message:
Add support for French, Danish, Portuguese, Spanish, Italian, and Dutch numbers
Index: say.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/say.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- say.h 13 Sep 2003 20:51:48 -0000 1.7
+++ say.h 29 Apr 2004 02:30:14 -0000 1.8
@@ -29,10 +29,11 @@
* \param num number to say on the channel
* \param ints which dtmf to interrupt on
* \param lang language to speak the number
+ * \param options set to 'f' for female, 'm' for masculine (used in portuguese)
* Vocally says a number on a given channel
* Returns 0 on success, DTMF digit on interrupt, -1 on failure
*/
-int ast_say_number(struct ast_channel *chan, int num, char *ints, char *lang);
+int ast_say_number(struct ast_channel *chan, int num, char *ints, char *lang, char *options);
/* Same as above with audiofd for received audio and returns 1 on ctrlfd being readable */
int ast_say_number_full(struct ast_channel *chan, int num, char *ints, char *lang, int audiofd, int ctrlfd);
More information about the svn-commits
mailing list