I have a gateway, which I call from my mobile phone (free of charge, since it is the same phone company). This gateway gives me a dial tone. I can than dial to any extension number or even other gateways, .... It is getting more a trouble to remember all the numbers, or to key in all the long phone numbers when you got the dialtone. I was thinking of using for this Sphinx2. How can I implement that? I should dial to a "sphinx2" extension number, what could be 111 and than I say the name of the user I want to call to. Example: 1. dialing the gateway 2. waiting for the dialtone 3. key in 111 4. waiting for the prompt 5. say the users name: "Peter" 6. call Peter's number: 2345678 Has anybody done something like that (partially) before? bye Ronald Wiplinger
Ya, we do, but it's ugly. If you'd care to follow along here's what I did: I set up sphinx2 like at http://turnkey-solution.com/asterisk-sphinx.html including the sphinx-netserver.pl and sphinx-netclient.pl, but didn't worry about their perl snippet at the end. I followed their suggestions regarding replacing the default hmm/6k acoustic model. To make the dictionary, I made a list of people we want included in a text file, for example: PIZZA EXPRESS SUBWAY MCDONALDS and went to the dictionary-creating link referenced in the howto: http://www.speech.cs.cmu.edu/tools/lmtool.html -- uploaded my new text file and got back a dictionary file to install as per the howto. Note the instructions regarding modifying sphinx-netserver.pl to use the dictionary you just made. Also note that sphinx-netserver.pl and sphinx-netclient.pl have some line-wrap problems and won't run as copied from their page without backspacing some lines back together. For example, in sphinx-netserver.pl were two lines that read: $MAX_CLIENTS_PER_CHILD = 50; #number of clients each child should process and the "should process" was part of the prior line's comment and needed to be brought up there or deleted entirely. I then created a file I called number_map that consists of two tab-separated columns. The fist column contains exactly the same data as the dictionary file you made earlier, and the second column contains the number to dial: PIZZA EXPRESS<tab>9664638<enter> SUBWAY<tab>7477827<enter> etc... number_map goes in the agi-bin directory along with voice_dir.php, my php agi interface to the whole deal. voice_dir.php refers to sounds "hcllc-voicedir-sayname" -- this contains "Please say the name of the person you wish to call" and "hcllc-voicedir-name-unconfigured" which contains something like "That name is unconfigured at present". at http://horanappraisals.com/asterisk/voice_dir you'll find number_map and voice_dir.php to be both placed into your agi directory. hope this helps! Sorry it's so kludgey, there's only a few people in our office, so we can be fairly confident everyone knows how to use it safely. Moj Ronald Wiplinger wrote:> I have a gateway, which I call from my mobile phone (free of charge, > since it is the same phone company). > This gateway gives me a dial tone. I can than dial to any extension > number or even other gateways, .... > > It is getting more a trouble to remember all the numbers, or to key in > all the long phone numbers when you got the dialtone. > > I was thinking of using for this Sphinx2. How can I implement that? I > should dial to a "sphinx2" extension number, what could be 111 and than > I say the name of the user I want to call to. > > Example: > 1. dialing the gateway > 2. waiting for the dialtone > 3. key in 111 > 4. waiting for the prompt > 5. say the users name: "Peter" > 6. call Peter's number: 2345678 > > Has anybody done something like that (partially) before? > > > bye > > Ronald Wiplinger > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Mojo <mojo@horanappraisals.com> Office Manger, Horan & Company, LLC (907) 747-6666 x112
Anyone played with Sphinx2 and Asterisk much? I followed the docs at: http://turnkey-solution.com/asterisk-sphinx.html and after getting the server up and running, streamed it some wav files with the client. It's interpretation of the word 'yes' from two different people was 'YOU HALF' and 'THE'. I even used the supposedly more accurate dictionary. That seems pretty bad to me! Doug.
The docs at that URL say that the dictionary has 'yes' in it... although I don't understand how I can get replies like 'YOU HALF' if it doesn't exist in the dictionary.> -----Original Message----- > From: Matt Riddell (IT) [mailto:matt.riddell@sineapps.com] > Sent: Thursday, September 14, 2006 3:36 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Sphinx2 > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Douglas Garstang wrote: > > Anyone played with Sphinx2 and Asterisk much? > > > > I followed the docs at: > > http://turnkey-solution.com/asterisk-sphinx.html > > > > and after getting the server up and running, streamed it > some wav files with the client. > > > > It's interpretation of the word 'yes' from two different > people was 'YOU HALF' and 'THE'. I even used the supposedly > more accurate dictionary. That seems pretty bad to me! > > If you only have 4 words in your dictionary then obviously it > will give > false positives. > > If you had "you", "half" and "the" in the dictionary then it > would match > those easier. > > - -- > Cheers, > > Matt Riddell > _______________________________________________ > > http://www.sineapps.com/news.php (Daily Asterisk News - html) > http://wap.sineapps.com (Daily Asterisk News for your cellphone) > http://feeds.feedburner.com/AsteriskNews (Daily Asterisk News - rss) > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFFCctLS6d5vy0jeVcRAqz/AJ9mDkrlTHarGmi2hZNlp4VWvMSsJACeN4GQ > x1hQfOJRKevWb4UXabx0J8w> =SVkT > -----END PGP SIGNATURE----- > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
What sphinx documentation? All I could find was docs on the code, not on how to USE the software.> -----Original Message----- > From: Matt Riddell (IT) [mailto:matt.riddell@sineapps.com] > Sent: Friday, September 15, 2006 1:18 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Sphinx2 > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Douglas Garstang wrote: > > The docs at that URL say that the dictionary has 'yes' in > it... although I don't understand how I can get replies like > 'YOU HALF' if it doesn't exist in the dictionary. > > Did you read the Sphinx documentation? > > Rather heavy but describe everything! > > - -- > Cheers, > > Matt Riddell > _______________________________________________ > > http://www.sineapps.com/news.php (Daily Asterisk News - html) > http://wap.sineapps.com (Daily Asterisk News for your cellphone) > http://feeds.feedburner.com/AsteriskNews (Daily Asterisk News - rss) > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFFClPCS6d5vy0jeVcRAuxRAJ42PI/Q3rafvTgwcqHj1MuTRX/RMQCeO7rj > U8mKPJSOl/+cWQuEvKhur+w> =AezC > -----END PGP SIGNATURE----- > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Douglas Garstang wrote:> What sphinx documentation? All I could find was docs on the code, not on how to USE the software.:) One and the same! Sphinx is not a commercial application. I think you might have been mistaken, and are actually looking for LumenVox!!! - -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://wap.sineapps.com (Daily Asterisk News for your cellphone) http://feeds.feedburner.com/AsteriskNews (Daily Asterisk News - rss) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFCwWcS6d5vy0jeVcRApE4AJ9RKh+Z9XJfPev/0SJddM89v0AyvACeOLVd Bs+8pKlmjQAA6UF1dZiw0/E=VVtE -----END PGP SIGNATURE-----
Sphinx must have been written by the same people as Asterisk then...> -----Original Message----- > From: Matt Riddell (IT) [mailto:matt.riddell@sineapps.com] > Sent: Friday, September 15, 2006 1:57 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Sphinx2 > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Douglas Garstang wrote: > > What sphinx documentation? All I could find was docs on the > code, not on how to USE the software. > > :) One and the same! > > Sphinx is not a commercial application. > > I think you might have been mistaken, and are actually looking for > LumenVox!!! > > - -- > Cheers, > > Matt Riddell > _______________________________________________ > > http://www.sineapps.com/news.php (Daily Asterisk News - html) > http://wap.sineapps.com (Daily Asterisk News for your cellphone) > http://feeds.feedburner.com/AsteriskNews (Daily Asterisk News - rss) > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFFCwWcS6d5vy0jeVcRApE4AJ9RKh+Z9XJfPev/0SJddM89v0AyvACeOLVd > Bs+8pKlmjQAA6UF1dZiw0/E> =VVtE > -----END PGP SIGNATURE----- > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >