Hi Nikos,

 

That's fine np. The Carrier ID is sent out by the aggregator because I was
able to get that using
another script however, Kannel doesn't seem to recognize it for some reason.
I am afraid with the
US carriers it wont work the way you described as the numbers keep on
changing often.

 

Thanks

Karan

 

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

 

Sorry,

 

I didn't understand what you were asking for. The sender's mobile carrier,
is known only to the (sender's) smsc and doesn't reach kannel. However, you
can deduce the carrier from your local prefix numbering scheme. I.e. in
Greece all 977xxxx mobiles are Cosmote, 979xxxx Vodaphone, etc. (example not
necessarily correct).

 

BR,

Nikos

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

From: Karan Zaveri <mailto:[email protected]>  

To: 'Nikos Balkanas' <mailto:[email protected]>  ; [email protected] 

Sent: Saturday, September 26, 2009 8:13 PM

Subject: RE: Incorrect Operator ID returned

 

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 <mailto:[email protected]>  

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