darrensessions / app_swift

app_swift
http://www.darrensessions.com
GNU General Public License v2.0
15 stars 30 forks source link

app_swift doesn't speak any text #3

Closed klpgo closed 6 years ago

klpgo commented 11 years ago

Subroutine app_exec() doesn't seem to work. Variable argv is initialized with 0, but no data copied into. Therefore ast_strlen_zero(text) is always true and message "%s requires text to speak!" is reported.

Thanks, Klaus

sprior commented 11 years ago

I've got the same issue - Cepstral Allison ver 5.1 voice, Asterisk 1.8, 6 4bit system.

sprior commented 11 years ago

If you go back in the git history and revert to commit "Merge pull request #1 from mojolingo/master and build the asterisk1.8 directory that's still there it should work (just did for me). It looks like the merged version screwed up the code - I checked and that merged code doesn't even seem to make the call to parse its arguments.

jkister commented 11 years ago

might want to try my fork, not sure if darren is keeping up with this code.

FYI, i have just gotten my fork running, seems to behave on Asterisk 11 and Asterisk 1.8. it's probably broken on 1.4/1.6. git://github.com/jkister/app_swift.git

klpgo commented 11 years ago

Hi Jeremy,

thanks for the link. I’ll give it a try.

Thanks,

Klaus

Klaus Gottschalk

0711-7286943

Klaus.gottschalk@kgem.de

From: Jeremy Kister [mailto:notifications@github.com] Sent: Freitag, 25. Januar 2013 04:28 To: dmsessions/app_swift Cc: kgottschalk Subject: Re: [app_swift] app_swift doesn't speak any text (#3)

might want to try my fork, not sure if darren is keeping up with this code.

FYI, i have just gotten my fork running, seems to behave on Asterisk 11 and Asterisk 1.8. it's probably broken on 1.4/1.6. git://github.com/jkister/app_swift.git

— Reply to this email directly or view it on GitHub https://github.com/dmsessions/app_swift/issues/3#issuecomment-12686523 .

https://github.com/notifications/beacon/Jshd8sI44GVrKZBvymxqKAROGIAHE8zJhOfJ7xRUmp46ztdm9vpM3wBwIjatLqXl.gif

klpgo commented 11 years ago

Hi Jeremy,

thanks, it works. Had to add some linker options for asterisk version 1.8.20, otherwise the module did not load. See this article for the solution http://www.j-mb.de/blog/tag/undefined-symbol-swift_port_close/.

Thanks,

Klaus

From: Jeremy Kister [mailto:notifications@github.com] Sent: Freitag, 25. Januar 2013 04:28 To: dmsessions/app_swift Cc: kgottschalk Subject: Re: [app_swift] app_swift doesn't speak any text (#3)

might want to try my fork, not sure if darren is keeping up with this code.

FYI, i have just gotten my fork running, seems to behave on Asterisk 11 and Asterisk 1.8. it's probably broken on 1.4/1.6. git://github.com/jkister/app_swift.git

— Reply to this email directly or view it on GitHub https://github.com/dmsessions/app_swift/issues/3#issuecomment-12686523 .

https://github.com/notifications/beacon/Jshd8sI44GVrKZBvymxqKAROGIAHE8zJhOfJ7xRUmp46ztdm9vpM3wBwIjatLqXl.gif