Matthew A Kolberg
2010-Feb-28 16:58 UTC
[asterisk-users] AUTHENTICATE Command customized prompts - Work around
Thanks Steve your work around works great. To ASTERISK.org moderator - If possible I would like to submit this as a feature request. Thanks! On Sat, 27 Feb 2010, Matthew A Kolberg wrote:> I was surprised to find that you can not override the default voice > prompts when using the Authenticate Command. I have viewed the source > and the prompt file names are hard coded. I am developing an > application that use the Authenticate command to use "one use" PINs > located in the Asterisk Database. I had all of the recordings for the > application recorded by a professional voice talent. It seems odd that > I can not specify an option when calling the Authenticate command to > provide my own recordings. > > The only 2 work arounds that I have come up with are - change the system> recordings (which will change them for any application that uses the > same recordings). Or I could write my own application to authenticate > the PINs and not use the authenticate command. > > Does anyone else think that this feature would be useful or am I looking> at this the wrong way?Steve's Trick Below: I have not tried this with the authenticate() application, but you can "trick" Asterisk into using your own prompts by [ab]using the LANGUAGE() function. Something like: exten = *,n, set(LANGUAGE()=my-pin-prompts) or exten = *,n, set(LANGUAGE()=my-pin-prompts/${CLIENT}) may work. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 Matthew A. Kolberg www.justask.net mkolberg at justask.net ___________________________________ Just ask for ASK Taking the hassle out of technology so you can run your business. 1-877-ASK-4-ASK Did you know you can chat online with us? http://www.justask.net/support Follow ASK on twitter at: http://twitter.com/justasknet -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100228/87097b5e/attachment.htm
Steve Edwards
2010-Feb-28 17:44 UTC
[asterisk-users] AUTHENTICATE Command customized prompts - Work around
On Sun, 28 Feb 2010, Matthew A Kolberg wrote:> Thanks Steve your work around works great. > > To ASTERISK.org moderator - If possible I would like to submit this as a > feature request.FYI, there is no moderator. The best way to get a feature added to Asterisk is to do it yourself (or hire/bribe someone to do it for you), making sure the code follows the coding standards, and filing the proper releases. Then you have a pretty good shot of having your feature accepted and maintained. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
Hi All, Can any one please suggest me a Card which is economical.. My requirement is one FXO and one FSO. Also, as steve suggested I cannot use ATA because the out put to ATA-SPA is SIP. I want to make use of DHAHII(interface) so looking f card ----- a card, a Digium TDM410p. I've used the TDM400p and it worked fine. For an ATA, a Linksys SPA3102. I have a SPA3000 I still use on occasion. For a USB, Sangoma has a cute little FXO adapter. I've never used it but Sangoma has a good reputation. Also take a look at Xorcom and see if they have anything that fits. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100228/c5f2376b/attachment.htm