[Asterisk-Users] astcc: need partial pin code

Benchev bbench at mail.bg
Thu Apr 27 05:07:31 MST 2006


 Hi Ronald,
Small mistake, see bellow:
Benchev
> Just to give you an idea
> I would suggest you to make two .agi files:
> astcc.agi and astcc-disa.agi
> In astcc.agi you'd leave everithing as it is, and enable
> PIN =YES through the astcc-admin.cgi.
> Thus you could dial without interogation:
> exten => _1NXXNXXXXXX,1,DeadAGI(astcc.agi,${CALLERIDNUM},${EXTEN},4)
>
> astcc-disa.agi is a copy of astcc.agi so
> # cp astcc.agi astcc-disa.agi.
> # pico astcc-disa.agi.
pico astcc.agi.
> Find the line:
> # At this point we have a valid card number.
> and coment out everything until:
> # At this point we have a valid card and pin number.
> You can dial from outside:
> exten => 1234567894,1,DeadAGI(astcc-disa.agi)
> and will de asked for cardnumber and pin.
>
> Some mobile phones support "w" inside of a dialstring i.e.
> 1234567894w123456789012#w159753# .Fist part is the
> DID you dial to enter * .
> * asks for a cardnumber and the mobile waits for you on "w"
> to push"Enter",
> * asks for a pin and phone waits for you on "w" to push "Enter"
> for the last string.
> After all that you would here:Please enter the number you wish to dial...



More information about the asterisk-users mailing list