Sms command and white list of senders?

There are some sms commands, one of them, is for example, launch restarting of the Kannel service.
It is necessary to allow to do so from some numbers included in some white list but for this sms command only.
If number is out of the white list for this only sms command, either nothing is made or some autoreply is sent such as “You don’ t have rights” to sender’ s number or to other nu,ber specified for this sms command.

Can you add such functionality ?

I think either adding of some parameters to existing sms_command feature is good idea or creation of new feature is better, some “extended_sms_command” .
And for white list for each sms_command item some database tables/rpcedures can be necessary.