Ask your HLR guy again. If you give HLR the mobile phone number, it will
return the network node, among others, from which you can get the provider.

As far as %i goes, it is pretty obvious and can't add anything more that
what is in the UG and already told you.

BR,
Nikos

On Sat, Aug 20, 2011 at 11:33 PM, Ahmed AL-Tahami <ahmed...@gmail.com>wrote:

> Thank you Andreas&Nikos,
>
> HLR guys says that the HLR information doesn't contain the subscribers
> providers.
>
> My application waits for subscribers to send SMSs  to a short code
> then i have to know the subscriber provider to know whether his allowed to
> use the service or not , if his provider is allowed then i send a change
> provider command to the IN, he will stay in that provider for a period of
> time then I send another command to return  him back to his old provider.
>
> the problem is how to know the subscriber provider
>
> Currently i have 2 choices
> 1. send a get info command to the IN
> 2. read the CAT files that generated from the IN
>  both of the take a long time
>
>
> @Nikos
> the user guide says :
> %i the smsc-id of the connection that received the message
>
> would you please explain your idea,
>
> Thanks again,
>
> On Fri, Aug 19, 2011 at 2:33 AM, Ahmed AL-Tahami <ahmed...@gmail.com>wrote:
>
>> Hi ,
>>
>> Is it possible to make kannel pass custom data to my java Servlet?
>>
>> what i need is more information about the SMS sender from the smsc, like
>> the sender provider (I guess provider and tariff are the same thing).
>>
>> is it possible? if yes, would you please tell me how.
>>
>>
>> Best Regards.
>>
>>
>

Reply via email to