Hi,

Could you please post PDU returned from bb logs with operatorID in bold?

Thanks,
Nikos
  ----- Original Message ----- 
  From: Karan Zaveri 
  To: 'Alejandro Guerrieri' ; 'Nikos Balkanas' 
  Cc: [email protected] 
  Sent: Sunday, September 27, 2009 3:48 PM
  Subject: RE: Incorrect Operator ID returned


  Hi Guys,

   

  I think I found the piece of code that is responsible for creating this URL 
data. It’s in the gw/urltrans.c file
  line 495  

   

      case 'o':  /* account information (may be operator id for aggregators */

          if (octstr_len(request->sms.account)) {

              enc = octstr_duplicate(request->sms.account);

              octstr_url_encode(enc);

              octstr_append(result, enc);

              octstr_destroy(enc);

          }

          break;

   

  Clearly it is returning the account id I just need to find out where is the 
sms object initiated and if there
  was a way to access the other variables available with it. Please let me know 
if you are aware of it.

   

  Thanks

  Karan

   

  From: Alejandro Guerrieri [mailto:[email protected]] 
  Sent: Sunday, September 27, 2009 6:34 AM
  To: Nikos Balkanas
  Cc: Karan Zaveri; [email protected]
  Subject: Re: Incorrect Operator ID returned

   

  According with the configuration file he posted on his first message, he 
does...

  Regards,

   

  Alejandro

  2009/9/27 Nikos Balkanas <[email protected]>

  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

     

   

  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