Of course you need to have SMPP SMSc for that to work :-)

NIkos
  ----- Original Message ----- 
  From: Alejandro Guerrieri 
  To: Karan Zaveri 
  Cc: Nikos Balkanas ; [email protected] 
  Sent: Saturday, September 26, 2009 9:54 PM
  Subject: Re: Incorrect Operator ID returned


  You're using an aggregator right? Maybe they use a TLV to send you the 
carrier id? Check the documentation or ask your SMSC provider about it.


  Regards,


  Alejandro


  On Sat, Sep 26, 2009 at 7:13 PM, Karan Zaveri <[email protected]> wrote:

    Thanks Nikos,



    I tried that but it didn’t work. What I really need is the message sender’s 
Operator’s ID which is a number
    identifying who the operator is like Sprint = 31005, Cingular = 31002  etc. 
The %o returns the system-type
    variable from the config file and the %i returns the SMPP hostname which is 
not what I am looking for.

    I am not sure if this is a bug in Kannel or some other setting that I need 
to do.



    Appreciate your help.



    Thanks

    Karan



    From: Nikos Balkanas [mailto:[email protected]] 
    Sent: Saturday, September 26, 2009 11:50 AM
    To: Karan Zaveri; [email protected]
    Subject: Re: Incorrect Operator ID returned



    Hi,



    Try %i to get the smsc-id.



    BR,

    Nikos

      ----- Original Message ----- 

      From: Karan Zaveri 

      To: [email protected] 

      Sent: Saturday, September 26, 2009 4:12 PM

      Subject: Incorrect Operator ID returned



      Hi All,



      I have been trying to integrate Kannel with our SMS application and so 
far have had success receiving
      messages however, I am having a bit of hard time trying to get Kannel 
return the operator id of the message.

      Based on the documentation I set the %o value in the response URL but 
instead of sending a numeric operator
      ID Kannel returns the smsc-username value. I am not sure if there is any 
additional setting that would need
      to be done in order to get the original operator id of the sender. Any 
help would be appreciated.



      Attached is my config file.



      Thanks

      Karan

    No virus found in this incoming message.
    Checked by AVG - www.avg.com
    Version: 8.5.409 / Virus Database: 270.13.112/2390 - Release Date: 09/26/09 
05:51:00


Reply via email to