<AuthBy FIDELIO> provides
an easy way to integrate WiFi hotspots and captive portals with Opera
hotel Property Management System from Micros
Fidelio <AuthBy FIDELIO>),
creates new prepaid blocks (and posts the charge to Opera), and keeps
track of the remaining time left in each prepaid block. Time-limited
prepaid plans are also supported.<AuthBy FIDELIOHOTSPOT> understands also the
same parameters as <AuthBy SQL> and
<AuthBy FIDELIO>. For more information, see
Section 3.41. <AuthBy SQL> and
Section 3.82. <AuthBy FIDELIO>.
<AuthBy FIDELIOHOTSPOT> supports also all the
common SQL configuration parameters. For more information about the SQL
configuration parameters, see Section 3.8. SQL configuration.goodies/fidelio-hotspot.cfg<AuthBy HOTSPOTFIDELIO>
starting with Radiator 4.22. See Section 3.83. <AuthBy HOTSPOTFIDELIO>
for more information and sample configuration.<AuthBy
HOTSPOTFIDELIO> and the notes below:<tr><td>Service:</td><td> <select name="radius0-9048"> <option value="Mikrotik-Service=free">best effort (free)</option> <option value="Mikrotik-Service=premium">premium ($5)</option> </select></td></tr>
name="radius0-9048"
is OSC-AVPAIR, this is listed in Radiator dictionary.
Use the following parameter setting in Radiator configuration
file:ServiceAttribute OSC-AVPAIR
ServiceAttribute. For more information, see Section 3.84.3. ServiceAttribute. Use
this parameter if there is a possibility to have several
ServiceAttribute instances and they must be separated
to be able to choose the correct one. Here is an example about using
ServiceAttributePrefix:ServiceAttributePrefix Mikrotik-Service=
$(if error)<br /><div style="color: #FF8080; font-size: 14px">$(error)</div><br>$(endif)
ConfirmationMessage to your Radiator
configuration:ConfirmationMessage "You are going to upgrade or renew your plan, please login again
to confirm the charge"
ConfirmationQuery. Set
ConfirmationQuery using the SQL bind variables or
without them. If you use the SQL bind variables, you must specify all
query parameters with respective
ConfirmationQueryParams. Here is an example of using
the SQL bind variables:ConfirmationQuery UPDATE sessions SET confirmation_requested=1 WHERE roomNumber=?
AND guestNumber=? AND macAddress=?
ConfirmationQueryParam %0
ConfirmationQueryParam %1
ConfirmationQueryParam %2
ConfirmationQuery UPDATE sessions SET confirmation_requested=1 WHERE roomNumber=%0
AND guestNumber=%1 AND macAddress=%2
PostSendQuery. Set
PostSendQuery using the SQL bind variables or without
them. If you use the SQL bind variables, you must specify all query
parameters with respective PostSendQueryParams. Here
is an example of using the SQL bind variables:PostSendQuery INSERT INTO posts (roomNumber, guestNumber, macAddress, postNumber,
posted, cost) VALUES (?, ?, ?, ?, ?, ?)
PostSendQueryParam %0
PostSendQueryParam %1
PostSendQueryParam %2
PostSendQueryParam %3
PostSendQueryParam %4
PostSendQueryParam %5
PostSendQuery INSERT INTO posts (roomNumber, guestNumber, macAddress, postNumber,
posted, cost) VALUES (%0, %1, %2, %3, %4, %5)
PostAnswerQuery. Set
PostAnswerQuery using the SQL bind variables or
without them. If you use the SQL bind variables, you must specify all
query parameters with respective
PostAnswerQueryParams. Here is an example of using
the SQL bind variables:PostAnswerQuery INSERT INTO postacks (roomNumber, postNumber, transactionNumber, received)
values (?, ?, ?, ?)
PostAnswerQueryParam %0
PostAnswerQueryParam %1
PostAnswerQueryParam %2
PostAnswerQueryParam %3
PostAnswerQuery INSERT INTO postacks (roomNumber, postNumber, transactionNumber, received)
values (%0, %1, %2, %3)
%0 denotes the value of a
RADIUS attribute denoted by
ServiceAttribute.GetServiceQuery. Set
GetServiceQuery using the SQL bind variables or
without them. If you use the SQL bind variables, you must specify all
query parameters with respective
GetServiceQueryParams. Here is an example of using
the SQL bind variables:GetServiceQuery SELECT price, duration, replyattributes FROM services WHERE serviceclass=? GetServiceQueryParam %0
GetServiceQuery SELECT price, duration, replyattributes FROM services WHERE serviceclass=%0
GetCurrentServiceQuery. Set
GetCurrentServiceQuery using the SQL bind variables
or without them. If you use the SQL bind variables, you must specify all
query parameters with respective
GetCurrentServiceQueryParams. Here is an example of
using the SQL bind variables:GetCurrentServiceQuery SELECT expiry,replyattributes,price,sessions.serviceclass,confirmation_requested
FROM sessions LEFT JOIN services ON \ sessions.serviceclass=services.serviceclass
WHERE roomNumber=? AND guestNumber=? AND macAddress=?
GetCurrentServiceQueryParam %0
GetCurrentServiceQueryParam %1
GetCurrentServiceQueryParam %2
GetCurrentServiceQuery SELECT expiry,replyattributes,price,sessions.serviceclass,confirmation_requested
FROM sessions LEFT JOIN services ON \ sessions.serviceclass=services.serviceclass
WHERE roomNumber=%0 AND guestNumber=%1 AND macAddress=%2
AddSessionQuery. Set
AddSessionQuery using the SQL bind variables or
without them. If you use the SQL bind variables, you must specify all
query parameters with respective
AddSessionQueryParams. Here is an example of using
the SQL bind variables:AddSessionQuery INSERT INTO sessions (roomNumber, guestNumber, macAddress, serviceclass,
expiry) VALUES (?, ?, ?, ?, ?)
AddSessionQueryParam %0
AddSessionQueryParam %1
AddSessionQueryParam %2
AddSessionQueryParam %3
AddSessionQueryParam %4
AddSessionQuery INSERT INTO sessions (roomNumber, guestNumber, macAddress, serviceclass,
expiry) VALUES (%0, %1, %2, %3, %4)
GetSessionQuery. Set
GetSessionQuery using the SQL bind variables or
without them. If you use the SQL bind variables, you must specify all
query parameters with respective
GetSessionQueryParams. Here is an example of using
the SQL bind variables:GetSessionQuery SELECT expiry FROM sessions WHERE roomNumber=? AND guestNumber=?
AND macAddress=?
GetSessionQueryParam %0
GetSessionQueryParam %1
GetSessionQueryParam %2
GetSessionQuery SELECT expiry FROM sessions WHERE roomNumber=%0 AND guestNumber=%1
AND macAddress=%2
UpdateSessionQuery. Set
UpdateSessionQuery using the SQL bind variables or
without them. If you use the SQL bind variables, you must specify all
query parameters with respective
UpdateSessionQueryParams. Here is an example of using
the SQL bind variables:UpdateSessionQuery UPDATE sessions SET serviceclass=?, expiry=?, confirmation_requested=0
WHERE roomNumber=? AND guestNumber=? AND macAddress=?
UpdateSessionQueryParam %3
UpdateSessionQueryParam %4
UpdateSessionQueryParam %0
UpdateSessionQueryParam %1
UpdateSessionQueryParam %2
UpdateSessionQuery UPDATE sessions SET serviceclass=%3, expiry=%4,confirmation_requested=0
WHERE roomNumber=%0 AND guestNumber=%1 AND macAddress=%2