mod_cepstral and session.hangup() in javascript
Hi all! On September 9 there was a change in mod_cepstral to switch to dynamic buffers, but at the same time the buffer size got reduced. As a result, the module broke and in some situations it cut off sounds, crapping out totally the TTS. I restore the buffer size to the old value (1024 * 256) and it works perfectly again! Can somebody patch the trunk as most probably I don't have the rights to do so. Also, some of the commits to the core today fixed the problem with session.hangup() in javascript not closing the session. Now, it works properly! Thanks, guys! Nikolay Kolev kolev @ #freenode
Can you give me an example of what will break it. I would prefer to find out why. Because it's dynamic the size grows by itself which is why the size is less now. When I made this change I tested it against mod_rss from slashdot which generates huge multi paragraphs of tts data. Something else in the meantime may have re-broken it but I will investigate while I wait for your reply. Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com JABBER:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@66.250.68.194 iax:guest@66.250.68.194/888 googletalk:freeswitch@gmail.com pstn:712-432-7800 ----- Original Message ---- From: Nikolay Kolev <me@nikolay.com> To: freeswitch-dev@lists.freeswitch.org Sent: Wednesday, September 20, 2006 1:30:21 AM Subject: [Freeswitch-dev] mod_cepstral and session.hangup() in javascript Hi all! On September 9 there was a change in mod_cepstral to switch to dynamic buffers, but at the same time the buffer size got reduced. As a result, the module broke and in some situations it cut off sounds, crapping out totally the TTS. I restore the buffer size to the old value (1024 * 256) and it works perfectly again! Can somebody patch the trunk as most probably I don’t have the rights to do so. Also, some of the commits to the core today fixed the problem with session.hangup() in javascript not closing the session. Now, it works properly! Thanks, guys! Nikolay Kolev kolev @ #freenode _______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
I found the bug, I had to reset a pointer when reallocing memory for the buffer. it should be fixed in trunk now. Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com JABBER:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@66.250.68.194 iax:guest@66.250.68.194/888 googletalk:freeswitch@gmail.com pstn:712-432-7800 ----- Original Message ---- From: Nikolay Kolev <me@nikolay.com> To: freeswitch-dev@lists.freeswitch.org Sent: Wednesday, September 20, 2006 1:30:21 AM Subject: [Freeswitch-dev] mod_cepstral and session.hangup() in javascript Hi all! On September 9 there was a change in mod_cepstral to switch to dynamic buffers, but at the same time the buffer size got reduced. As a result, the module broke and in some situations it cut off sounds, crapping out totally the TTS. I restore the buffer size to the old value (1024 * 256) and it works perfectly again! Can somebody patch the trunk as most probably I don’t have the rights to do so. Also, some of the commits to the core today fixed the problem with session.hangup() in javascript not closing the session. Now, it works properly! Thanks, guys! Nikolay Kolev kolev @ #freenode _______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Great, Anthony! It works perfectly! The only problem I'm having w/ mod_cepstral is that if you let it say "Goodbye!", for example, you'll hear just "Bye!" (David 8kHz) and it's valid for most phrases - it cuts off the first sounds, but it might be something outside of FreeSwitch, I guess. Nikolay Kolev kolev @ #freenode _____ From: Anthony Minessale [mailto:anthmct@yahoo.com] Sent: Wednesday, September 20, 2006 7:25 AM To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] mod_cepstral and session.hangup() in javascript I found the bug, I had to reset a pointer when reallocing memory for the buffer. it should be fixed in trunk now. Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com JABBER:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@66.250.68.194 iax:guest@66.250.68.194/888 googletalk:freeswitch@gmail.com pstn:712-432-7800 ----- Original Message ---- From: Nikolay Kolev <me@nikolay.com> To: freeswitch-dev@lists.freeswitch.org Sent: Wednesday, September 20, 2006 1:30:21 AM Subject: [Freeswitch-dev] mod_cepstral and session.hangup() in javascript Hi all! On September 9 there was a change in mod_cepstral to switch to dynamic buffers, but at the same time the buffer size got reduced. As a result, the module broke and in some situations it cut off sounds, crapping out totally the TTS. I restore the buffer size to the old value (1024 * 256) and it works perfectly again! Can somebody patch the trunk as most probably I don't have the rights to do so. Also, some of the commits to the core today fixed the problem with session.hangup() in javascript not closing the session. Now, it works properly! Thanks, guys! Nikolay Kolev kolev @ #freenode _______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org <http://www.freeswitch.org/>
I commited a patch last night to pad any generated audio with 1280 bytes (80 ms) silence. See if that helps. Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com JABBER:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@66.250.68.194 iax:guest@66.250.68.194/888 googletalk:freeswitch@gmail.com pstn:712-432-7800 ----- Original Message ---- From: Nikolay Kolev <me@nikolay.com> To: freeswitch-dev@lists.freeswitch.org Sent: Wednesday, September 20, 2006 10:47:52 AM Subject: Re: [Freeswitch-dev] mod_cepstral and session.hangup() in javascript Great, Anthony! It works perfectly! The only problem I’m having w/ mod_cepstral is that if you let it say “Goodbye!”, for example, you’ll hear just “Bye!” (David 8kHz) and it’s valid for most phrases - it cuts off the first sounds, but it might be something outside of FreeSwitch, I guess. Nikolay Kolev kolev @ #freenode From: Anthony Minessale [mailto:anthmct@yahoo.com] Sent: Wednesday, September 20, 2006 7:25 AM To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] mod_cepstral and session.hangup() in javascript I found the bug, I had to reset a pointer when reallocing memory for the buffer. it should be fixed in trunk now. Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com JABBER:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@66.250.68.194 iax:guest@66.250.68.194/888 googletalk:freeswitch@gmail.com pstn:712-432-7800 ----- Original Message ---- From: Nikolay Kolev < me@nikolay.com > To: freeswitch-dev@lists.freeswitch.org Sent: Wednesday, September 20, 2006 1:30:21 AM Subject: [Freeswitch-dev] mod_cepstral and session.hangup() in javascript Hi all! On September 9 there was a change in mod_cepstral to switch to dynamic buffers, but at the same time the buffer size got reduced. As a result, the module broke and in some situations it cut off sounds, crapping out totally the TTS. I restore the buffer size to the old value (1024 * 256) and it works perfectly again! Can somebody patch the trunk as most probably I don’t have the rights to do so. Also, some of the commits to the core today fixed the problem with session.hangup() in javascript not closing the session. Now, it works properly! Thanks, guys! Nikolay Kolev kolev @ #freenode _______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org _______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (2)
-
Anthony Minessale
-
Nikolay Kolev