[Freeswitch-users] Searching for an application similar to Asterisks 'Authenticate'

Anthony Minessale anthony.minessale at gmail.com
Tue Dec 27 03:13:52 MSK 2011


In recent versions you can use the voicemail app using "check auth_only
<exten>" args to auth against a user and it will either continue in the dp
or hangup on you with an error message.

On Mon, Dec 26, 2011 at 3:36 PM, Michael Collins <msc at freeswitch.org> wrote:

> You can do this with play_and_get_digits. Just put the correct "pin" value
> in the regex value of pagd. If they enter the incorrect value then just
> have the "failure" value be a transfer to a "thank you, goodbye" extension
> or something like that.
>
> This is your basic pagd syntax:
> <action application="play_and_get_digits" data="4 4 3 # /enter_pin.wav
> /invalid_entry.wav digits 1234 2000 oops "/>
>
> (Note that you need to use real file names - see the play_and_get_digits
> syntax for all the details.)
>
> Then you need an "oops" extension for when they enter the wrong value"
>
> <extension name="oops, wrong PIN">
>   <condition field="destination_number" expression="^oops$">
>      <action application="playback" data="too_many_failed_entries.wav"/>
>      <action application="hangup"/>
>   </condition>
> </extension>
>
> (Again, you'll need a real sound file with some sort of message telling
> the caller that he/she entered too many failures. Check our list of sound
> files in the ivr subdir - there might be one you can use.)
>
> Have fun!
>
> -MC
>
>
> On Mon, Dec 26, 2011 at 1:06 PM, <georg at riseup.net> wrote:
>
>> Hi all,
>>
>> As the subject states: I'm searching for an application similar to
>> Asterisks 'Authenticate' [1]. The description writes: "The application
>> requires a user to enter a password in order to continue execution." I've
>> found on the wiki the function used for conference rooms, however I need
>> this for a public reachable phone number, which then leads to a call
>> redirection system.
>>
>> Thanks,
>> Georg
>>
>> [1] http://www.voip-info.org/wiki/view/Asterisk+cmd+Authenticate
>>
>>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111226/e4fdb648/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list