Hotspot redirection on login error

Hi everyone.

I have Mikrotik hotspot configure on an AP, authentication and billing is done using DMA Softlab software. User purchase ticket for logging on to use the Internet service via the hotspot captive portal. However for security reason all users are require to verify their ticket (one time only) on a verification page (DMA Softlab) before the ticket can be used for authentication on the radius server, otherwise if user try to logon from the captive portal without verification, he gets an error saying the tickets need to be validated before it can be used.

Is there a way to make hotspot redirect to the verification page when login on from the captive portal instead of the error message being returned? Because going to the verification page first then coming back to the captive portal page to logon is sometimes confusing for the new users.

Thanks

You could possibly create your own captive portal and redirect all users to it rather than letting the MT do the portal. This would give you more flexibility and control of how users are redirected and authenticated.

Thanks scotthammersley,

Can you give me direction on how or who can do this for me.

This is how the process work for now

  1. The client gets a ticket
  2. Gets to the captive portal
  3. Click on a link (Activate your voucher) on the captive portal and a new page (DMA Softlab user manager) opens.
  4. He logs on from that page using the voucher
  5. And clicks on verify after log on (to the DMA Soflab user page) and a new page opens
  6. He types in his GSM number, clicks and an sms code (e.g WXYZ) is sent to his GSM phone
  7. The client type in the sms code to confirm and the voucher becomes usable.
  8. The client goes back to the MT captive portal and log on using the verified voucher, before the client can connect to the network.

But if the client tries to log on from MT captive portal without verification of the voucher, he get an error message saying the voucher has not been verified even though its valid. Now what we want is for an verified voucher should be redirected to the DMA Softlab user manager instead returning the error.