Hi You have to doit at your app level.
Kannel nor opensmpp are able to do that. As a hint, move all incomming sms to a temp file/table/db and have a script that do the validations you need and then fw the sms to the corresponding user. Regards Alvaro |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.com On Mon, Jan 12, 2015 at 8:05 AM, Juned Khan <jkhan6...@gmail.com> wrote: > Hi All, > > I have setup kannel along with opensmppbox, I want to authenticate > incoming SMS for billing purpose i.e if that user has allowed to receive > SMS from particular prefixes then SMS should be routed else not. > > How do I achieve this? is there any way to run any script(any language) > before routing SMS to recipient in opensmppbox? > > Any hint or advice will be appreciated :) > > Regards > Juned Khan / Network Engineer >