Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Generic Module and Increment counter

Status
Not open for further replies.

snowman50

Technical User
Nov 17, 2007
2,608
GB
Hi Guys

I have Built a Conference Bridge Module and all is working fine.
I have now intoduced a password check and if the password is wrong it goes back to the start with a home module to try again.
This works well.

The only problem is it will keep on allowing the user to try again as many times as they like.
What i want is to introduce a limit of 3 attempts.

I am trying to us the Generic Module to add a value off 3 to allow a password to be entered 3 times
then use the Increment counter with True or False to count the amount off attempts they have tried and if it matches route the call to a receptionist.

I dont seem to get past 1 attempt..so not sure as to were the counting values are set.
or if i am setting them right.

I am not finding the help module Explaining it properly( me understanding it Right)

So basically if the callers trys 3 attempts with the wrong password they go to the Receptionist.
If the password is correct they go to record your name and transfer to Conf Bridge as normall. ( this works ok).

Can you guide on how to do this.
Many thanks...Still learning
 
Use a menu and add a custom key sequence that matches the password, then you can use the max retries setting in there :)

 
Thanks -amriddle01

Yes that would be fine.
I will keep that in mind.

The conference module has the ability for the Administrator to change it so the password is not always the same.
I suppose it could be changed at the menu level with the vmpro client and use a more secure password.

I was trying to keep the admin via phone options .
The administrator can change it on a call basis to prevent others dialling in if not invited.
 
Create a module to write the password into a user variable. You can try to work with incrementing counters as a cancellation check. I think in your case it is easier to just put the menu and the password check three times.
 
Thanks guys.

Yes I think the menu idea is best.

I did eventually see the FAQ ,,set up conference....don't know how I missed this part of it as I usually go down this route first,

Quote

Connect the False of the Test User Variable Action to whatever you want to take place if the person dials the wrong PIN. (I usually connect it to another Test User Variable Action to give them a second chance and then connect the false of the second Test User Variable Action to a Transfer to the Receptionist.)
 
Update:

Ok so I got this to work the way I wanted.

I can now get 3 try's to input the password and route the call to reception if this us reached.

I used the increment test condition and set the counter to 1 and value set to 3.

This allowed me to try the password 3 tines :
False: sent the call to the home menu to try again.
True : sent the call to reception when the value reaches 3

I originally had a generic module set up with counter set to 3 and a value of 1
This then went to the increment test condition to check the value.

But this didn't work as the generic module was bypassed.
So I removed it.

I never used these before and thought you had to test against the generic module condition. The help files to me were not that clear.

That's for the help by the way.

The menu system was useful.

 
If multiple callers pass through the module then they share in the test counter though....and you need to reset the counter at some point :)

 
Hmmm. I never thought of that..

I just kept trying 3 times
Then tried it again at it seem to work ok

But that was me just dialing internally using the shortcode.
Dialling wrong passwords 3 times to see what would happen.

We'll at least now I know how to use it properly.
Thank you for the advice.
 
It should work if you increase any of the CP variables because they are individual for any call.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top