Ronald Wiplinger wrote:
I have not used astcc with pin codes so far, since I set-up the phone number as card number.

Some of my users want now to dial in to the system and than use their card, which is their phone number.
For that I would need a way of authentication, like a pin.

I want to use something like:
What is your card number:   <user keys in the number>
Enter your pin:    <user enter a long pin>
Enter your destination phone number: <user enters the destination phone number>

Is there a code snip available for that?

Keyin needs always more time, we need to allow longer spaces between the digits, therefore we need to allow the # to finish the dialstring faster. I wonder if we can use one dialstring for all: cardnumber*pin*destination-number

How can a user end the call and dial a new number, without hanging up?

The user has usually a desk phone (=card number), and this dialin should work parallel, but of course it assumes still that only one card is in use.


bye

Ronald Wiplinger

I tried now the examples in the wiki, but they do not fit!!!
If I use in configure Require Pins Yes  then everyone needs a pin code!
If I use in configure Require Pins NO then calling in people will just need to know a valid card number!!!

How can I overcome this?

How can I re-write:
exten => _77.,1,Answer
exten => _77.,2,DeadAGI(astcc.agi,${CALLERIDNUM},${EXTEN:2},3)
exten => _77.,3,Hangup

sothat the dialstring:
77*123456789012*159753*011886939775516 would be splitted into:
${CARDNUM}=123456789012
${PIN}=159753
${DESTINATION}=0118869397755516

with a mysql lookup of the cardnum in astcc get the pin and compare to the given pin. If all is ok, than use the dial command ????


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

Reply via email to