Hi Shakeel, I had the same problem building app_swift (1.6..) myself and searched the web far-and-wide for a solution. I eventually contacted Darren Sessions -- who was maintaining that plug-in -- about a month ago. He was involved in another project and said he might be able get to it after a few weeks. But, since then, his website http://www.darrensessions.com/ has gone out of comission. I think we may be on our own on this one! Todd ----- Forwarded Message ---- From: Todd Fulton <todd.fulton at yahoo.com> To: Todd Fulton <todd.fulton at yahoo.com> Sent: Wednesday, August 26, 2009 10:59:34 AM Subject: [asterisk-users] app_swift issue Hello I have installed cepstral .... It works woderfull using an agi script but ..... when i try to use Swift("say this") is Dial plan .... I get the error [Aug 26 12:30:18] WARNING[7420]: pbx.c:3167 pbx_extension_helper: No application 'Swift' for extension (actdemo, 123, 2) Now i come to know to install app_swift Here is the issue... when i try to execute make command on app_swift-1.6.2 I get the following error [root at asterisk app_swift-1.6.2]# make gcc -I/opt/swift/include -g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC -c -o app_swift.o app_swift.c app_swift.c: In function ?engine?: app_swift.c:402: error: incompatible types in assignment app_swift.c: In function ?load_module?: app_swift.c:546: error: ?AST_MODULE? undeclared (first use in this function) app_swift.c:546: error: (Each undeclared identifier is reported only once app_swift.c:546: error: for each function it appears in.) make: *** [app_swift.o] Error 1 Now i am thinking to edit app_swift.c but AST_MODULE is not defined in app_swift.c i commented this line ""//#define AST_MODULE "app_swift"" but in vain .... Please help static int load_module(void) { int res; const char *t = NULL; struct ast_config *cfg; struct ast_flags config_flags = { 0 }; // Set defaults cfg_buffer_size = 65535; cfg_goto_exten = 0; strncpy(cfg_voice, "David-8kHz", sizeof(cfg_voice)); res = ast_register_application(app, engine, synopsis, descrip); cfg = ast_config_load(SWIFT_CONFIG_FILE, config_flags); if (cfg) { if ((t = ast_variable_retrieve(cfg, "general", "buffer_size"))) { cfg_buffer_size = atoi(t); ast_log(LOG_DEBUG, "Config buffer_size is %d\n", cfg_buffer_size); } if ((t = ast_variable_retrieve(cfg, "general", "goto_exten"))) { if (!strcmp(t, "yes")) cfg_goto_exten = 1; else cfg_goto_exten = 0; ast_log(LOG_DEBUG, "Config goto_exten is %d\n", cfg_goto_exten); } ast_config_destroy(cfg); } else { ast_log(LOG_NOTICE, "Failed to load config\n"); } return res; } char *description(void) { return tdesc; } #define AST_MODULE "app_swift" AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Cepstral Swift TTS Application"); -- Best Regards Shakeel Abbas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090826/b8bd9aff/attachment.htm
Karl Fife
2009-Aug-26 19:54 UTC
[asterisk-users] Youmail DropBox - Email interface to Youmail transcription service
If you haven't heard, Youmail has recently created a drop-box email interface for their transcription service. As of right now, it's free, but whether free or paid, this may be good news for those on this list who want to annex transcripion functionality to your current mix of voicemail offerings. For example: We (like many) use Asterisk to integrate the voicemail of mobile, legacy PBX, and 'normal' Asterisk mailboxes to create a unified messaging interface. DropBox will allow us to tack on a transcription function with trivial effort. Before the DropBox interface you'd have needed to kludge up something like a drill-down bot to play the message to the youmail service in baseband audio. Imagine the efficiency of doing something like this: Re-relay [sic] the youmail transcription with the addtion of a special single-use URL (or even special Phone number), which, when visited by the subscriber (or momentarily called with the CallerID of the subscriber) would trigger a change to the status of that message back at the Asterisk mothership. In this way, the end user (if satisfied with the transcription) could opt out of the need to manually visit the audio interface of their voicmail box for a properly transcribed message. We've been impressed with the performance of youmail within the silo of it's normal customer-facing UI, but we have not yet had a chance to test drive DropBox as integrated with Asterisk. We plan to do so shortly after we put out a few fires and free up some creative bandwidth. Youmail on geting started with DropBox (FAQ): http://www.youmail.com/help/view/faq_dropoff_start -Karl -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090826/058d1e40/attachment.htm
You could just use the dialplan and a small agi or something to create the wav file and then play the file -- at least this is what I did. Todd Fulton <todd.fulton at yahoo.com> wrote:> Hi Shakeel, > > I had the same problem building app_swift (1.6..) myself and searched the web far-and-wide for a solution. I eventually contacted Darren Sessions -- who was maintaining that plug-in -- about a month ago. He was involved in another project and said he might be able get to it after a few weeks. But, since then, his website http://www.darrensessions.com/ has gone out of comission. > > I think we may be on our own on this one! > > > Todd > > > > ----- Forwarded Message ---- > From: Todd Fulton <todd.fulton at yahoo.com> > To: Todd Fulton <todd.fulton at yahoo.com> > Sent: Wednesday, August 26, 2009 10:59:34 AM > Subject: [asterisk-users] app_swift issue > > > Hello > > I have installed cepstral .... It works woderfull using an agi script but > ..... > when i try to use Swift("say this") is Dial plan .... I get the error > > [Aug 26 12:30:18] WARNING[7420]: pbx.c:3167 pbx_extension_helper: No > application 'Swift' for extension (actdemo, 123, 2) > > > > Now i come to know to install app_swift > > > Here is the issue... > > when i try to execute make command on app_swift-1.6.2 > > I get the following error > > [root at asterisk app_swift-1.6.2]# make > gcc -I/opt/swift/include -g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC -c -o > app_swift.o app_swift.c > app_swift.c: In function ?engine?: > app_swift.c:402: error: incompatible types in assignment > app_swift.c: In function ?load_module?: > app_swift.c:546: error: ?AST_MODULE? undeclared (first use in this function) > app_swift.c:546: error: (Each undeclared identifier is reported only once > app_swift.c:546: error: for each function it appears in.) > make: *** [app_swift.o] Error 1 > > > > Now i am thinking to edit app_swift.c but AST_MODULE is not defined in > app_swift.c > > i commented this line ""//#define AST_MODULE "app_swift"" > > but in vain .... Please help > > static int load_module(void) > { > int res; > const char *t = NULL; > struct ast_config *cfg; > struct ast_flags config_flags = { 0 }; > > // Set defaults > cfg_buffer_size = 65535; > cfg_goto_exten = 0; > strncpy(cfg_voice, "David-8kHz", sizeof(cfg_voice)); > > res = ast_register_application(app, engine, synopsis, descrip); > cfg = ast_config_load(SWIFT_CONFIG_FILE, config_flags); > > if (cfg) { > if ((t = ast_variable_retrieve(cfg, "general", "buffer_size"))) { > cfg_buffer_size = atoi(t); > ast_log(LOG_DEBUG, "Config buffer_size is %d\n", > cfg_buffer_size); > } > if ((t = ast_variable_retrieve(cfg, "general", "goto_exten"))) { > if (!strcmp(t, "yes")) > cfg_goto_exten = 1; > else > cfg_goto_exten = 0; > ast_log(LOG_DEBUG, "Config goto_exten is %d\n", cfg_goto_exten); > } > > ast_config_destroy(cfg); > > } else { > ast_log(LOG_NOTICE, "Failed to load config\n"); > } > > return res; > } > > char *description(void) > { > return tdesc; > } > > > > #define AST_MODULE "app_swift" > > AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Cepstral Swift TTS > Application"); > > > > > > > > > -- > Best Regards > Shakeel Abbas > ---------------------------------------------------- > Alternatives: > > ---------------------------------------------------- > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2009 - October 13 - 15 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com
Thanks Todd and Covici Todd what Covici said i have done it already but i was thinking it may be slow.... I also come to know from various resources that app_swift is good in performance etc etc however Todd FYI you can use this link to accomplish what Covici said using this link ==http://samyantoun.50webs.com/asterisk/freepbx/clarkconnect/4.0/swift.htm Any one else if know the issue what we are doing wrong or app_swift is doing wrong to us ;) -- Best Regards Shakeel Abbas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090827/c5b97335/attachment.htm
<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;">Thanks for the link!<br><br> <blockquote webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size: 10pt; color: black; font-family: verdana;"> <div > -------- Original Message --------<br> Subject: Re: [asterisk-users] Fw: app_swift issue<br> From: ABBAS SHAKEEL <shakeel.abbas.qau@gmail.com><br> Date: Wed, August 26, 2009 7:37 pm<br> To: Asterisk Users Mailing List - Non-Commercial Discussion<br> <asterisk-users@lists.digium.com><br> <br> Thanks Todd and Covici<br><br><br>Todd what Covici said i have done it already but i was thinking it may be slow.... <br><br>I also come to know from various resources that app_swift is good in performance etc etc<br><br> however Todd FYI you can use this link to accomplish what Covici said using this link === <a href="http://samyantoun.50webs.com/asterisk/freepbx/clarkconnect/4.0/swift.htm" target="_blank" mce_href="http://samyantoun.50webs.com/asterisk/freepbx/clarkconnect/4.0/swift.htm">http://samyantoun.50webs.com/asterisk/freepbx/clarkconnect/4.0/swift.htm</a><br> <br><br>Any one else if know the issue what we are doing wrong or app_swift is doing wrong to us ;)<br><br><br>-- <br>Best Regards<br>Shakeel Abbas<br><br> <hr>_______________________________________________<br> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank" mce_href="http://www.api-digital.com">http://www.api-digital.com</a> --<br> <br> AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br> Register Now: <a href="http://www.astricon.net" target="_blank" mce_href="http://www.astricon.net">http://www.astricon.net</a><br> <br> asterisk-users mailing list<br> To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" mce_href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a> </div> </blockquote></span></body></html>