[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pfsense-dev
Subject:    [pfS-Dev] Voucher DB / SMS Validation
From:       Morten Bech Christensen <morten () harbor ! dk>
Date:       2015-05-07 13:57:28
Message-ID: C6D17E18-1A7F-4075-A1A5-0B7F6BC5637E () harbor ! dk
[Download RAW message or body]

Hi all,

Is it possible from a PHP Portal Validation page to get a valid unused ticket?


GOAL: To create a 2-step validation page in the jail where;
1) A visitor is prompted for a mobile phone number and submits this.
2) The Visitor page queries PFSense to get a unused voucher (NOT WORKING) - and sends \
this voucher to the mobile number as a SMS (this is working) 3) When the Visitor gets \
the SMS with the voucher, this voucher can be entered to the Validation page

I have tried to manually get the voucher from /var/db/voucher… but that seems not \
to be the way, so I'm guessing a php function or some system call on the validation \
page.

Help appreciated.




_______________________________________________
Dev mailing list
Dev@lists.pfsense.org
https://lists.pfsense.org/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic