Unsubscribe

2011-06-30 Thread Rapture
Unsubscribe



RE: Slow RX incoming

2011-04-15 Thread Rapture
Hi Alex,

 

The issue is persistent but all has been well till about 3 weeks ago when I
started receiving huge bursts of messages. DLR is enabled and DB is ok as
other application is working properly.


Regards,

 

Rapture

 

From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] 
Sent: Friday, April 15, 2011 12:14 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: Slow RX incoming

 

Is the issue constant, or only happens at some specific times during the
day?

 

Do you have DLR's enabled? DB-backed? Maybe the issue happens when you're
getting lots of them?

 

Perhaps a long shot, but might be worth checking: try doing a packet trace
and verify you're not getting TCP zero win errors.

 

Regards,

 

Alex

On Thu, Apr 14, 2011 at 7:27 AM, Rapture supp...@ims.co.ke wrote:

Hi guys,

 

We've been running a campaign averaging 350,000 messages a day. Lately I
noticed kannel does not retrieve them as fast as it needs to hence  a
backlog builds on the operator's end. This is only affecting one of the
operators. On calling them, they insisted that it is Kannel which determines
how many RX messages to pull. I tried an old SMPP client software I'd
written in Delphi and it cleared all the backlog in less than 5 mins and
continues to do so in real time. All data is dumped into the same mysql
table. I've tried using throughput in kannel with no success. I've even
opened upto 15 channels to the same operator without success.

 

What could be the issue? How can I speed up my intake of messages?

 

Distraught,

 

TR

 

 

 



RE: Slow RX incoming

2011-04-15 Thread Rapture
Regular Kannel.

 

I'm not familiar with  a packet trace or zero win errors.

 

From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] 
Sent: Friday, April 15, 2011 3:47 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: Slow RX incoming

 

Make a packet trace and check if you get zero win errors. If you get tons
of DLR's and your DB is not fast enough that would explain the problem.

 

Art you using a regular Kannel or did you apply any patches to it?

 

Regards,

 

Alex

On Fri, Apr 15, 2011 at 2:35 PM, Rapture supp...@ims.co.ke wrote:

Hi Alex,

 

The issue is persistent but all has been well till about 3 weeks ago when I
started receiving huge bursts of messages. DLR is enabled and DB is ok as
other application is working properly.


Regards,

 

Rapture

 

From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] 
Sent: Friday, April 15, 2011 12:14 PM


To: Rapture
Cc: users@kannel.org
Subject: Re: Slow RX incoming

 

Is the issue constant, or only happens at some specific times during the
day?

 

Do you have DLR's enabled? DB-backed? Maybe the issue happens when you're
getting lots of them?

 

Perhaps a long shot, but might be worth checking: try doing a packet trace
and verify you're not getting TCP zero win errors.

 

Regards,

 

Alex

On Thu, Apr 14, 2011 at 7:27 AM, Rapture supp...@ims.co.ke wrote:

Hi guys,

 

We've been running a campaign averaging 350,000 messages a day. Lately I
noticed kannel does not retrieve them as fast as it needs to hence  a
backlog builds on the operator's end. This is only affecting one of the
operators. On calling them, they insisted that it is Kannel which determines
how many RX messages to pull. I tried an old SMPP client software I'd
written in Delphi and it cleared all the backlog in less than 5 mins and
continues to do so in real time. All data is dumped into the same mysql
table. I've tried using throughput in kannel with no success. I've even
opened upto 15 channels to the same operator without success.

 

What could be the issue? How can I speed up my intake of messages?

 

Distraught,

 

TR

 

 

 

 



RE: Slow RX incoming

2011-04-15 Thread Rapture
Thanks Will try this

 

From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] 
Sent: Friday, April 15, 2011 3:52 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: Slow RX incoming

 

You can do a packet trace using tcpdump:

 

sudo tcpdump -s 65000 -w kannel_trace.pcap host smsc ip and port smsc
port

 

You can then open it with ethereal.

 

Hope it helps,

 

Alex

On Fri, Apr 15, 2011 at 2:51 PM, Rapture supp...@ims.co.ke wrote:

Regular Kannel.

 

I'm not familiar with  a packet trace or zero win errors.

 

From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] 
Sent: Friday, April 15, 2011 3:47 PM


To: Rapture
Cc: users@kannel.org
Subject: Re: Slow RX incoming

 

Make a packet trace and check if you get zero win errors. If you get tons
of DLR's and your DB is not fast enough that would explain the problem.

 

Art you using a regular Kannel or did you apply any patches to it?

 

Regards,

 

Alex

On Fri, Apr 15, 2011 at 2:35 PM, Rapture supp...@ims.co.ke wrote:

Hi Alex,

 

The issue is persistent but all has been well till about 3 weeks ago when I
started receiving huge bursts of messages. DLR is enabled and DB is ok as
other application is working properly.


Regards,

 

Rapture

 

From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] 
Sent: Friday, April 15, 2011 12:14 PM


To: Rapture
Cc: users@kannel.org
Subject: Re: Slow RX incoming

 

Is the issue constant, or only happens at some specific times during the
day?

 

Do you have DLR's enabled? DB-backed? Maybe the issue happens when you're
getting lots of them?

 

Perhaps a long shot, but might be worth checking: try doing a packet trace
and verify you're not getting TCP zero win errors.

 

Regards,

 

Alex

On Thu, Apr 14, 2011 at 7:27 AM, Rapture supp...@ims.co.ke wrote:

Hi guys,

 

We've been running a campaign averaging 350,000 messages a day. Lately I
noticed kannel does not retrieve them as fast as it needs to hence  a
backlog builds on the operator's end. This is only affecting one of the
operators. On calling them, they insisted that it is Kannel which determines
how many RX messages to pull. I tried an old SMPP client software I'd
written in Delphi and it cleared all the backlog in less than 5 mins and
continues to do so in real time. All data is dumped into the same mysql
table. I've tried using throughput in kannel with no success. I've even
opened upto 15 channels to the same operator without success.

 

What could be the issue? How can I speed up my intake of messages?

 

Distraught,

 

TR

 

 

 

 

 



RE: Slow RX incoming

2011-04-14 Thread Rapture
Hi Nikos,

I'm referring to MO traffic. It only affects incoming SMS. We run separate
TX and RX and operator does not offer transceiver mode. We don't have any
logs that indicate slow speed, though traffics backs up at operator's end.
When I call them, they insist that it is my application that is not
'picking' messages fast enough from their SMSC. Funny thing is the inhouse
app clears the messages in a heartbit.

-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: Thursday, April 14, 2011 12:38 PM
To: Rapture; us...@vm1.kannel.org
Subject: Re: Slow RX incoming

Hi,

Kannel doesn't retrieve SMS from the operator. Operator sends them to 
kannel. Throughput doesn't affect incoming traffic, only outgoing and not 
*_resp pdus. Are you referring to MO traffic or MT (DLRs)? It is difficult 
to help you without any kind of logs. Since there is back log at your 
operator, what do his logs say?

There is an issue with separate Tx/Rx connections in kannel. If only 1 of 
the 2 drops, while the other is working, kannel doesn't realize it to 
reconnect both ends. You might try transceiver mode for that.

BR,
Nikos
- Original Message - 
From: Rapture
To: users@kannel.org
Sent: Thursday, April 14, 2011 8:27 AM
Subject: Slow RX incoming


Hi guys,

We've been running a campaign averaging 350,000 messages a day. Lately I 
noticed kannel does not retrieve them as fast as it needs to hence  a 
backlog builds on the operator's end. This is only affecting one of the 
operators. On calling them, they insisted that it is Kannel which determines

how many RX messages to pull. I tried an old SMPP client software I'd 
written in Delphi and it cleared all the backlog in less than 5 mins and 
continues to do so in real time. All data is dumped into the same mysql 
table. I've tried using throughput in kannel with no success. I've even 
opened upto 15 channels to the same operator without success.

What could be the issue? How can I speed up my intake of messages?

Distraught,

TR

 




RE: Slow RX incoming

2011-04-14 Thread Rapture
All MOs are stored via a php script to the same mysql table for incoming
messages. This is the same table I use for the inhouse app.

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Cezary Siwek
Sent: Thursday, April 14, 2011 1:03 PM
To: users@kannel.org
Subject: Re: Slow RX incoming

Hi,

How do you store MO messages? Maybe there is a bottleneck?

BR,
Cezary


On 14/04/2011 11:00, Rapture wrote:
 Hi Nikos,

 I'm referring to MO traffic. It only affects incoming SMS. We run separate
 TX and RX and operator does not offer transceiver mode. We don't have any
 logs that indicate slow speed, though traffics backs up at operator's end.
 When I call them, they insist that it is my application that is not
 'picking' messages fast enough from their SMSC. Funny thing is the inhouse
 app clears the messages in a heartbit.

 -Original Message-
 From: Nikos Balkanas [mailto:nbalka...@gmail.com]
 Sent: Thursday, April 14, 2011 12:38 PM
 To: Rapture; us...@vm1.kannel.org
 Subject: Re: Slow RX incoming

 Hi,

 Kannel doesn't retrieve SMS from the operator. Operator sends them to
 kannel. Throughput doesn't affect incoming traffic, only outgoing and not
 *_resp pdus. Are you referring to MO traffic or MT (DLRs)? It is difficult
 to help you without any kind of logs. Since there is back log at your
 operator, what do his logs say?

 There is an issue with separate Tx/Rx connections in kannel. If only 1 of
 the 2 drops, while the other is working, kannel doesn't realize it to
 reconnect both ends. You might try transceiver mode for that.

 BR,
 Nikos
 - Original Message -
 From: Rapture
 To: users@kannel.org
 Sent: Thursday, April 14, 2011 8:27 AM
 Subject: Slow RX incoming


 Hi guys,

 We've been running a campaign averaging 350,000 messages a day. Lately I
 noticed kannel does not retrieve them as fast as it needs to hence  a
 backlog builds on the operator's end. This is only affecting one of the
 operators. On calling them, they insisted that it is Kannel which
determines

 how many RX messages to pull. I tried an old SMPP client software I'd
 written in Delphi and it cleared all the backlog in less than 5 mins and
 continues to do so in real time. All data is dumped into the same mysql
 table. I've tried using throughput in kannel with no success. I've even
 opened upto 15 channels to the same operator without success.

 What could be the issue? How can I speed up my intake of messages?

 Distraught,

 TR








RE: Slow RX incoming

2011-04-14 Thread Rapture
Thanks Cezary, Will try that.

-Original Message-
From: Cezary Siwek [mailto:cza...@thebestisp.co.uk] 
Sent: Thursday, April 14, 2011 1:40 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: Slow RX incoming

Ok, that makes it more clear.
 From my experience I can say that kannel-xttpd-php-mysql way alsways 
makes some problems if is designed in wrong way.
How do you run your php script under http server? Run it using fastcgi 
and keep persistent connection with the DB. Don't share the db 
connection across fastcgi processes - use one connection per fastcgi 
process.

Your delphi application does it, right?

My application written in Perl, running under lighttpd in fastcgi (with 
5-10 concurrent processes) mode can easly handle 150sms/s on one machine.

BR,
Cezary




On 14/04/2011 11:25, Rapture wrote:
 All MOs are stored via a php script to the same mysql table for incoming
 messages. This is the same table I use for the inhouse app.

 -Original Message-
 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
 Of Cezary Siwek
 Sent: Thursday, April 14, 2011 1:03 PM
 To: users@kannel.org
 Subject: Re: Slow RX incoming

 Hi,

 How do you store MO messages? Maybe there is a bottleneck?

 BR,
 Cezary


 On 14/04/2011 11:00, Rapture wrote:
 Hi Nikos,

 I'm referring to MO traffic. It only affects incoming SMS. We run
separate
 TX and RX and operator does not offer transceiver mode. We don't have any
 logs that indicate slow speed, though traffics backs up at operator's
end.
 When I call them, they insist that it is my application that is not
 'picking' messages fast enough from their SMSC. Funny thing is the
inhouse
 app clears the messages in a heartbit.

 -Original Message-
 From: Nikos Balkanas [mailto:nbalka...@gmail.com]
 Sent: Thursday, April 14, 2011 12:38 PM
 To: Rapture; us...@vm1.kannel.org
 Subject: Re: Slow RX incoming

 Hi,

 Kannel doesn't retrieve SMS from the operator. Operator sends them to
 kannel. Throughput doesn't affect incoming traffic, only outgoing and not
 *_resp pdus. Are you referring to MO traffic or MT (DLRs)? It is
difficult
 to help you without any kind of logs. Since there is back log at your
 operator, what do his logs say?

 There is an issue with separate Tx/Rx connections in kannel. If only 1 of
 the 2 drops, while the other is working, kannel doesn't realize it to
 reconnect both ends. You might try transceiver mode for that.

 BR,
 Nikos
 - Original Message -
 From: Rapture
 To: users@kannel.org
 Sent: Thursday, April 14, 2011 8:27 AM
 Subject: Slow RX incoming


 Hi guys,

 We've been running a campaign averaging 350,000 messages a day. Lately I
 noticed kannel does not retrieve them as fast as it needs to hence  a
 backlog builds on the operator's end. This is only affecting one of the
 operators. On calling them, they insisted that it is Kannel which
 determines
 how many RX messages to pull. I tried an old SMPP client software I'd
 written in Delphi and it cleared all the backlog in less than 5 mins and
 continues to do so in real time. All data is dumped into the same mysql
 table. I've tried using throughput in kannel with no success. I've even
 opened upto 15 channels to the same operator without success.

 What could be the issue? How can I speed up my intake of messages?

 Distraught,

 TR








RE: Slow RX incoming

2011-04-14 Thread Rapture
What would be the issue Nikos?

-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: Thursday, April 14, 2011 5:29 PM
To: Rapture; 'Cezary Siwek'
Cc: us...@vm1.kannel.org
Subject: Re: Slow RX incoming

Hi,

I don't think that this will solve your problem. If it were an application 
issue, it would build up kannel's queue, not the SMSc's. SMSc's queue can 
build up only from dropped connections. These would be shown in your 
bearerbox logs. Sorry, Cezary.

BR,
Nikos
- Original Message - 
From: Rapture supp...@ims.co.ke
To: 'Cezary Siwek' cza...@thebestisp.co.uk
Cc: users@kannel.org
Sent: Thursday, April 14, 2011 2:36 PM
Subject: RE: Slow RX incoming


 Thanks Cezary, Will try that.

 -Original Message-
 From: Cezary Siwek [mailto:cza...@thebestisp.co.uk]
 Sent: Thursday, April 14, 2011 1:40 PM
 To: Rapture
 Cc: users@kannel.org
 Subject: Re: Slow RX incoming

 Ok, that makes it more clear.
 From my experience I can say that kannel-xttpd-php-mysql way alsways
 makes some problems if is designed in wrong way.
 How do you run your php script under http server? Run it using fastcgi
 and keep persistent connection with the DB. Don't share the db
 connection across fastcgi processes - use one connection per fastcgi
 process.

 Your delphi application does it, right?

 My application written in Perl, running under lighttpd in fastcgi (with
 5-10 concurrent processes) mode can easly handle 150sms/s on one machine.

 BR,
 Cezary




 On 14/04/2011 11:25, Rapture wrote:
 All MOs are stored via a php script to the same mysql table for incoming
 messages. This is the same table I use for the inhouse app.

 -Original Message-
 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On 
 Behalf
 Of Cezary Siwek
 Sent: Thursday, April 14, 2011 1:03 PM
 To: users@kannel.org
 Subject: Re: Slow RX incoming

 Hi,

 How do you store MO messages? Maybe there is a bottleneck?

 BR,
 Cezary


 On 14/04/2011 11:00, Rapture wrote:
 Hi Nikos,

 I'm referring to MO traffic. It only affects incoming SMS. We run
 separate
 TX and RX and operator does not offer transceiver mode. We don't have 
 any
 logs that indicate slow speed, though traffics backs up at operator's
 end.
 When I call them, they insist that it is my application that is not
 'picking' messages fast enough from their SMSC. Funny thing is the
 inhouse
 app clears the messages in a heartbit.

 -Original Message-
 From: Nikos Balkanas [mailto:nbalka...@gmail.com]
 Sent: Thursday, April 14, 2011 12:38 PM
 To: Rapture; us...@vm1.kannel.org
 Subject: Re: Slow RX incoming

 Hi,

 Kannel doesn't retrieve SMS from the operator. Operator sends them to
 kannel. Throughput doesn't affect incoming traffic, only outgoing and 
 not
 *_resp pdus. Are you referring to MO traffic or MT (DLRs)? It is
 difficult
 to help you without any kind of logs. Since there is back log at your
 operator, what do his logs say?

 There is an issue with separate Tx/Rx connections in kannel. If only 1 
 of
 the 2 drops, while the other is working, kannel doesn't realize it to
 reconnect both ends. You might try transceiver mode for that.

 BR,
 Nikos
 - Original Message -
 From: Rapture
 To: users@kannel.org
 Sent: Thursday, April 14, 2011 8:27 AM
 Subject: Slow RX incoming


 Hi guys,

 We've been running a campaign averaging 350,000 messages a day. Lately I
 noticed kannel does not retrieve them as fast as it needs to hence  a
 backlog builds on the operator's end. This is only affecting one of the
 operators. On calling them, they insisted that it is Kannel which
 determines
 how many RX messages to pull. I tried an old SMPP client software I'd
 written in Delphi and it cleared all the backlog in less than 5 mins and
 continues to do so in real time. All data is dumped into the same mysql
 table. I've tried using throughput in kannel with no success. I've even
 opened upto 15 channels to the same operator without success.

 What could be the issue? How can I speed up my intake of messages?

 Distraught,

 TR





 




Slow RX incoming

2011-04-13 Thread Rapture
Hi guys,

 

We've been running a campaign averaging 350,000 messages a day. Lately I
noticed kannel does not retrieve them as fast as it needs to hence  a
backlog builds on the operator's end. This is only affecting one of the
operators. On calling them, they insisted that it is Kannel which determines
how many RX messages to pull. I tried an old SMPP client software I'd
written in Delphi and it cleared all the backlog in less than 5 mins and
continues to do so in real time. All data is dumped into the same mysql
table. I've tried using throughput in kannel with no success. I've even
opened upto 15 channels to the same operator without success.

 

What could be the issue? How can I speed up my intake of messages?

 

Distraught,

 

TR

 

 



RE: UCP keepalive ack problems

2011-04-12 Thread Rapture
Hi Konstantin,

 

I think the problem you have is misappropriating variables for example

 

Wait-ack  means duration to wait for acknowledgment before the resending a 
message. Each message has to get an ack (acknowledgement) from the SMSC. Check 
user guide

wait-ack number (seconds) A message is resent if the acknowledge from SMSC 
takes more than this time. Defaults to 60 seconds.

 

 

It goes hand in hand with wait-ack-expire

 

wait-ack-expire number  Defines what kind of action should be taken if the the 
ack of a message expires. The options for this value are: 0x00 - 
disconnect/reconnect, (default) 0x01 - as is now, re-queue, but this could 
potentially result in the msg arriving twice 0x02 – just carry on waiting 
(given that the wait-ack should never expire this is the mst accurate)

 

I believe what you are referring to for checking whether SMSC has gone away is 
enquire-link. If you set it to say 30 secs then it will keep enquiring every 
30secs and if the SMSC is not available kannel will initiate a reconnect. You 
can also use reconnect-delay to control how much time before kannel tries to 
reconnect after it ‘discovers’ it is unbound default is 10secs.

 

Rapture

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Konstantin Vayner
Sent: Tuesday, April 12, 2011 12:15 PM
To: Kannel Users
Subject: UCP keepalive ack problems

 

Hello list,

 

We have several UCP links to a certain operator's SMSC,

here's one of the smscs configuration (excluding sensitive information of 
course)

 

group = smsc

smsc = emi

smsc-id = smsc_x_mo2

log-file = /var/log/kannel/x_mo2.log

log-level = 0

host = 1.2.3.4

port = 1234

smsc-username = xxx

smsc-password = yyy

keepalive = 30

idle-timeout = 120

source-addr-autodetect = yes

allowed-smsc-id = smsc_x_mo2

flow-control = 0

window = 1

wait-ack = 60

wait-ack-expire = 0x00

 

(all the links are configured with keepalive=30 and idle-timeout=120 so that 
the links are never considered idle by kannel)

 

 

some of the links are for outgoing traffic only, MT and DLR travel on these

others are for incoming traffic only, MO travel there.

naturally, most of our traffic is outgoing so the MT links are rarely idle, 
however even when they are, we see steady keepalive requests and ACKs for them 
going on

on the MO links however, the situation is different. these are mostly idle, and 
keepalive requests do not work as expected. sometimes we get ACK on keepalive 
an *hour* after the original packet was sent (actually, this happens to every 
second keepalive packet according to the logs i'm looking at)

 

To illustrate the problem, here's the log from such smsc link filtered by 60 
and 31 packets dumped:

(note that login *requests* are not listed as they are not dumped by kannel)

Check out the bold lines - these are ack responses from the smsc that come back 
after an hour!

 

2011-04-07 07:18:57 [8237] [19] DEBUG: EMI2[smsc_x_mo2]: emi2 parsing packet:  
00/00019/R/60/A//6D 

2011-04-07 07:18:57 [8237] [19] DEBUG: EMI2[smsc_x_mo2]: emi2 sending packet:  
24/00025/O/31/201/0539/8E 

2011-04-07 07:18:57 [8237] [19] DEBUG: EMI2[smsc_x_mo2]: emi2 parsing packet:  
24/00023/R/31/A//2C 

2011-04-07 07:19:28 [8237] [19] DEBUG: EMI2[smsc_x_mo2]: emi2 sending packet:  
25/00025/O/31/201/0539/8F 

2011-04-07 08:19:00 [8237] [19] DEBUG: EMI2[smsc_x_mo2]: emi2 parsing packet:  
25/00023/R/31/A//2D 

2011-04-07 08:19:01 [8237] [19] DEBUG: EMI2[smsc_x_mo2]: emi2 parsing packet:  
00/00019/R/60/A//6D 

2011-04-07 08:19:01 [8237] [19] DEBUG: EMI2[smsc_x_mo2]: emi2 sending packet:  
26/00025/O/31/201/0539/90 

2011-04-07 08:19:01 [8237] [19] DEBUG: EMI2[smsc_x_mo2]: emi2 parsing packet:  
26/00023/R/31/A//2E 

2011-04-07 08:19:41 [8237] [19] DEBUG: EMI2[smsc_x_mo2]: emi2 sending packet:  
27/00025/O/31/201/0539/91 

2011-04-07 09:19:04 [8237] [19] DEBUG: EMI2[smsc_x_mo2]: emi2 parsing packet:  
27/00023/R/31/A//2F 

2011-04-07 09:19:04 [8237] [19] DEBUG: EMI2[smsc_x_mo2]: emi2 parsing packet:  
00/00019/R/60/A//6D 

 

So,  the first question that arises is: why doesnt kannel re-connect 
automatically after 60 seconds like wait-ack* settings imply, and instead this 
happens only when the ack finally arrives after an hour?

 

The second question is - in case the remote smsc fails to produce acks to 
keepalives properly, whats the way of ensuring the link is really alive?

Lately, we're experiencing a lot of problems when the link went down on the 
other side and kannel does not notice that and keeps thinking the link is still 
alive. Moreover, when we're trying to reset such a undead link individually, 
everything fails, including killing the socket with tcpkill - kannel still does 
not bring the smsc down, and the only option left is shut down the kannel 
completely, including kill -9 bearerbox (because otherwise kannel never even 
finishes shutdown sequence) and performing a full restart.

 



RE: Routing incoming SMS to correct SME

2011-02-13 Thread Rapture
Hi Imran,

 

You can accomplish this with Kannel routing this way:

. Assign id to the connection eg smsc-id = SME1

. Define route by using the following parameters allowed-smsc-id and
denied-smsc-id. In SME1 config allow SME1 and deny SME2 and in two likewise

. When doing the post, use the parameter smsc in the http send to
kannel eg ..smsc=SME1

 

That should take care of routing.

 

Rapture

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Imran Aghayev
Sent: Friday, February 11, 2011 2:24 PM
To: users@kannel.org
Subject: Routing incoming SMS to correct SME

 

Hi there,
I am connected through opensmppbox with 2 different SME clients.
My question:
I sent a message and my friend also sent. How can I deliver first message to
SME1 and second message to SME2 with help of kannel routing ?
Can it be done on sender address, receiver address or any other way ?

Please help, 
Thanks,
Imran



RE: How to force the reply of an sms-service to go through a specified smsc on some conditions

2011-01-18 Thread Rapture
Hi,

Alternatively, you can process incoming MO in the same php script that is
defined to receive incoming MO in sms service to evaluate the content and
respond via the Kannel Call that sends MT messages then store the MO in a db
(and MT too if you like). That way you create a loop from
MO-Process-MT-Storage

Rapture

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Alvaro Cornejo
Sent: Tuesday, January 18, 2011 6:23 PM
To: Tshimanga Minkoka
Cc: users@kannel.org
Subject: Re: How to force the reply of an sms-service to go through a
specified smsc on some conditions

Hi

That is what your script will do: receive the MO info, process in the
way you need, store MO in DB, evaluate message content, etc and will
call kannel through a sendsms call with the MT and routing info.

You can create your scrip in whatever language you feel better. Not
necesarily php.

But all that is done by YOU app/script. Kannel can not doit by itself
unless you extensively path kannel.

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.NET www.smsglobal.com.mx y
www.pravcom.com



On Tue, Jan 18, 2011 at 8:48 AM, Tshimanga Minkoka
tshimanga.mink...@vodacom.cd wrote:
 Hi Alvaro,

 Thanks for your feedback.

 I also thought about that.
 The problem is that it won't use the simple 'echo' of the PHP script. I
will need instead to perform a totally separate push SMS.
 I am still trying to avoid this solution, which also requires the
max-messages to be set to 0 in the sms-service group.

 Regards,

 TSHIMANGA Minkoka
 VAS Manager
 Mobile: +243 814443113
 Telephone: +243 815560341 ext. 0583
 Fax: +243 813010373
 Email: tshimanga.mink...@vodacom.cd



 -Original Message-
 From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
 Sent: Tuesday 18 January 2011 14:36
 To: Tshimanga Minkoka
 Cc: users@kannel.org
 Subject: Re: How to force the reply of an sms-service to go through a
specified smsc on some conditions

 Kannel can not doit by itself.

 You should have an app that, after validate the conditions you set for
 the routing send the message back to kannel with the appropiate
 routing infomation.

 You just need to add smsc=Your_smsc_id  where your_smsc_id id the ID
 of the smsc where you need to send the MT to.

 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.NET www.smsglobal.com.mx y
 www.pravcom.com



 On Tue, Jan 18, 2011 at 4:04 AM, Tshimanga Minkoka
 tshimanga.mink...@vodacom.cd wrote:
 Dear Kannel users,

 How can I force the reply of an sms-service to go through a specified
smsc on some conditions?

 Basically I have a configuration with:
 1 bearerbox
 2 smsc smpp connections to 2 different SMSCs
 1 smsbox
 1 sendsms-user
 1 sms-service

 The sms-service group receives all the traffic reaching Kannel and
process it by calling a get_url that is handled by Apache and PHP.
 The PHP outputs an echo command with the text that is sent back to the
sending party (generally a mobile handset) as a response to the request the
sending party initiated (generally to the short number).

 What I want is to still have the single sms-service group processes all
the traffic, but to be able to somehow specify it to send back the PHP text
response to a specified smsc smpp. The conditions can be related to the
short number to which the initial SMS was sent to (or any other I can
accommodate to).
 From the user guide, it seems that as I use only 1 smsbox instance, I
shouldn't use any smsbox-route group. Or maybe it is exactly the part I am
missing and have misunderstood.

 Relevant part of my configuration are below here.

 
 # CORE
 group = core
 admin-port = 17000
 admin-password = foobar
 status-password = foobar
 admin-allow-ip = 127.0.0.1
 log-file = /path/to/kannel/files/bearerbox.log
 log-level = 0
 smsbox-port = 17001
 box-allow-ip = 127.0.0.1
 sms-resend-freq = 300
 sms-resend-retry = 15


 # SMSC SMPP
 group = smsc
 smsc = smpp
 smsc-id = smsc_a
 allowed-smsc-id = smsc_a
 preferred-smsc-id = smsc_a
 host = 192.168.1.101
 port = 6200
 receive-port = 6200
 smsc-username = foobar
 smsc-password = foobar
 system-type = VMA
 interface-version = 33
 throughput = 15
 max-pending-submits = 10
 log-file = /path/to/kannel/files/smsc_a.log
 log-level = 0


 # SMSC SMPP
 group = smsc
 smsc = smpp
 smsc-id = smsc_b
 allowed-smsc-id = smsc_b
 preferred-smsc-id = smsc_b
 host

RE: Change the log level of an smpp smsc group

2011-01-12 Thread Rapture
Hi,

 

You need to modify the variable log-level in the group smsc and set it to
the desired level. This you do per smcs

Check user guide:

 

log-level number 0..5 

Minimum level of log-file events logged. 0 is for ’debug’, 1 ’info’,2
’warning, 3 ’error’ and 4’panic’

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Tshimanga Minkoka
Sent: Wednesday, January 12, 2011 7:16 PM
To: users@kannel.org
Subject: Change the log level of an smpp smsc group

 

Dear,

 

How can I change the log level of an smpp smsc group?

The HTTP administration command loglevel seems to only act on bearbox
logging.

Do I need to modify the configuration file, stop the smsc and then restart
it?

 

TIA.

 

TSHIMANGA Minkoka

VAS Manager

È +243 814443113

( + 243 815560341 ext. 0583

2  +243 813010373

:  mailto:tshimanga.mink...@vodacom.cd tshimanga.mink...@vodacom.cd



 

image001.jpg

RE: is kannel for me? Can Kannel be used as smpp client?

2011-01-06 Thread Rapture
Hi Mfawa,

 

Kannel is good for you and can be used with php to create a beautiful harmony.

 

Read the following tutorials (which include a php class for sending messages). 
I used it and it works wonders for me even for wap push messages

 

http://julmis.julmajanne.com/index.php/Kannel

 

http://dev.sellingsource.com/category/kannel/


Regards,

 

Rapture

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Mfawa Alfred Onen
Sent: Thursday, January 06, 2011 2:29 PM
To: Mohammed Saleem
Cc: users@kannel.org
Subject: Re: is kannel for me? Can Kannel be used as smpp client?

 

Mohammed is right, you Kannel can connect to SMPP backends therefore making it 
an SMPP client if you would.

On Thu, Jan 6, 2011 at 8:53 AM, Mohammed Saleem mohammedsl...@gmail.com wrote:


Yes, Kannel can act as a SMPP client

After setup you can send SMS messages using a HTTP interface, u can simply call 
this interface from PHP, bash or any PL




Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak





On Thu, Jan 6, 2011 at 7:47 AM, vedran valaj...@gmail.com wrote:

i can't find good php class that can send me bulk of messages via SMPP

 

so i started looking for something to help me with this php app i have to make

 

would it be possible to use kannel as smpp client so that i can triger some 
bash shell script with php and than that kannel establish connection and send 
all messages that i need?

 

also, if you guys have experience with this and have some other idea please 
email me i would be very grate full

 

 




-- 
Mfawa Alfred Onen
M.Sc Telecoms, B.Eng Elect/Elect, CCNA, RHCE(in view)
System Administrator
Department of Computer Science,
Bingham University.

E-Mail: systemad...@binghamuni.edu.ng
Phone1: +234 805 944 3154
Phone2: +234 803 079 6088





RE: Help required in setting up sms gateway

2010-12-29 Thread Rapture
Hi Kanchan,

 

I've also been wondering the same thing, whether I can use USSD with Kannel.
What I know is that USSD is a session based system and with SMPP being a
store and forward protocol, can you really maintain a session with a
subscriber? Perhaps with php integration as php is session based.. Food for
thought J

 

Rapture

 

From: Kanchan K [mailto:kathuria.kanc...@gmail.com] 
Sent: Wednesday, December 29, 2010 8:37 AM
To: Rapture
Cc: users@kannel.org
Subject: Re: Help required in setting up sms gateway

 

Thanks Jyotiranjan,Rapture.I need to connect to a USSD gateway via SMPP
using Kannel.

Can you suggest how to go about it?

On Tue, Dec 28, 2010 at 6:29 PM, Rapture supp...@ims.co.ke wrote:

Hi Kanchan,

 

Read the following: http://julmis.julmajanne.com/index.php/Kannel

 

It really helped me especially in running kannel as a service. Once you have
configured the init.d file you can use service kannel start to start the
gateway

 

Regards,

 

Rapture

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Kanchan K
Sent: Monday, December 27, 2010 1:24 PM
To: users@kannel.org
Subject: Help required in setting up sms gateway

 

hi,

 

I have installed the gateway thorugh gip file.How do i start from there? How
to start/stop the gateway?

The user guide is not clear for a beginer like me...Any help for the initial
few steps?

 



RE: Wap push problem

2010-12-29 Thread Rapture
Hi Edwin,

 

From what I can tell, you haven't url encoded the udh. Its supposed to have
several percentage signs(%) in between the message and udh.coding is not
even that important. I had the same problem till I read through this
resource: http://dev.sellingsource.com/category/kannel/

 

Eg for WAP PUSH the udh field in the send-url is meant to be
%06%05%04%0B%84%23%F0 as opposed to 0605040B8423F0 and the messages is also
meant to have these percentage signs in between to encode the text. 

 

An example of my send-url part is as follows:

 

..to=udh=%06%05%04%0B%84%23%F0text=%1B%06%01%AE%02%05%6A%00%45%C6%0C%0
3%77%61%70%2E%79%61%68%6F%6F%2E%63%6F%6D%00%01%03%56%69%73%69%74%20%59%61%68
%6F%6F%21%20%6F%6E%20%79%6F%75%72%20%70%68%6F%6E%65%00%01%01from=..

 

Read the resource I posted above and it might help.

 

Rapture

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Edwin Malo
Sent: Wednesday, December 29, 2010 2:21 PM
To: users@kannel.org
Subject: Wap push problem

 

Hi all,

I hope someone could help me, i have some problems trying to send a wap push
message using kannel, i build the message according to the specifications
and it works with others operators but when i send exactly the same message
to an specific one the final user only receive a sms instead the wap push.

I checked with the operator and they send and receive without any problem
from others but for some reasons our message does not work. I have tried
everything but nothing seems to work, changes in kannel connection, set up
the data coding using coding=1 alt-dcs=1 mclass=1. I also try to change the
way i made the message because the operator said that only support this
formats US ASCII, UTF16, LATIN but i could not find any different solution.

At this point I don't have any idea about what could be the problem because
i tested the same wap push with other operators and it works well using the
same kannel configuration.

This is the way i build the wap push:

$text = '1B0601AE02056A0045C60C03';  
$text .= bin2hex($url);

$text .= '000103';
$text .= bin2hex(utf8_encode($text));

$text .= '000101';

The message looks like
1B0601AE02056A0045C60C03772E676F6F676C652E636F6D0001032054657374000101

Also i use the header 0605040B84, and this is part of the smpp
connection log

DEBUG: boxc_receiver: sms received
DEBUG: send_msg: sending msg to box: 127.0.0.1
DEBUG:  throughput (0.00,0.00)
DEBUG:  Manually forced source addr ton = 1, source add npi = 1
DEBUG:  Manually forced dest addr ton = 1, dest add npi = 1
DEBUG:  Sending PDU:
DEBUG: SMPP PDU 0x16453e0 dump:
DEBUG:   type_name: submit_sm
DEBUG:   command_id: 4 = 0x0004
DEBUG:   command_status: 0 = 0x
DEBUG:   sequence_number: 161 = 0x00a1
DEBUG:   service_type: NULL
DEBUG:   source_addr_ton: 1 = 0x0001
DEBUG:   source_addr_npi: 1 = 0x0001
DEBUG:   source_addr: 
DEBUG:   dest_addr_ton: 1 = 0x0001
DEBUG:   dest_addr_npi: 1 = 0x0001
DEBUG:   destination_addr: xxx
DEBUG:   esm_class: 67 = 0x0043
DEBUG:   protocol_id: 0 = 0x
DEBUG:   priority_flag: 1 = 0x0001
DEBUG:   schedule_delivery_time: NULL
DEBUG:   validity_period: NULL
DEBUG:   registered_delivery: 1 = 0x0001
DEBUG:   replace_if_present_flag: 0 = 0x
DEBUG:   data_coding: 4 = 0x0004
DEBUG:   sm_default_msg_id: 0 = 0x
DEBUG:   sm_length: 75 = 0x004b
DEBUG:   short_message:
DEBUG:Octet string at 0x1645380:
DEBUG:  len:  75
DEBUG:  size: 1024
DEBUG:  immutable: 0

I hope this information could help to find any possible problem, thanks in
advance.

Edwin



RE: Help required in setting up sms gateway

2010-12-28 Thread Rapture
Hi Kanchan,

 

Read the following: http://julmis.julmajanne.com/index.php/Kannel

 

It really helped me especially in running kannel as a service. Once you have
configured the init.d file you can use service kannel start to start the
gateway

 

Regards,

 

Rapture

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Kanchan K
Sent: Monday, December 27, 2010 1:24 PM
To: users@kannel.org
Subject: Help required in setting up sms gateway

 

hi,

 

I have installed the gateway thorugh gip file.How do i start from there? How
to start/stop the gateway?

The user guide is not clear for a beginer like me...Any help for the initial
few steps?



RE: Credit Limit

2010-12-23 Thread Rapture
Hi,

 

You can define the credit limits from the application that posts the
send-url to the smsbox. Then define a separate smsc group with a different
smsc-id to which you can use to route the messages once you exceed the daily
1,000 limit on one smsc. I do this using my bulk sms accounts by monitoring
the message count on each smsc.

 

Rapture

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Elton Hoxha
Sent: Thursday, December 23, 2010 12:36 PM
To: michael osakede
Cc: users@kannel.org
Subject: Re: Credit Limit

 

Hi,

 

You can do it from application side by hitting send-sms url defined with
proper parameters for respective SMSC links.

On Thu, Dec 23, 2010 at 10:14 AM, michael osakede ire...@yahoo.com wrote:


Hi Users,

How can I set an SMSC Config ie:

I want this smsc to send 1000 messages only, the idea is I can only send
1000 messages on this SMSC and nothing more, so once the credit is exhusted
I want to route to another provider.

group = smsc
smsc-id=mike
smsc = smpp
host = xx.xx.xx.xx
port = 
receive-port = 
smsc-username = 
smsc-password = 
system-type = smpp
dest-addr-ton = 1
address-range =
bind-addr-ton = 0
bind-addr-npi = 1
source-addr-ton = 5
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1




Michael

 

 



DLR storage in kannel 1.4.3

2010-12-21 Thread Rapture
Hi

 

I'm using kannel 1.4.3. I tried to set my dlr engine to mysql but kept
getting an error. I am using CentOS 5.5 64bit edition. What could be the
issue?

 

Kind Regards,

 

Rapture

 



RE: DLR storage in kannel 1.4.3

2010-12-21 Thread Rapture
Let me get the error :) I thought the responses would be something like ‘1.4.3 
has issues with mysql’

 

Rapture

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Tuesday, December 21, 2010 1:02 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: DLR storage in kannel 1.4.3

 

If we don't know the error we won't be able to help :)


post your config files + error logs




Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak





On Tue, Dec 21, 2010 at 11:54 AM, Rapture supp...@ims.co.ke wrote:

Hi

 

I’m using kannel 1.4.3. I tried to set my dlr engine to mysql but kept getting 
an error. I am using CentOS 5.5 64bit edition. What could be the issue?

 

Kind Regards,

 

Rapture

 

 



RE: DLR storage in kannel 1.4.3

2010-12-21 Thread Rapture
Here’s the error I’m getting

 

2010-12-21 13:37:28 [4293] [0] PANIC: DLR: storage type 'mysql' is not 
supported!

 

What’s interesting is that I have mysql 5.0.3 which I use to run all other 
operations on kannel ie outgoing , incoming etc using php scripts

 

Here are my configs:

 

###

 KANNEL CORE #

##

group = core

admin-port = 

smsbox-port = 

admin-password = bar

box-deny-ip = *.*.*.*

box-allow-ip = 127.0.0.1

log-file = /var/log/kannel/bearerbox.log

log-level = 3

access-log = /var/log/kannel/bearerbox.log

dlr-storage = mysql

 

#$$$#

#$$ DLR STORAGE  $$$#

#$$#

 

group = mysql-connection

id = mydlr

host = localhost

username = blabla

password = blabla

database = kanneldlr

max-connections = 1

 

group = dlr-db

id = mydlr

table = kanneldlr

field-smsc = smsc

field-timestamp = ts

field-destination = destination

field-source = source

field-service = service

field-url = url

field-mask = mask

field-status = status

field-boxc-id = boxc

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Rapture
Sent: Tuesday, December 21, 2010 1:05 PM
To: 'Mohammed Saleem'
Cc: users@kannel.org
Subject: RE: DLR storage in kannel 1.4.3

 

Let me get the error :) I thought the responses would be something like ‘1.4.3 
has issues with mysql’

 

Rapture

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Tuesday, December 21, 2010 1:02 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: DLR storage in kannel 1.4.3

 

If we don't know the error we won't be able to help :)


post your config files + error logs




Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak

 

On Tue, Dec 21, 2010 at 11:54 AM, Rapture supp...@ims.co.ke wrote:

Hi

 

I’m using kannel 1.4.3. I tried to set my dlr engine to mysql but kept getting 
an error. I am using CentOS 5.5 64bit edition. What could be the issue?

 

Kind Regards,

 

Rapture

 

 



RE: DLR storage in kannel 1.4.3

2010-12-21 Thread Rapture
Nope. I think that's where the problem might be. I was new to kannel when I
first installed it hence lack of knowledge on dependencies

 

From: Abdul Basit [mailto:basit.e...@gmail.com] 
Sent: Tuesday, December 21, 2010 1:59 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: DLR storage in kannel 1.4.3

 

have you configured kannel --with-mysql support?

have you installed mysql-devel package?

 

On Tue, Dec 21, 2010 at 3:48 PM, Rapture supp...@ims.co.ke wrote:

Here's the error I'm getting

 

2010-12-21 13:37:28 [4293] [0] PANIC: DLR: storage type 'mysql' is not
supported!

 

What's interesting is that I have mysql 5.0.3 which I use to run all other
operations on kannel ie outgoing , incoming etc using php scripts

 

Here are my configs:

 

###

 KANNEL CORE #

##

group = core

admin-port = 

smsbox-port = 

admin-password = bar

box-deny-ip = *.*.*.*

box-allow-ip = 127.0.0.1

log-file = /var/log/kannel/bearerbox.log

log-level = 3

access-log = /var/log/kannel/bearerbox.log

dlr-storage = mysql

 

#$$$#

#$$ DLR STORAGE  $$$#

#$$#

 

group = mysql-connection

id = mydlr

host = localhost

username = blabla

password = blabla

database = kanneldlr

max-connections = 1

 

group = dlr-db

id = mydlr

table = kanneldlr

field-smsc = smsc

field-timestamp = ts

field-destination = destination

field-source = source

field-service = service

field-url = url

field-mask = mask

field-status = status

field-boxc-id = boxc

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Rapture
Sent: Tuesday, December 21, 2010 1:05 PM
To: 'Mohammed Saleem'
Cc: users@kannel.org
Subject: RE: DLR storage in kannel 1.4.3

 

Let me get the error :) I thought the responses would be something like
'1.4.3 has issues with mysql'

 

Rapture

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Tuesday, December 21, 2010 1:02 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: DLR storage in kannel 1.4.3

 

If we don't know the error we won't be able to help :)


post your config files + error logs




Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak

 

On Tue, Dec 21, 2010 at 11:54 AM, Rapture supp...@ims.co.ke wrote:

Hi

 

I'm using kannel 1.4.3. I tried to set my dlr engine to mysql but kept
getting an error. I am using CentOS 5.5 64bit edition. What could be the
issue?

 

Kind Regards,

 

Rapture

 

 




-- 

Regards,


Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445



Asynchronous submit_sm

2010-12-16 Thread Rapture
Hi pips,

 

I have an issue with SMPP 3.4, I noticed my queues have been building up for
a while. The operator confirms delays in sending submit_sm_resp. I noticed
from the logs that kannel does not attempt to send another submit_sm and
queues build up forever.

 

Is there a way of doing asynchronous submit_sm? Perhaps a parameter that I
can enforce?

 

Kind Regards,

 

Rapture



RE: Asynchronous submit_sm

2010-12-16 Thread Rapture
I haven’t currently set the max-pending-submits…what does the variable do and 
how will this cause a throttling error?


Thanks.

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Thursday, December 16, 2010 4:13 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: Asynchronous submit_sm

 

You may need to increase the max-pending-submits but this may cause a 
throttling error


Best Regards,

Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak





On Thu, Dec 16, 2010 at 3:02 PM, Rapture supp...@ims.co.ke wrote:

Hi pips,

 

I have an issue with SMPP 3.4, I noticed my queues have been building up for a 
while. The operator confirms delays in sending submit_sm_resp. I noticed from 
the logs that kannel does not attempt to send another submit_sm and queues 
build up forever.

 

Is there a way of doing asynchronous submit_sm? Perhaps a parameter that I can 
enforce?

 

Kind Regards,

 

Rapture

 



RE: Asynchronous submit_sm

2010-12-16 Thread Rapture
Thanks Saleem,

 

I have set the max-pending-submits to 10 per SMSC connection and my limit on 
the SMSC side is 100MTs per second. Is there a ceiling to the 
max-pending-submits that one can set ie can I set it to say … 200?
 
Thanks again.

 

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Thursday, December 16, 2010 4:38 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: Asynchronous submit_sm

 

when you send a submit_sm, the message will considered pending until it 
receives the submit_sm_resp so if you set max-pending-submits=5 then kannel 
will keep sending submit_sm PDUs until there are 5 submit_sm_resp pending to 
arrive to kannel.

see the UG for more info

about the throttling error, this depends on the carrier's SMSC, some SMSCs 
limits throughput to a certain speed (like 50 MTs per second) or to a certain 
pending submits at a time, when you exceed this limit, the excess messages will 
get rejected by the SMSC or the IO thread will get blocked, this also depends 
on the SMSC implementation at the carrier's side, actually I've seen them both


Talk to your provider and ask for advice about those limits




Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak





On Thu, Dec 16, 2010 at 3:30 PM, Rapture supp...@ims.co.ke wrote:

I haven’t currently set the max-pending-submits…what does the variable do and 
how will this cause a throttling error?


Thanks.

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Thursday, December 16, 2010 4:13 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: Asynchronous submit_sm

 

You may need to increase the max-pending-submits but this may cause a 
throttling error


Best Regards,

Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak

 

On Thu, Dec 16, 2010 at 3:02 PM, Rapture supp...@ims.co.ke wrote:

Hi pips,

 

I have an issue with SMPP 3.4, I noticed my queues have been building up for a 
while. The operator confirms delays in sending submit_sm_resp. I noticed from 
the logs that kannel does not attempt to send another submit_sm and queues 
build up forever.

 

Is there a way of doing asynchronous submit_sm? Perhaps a parameter that I can 
enforce?

 

Kind Regards,

 

Rapture

 

 



RE: Asynchronous submit_sm

2010-12-16 Thread Rapture
Thanks man. Seems to be working now. I think I will set it to 50 to be safe. 
And a good thing is the operator has admitted the delay of resp but messages 
get delivered anyway.

 

Regards,

 

Rapture

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Thursday, December 16, 2010 5:03 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: Asynchronous submit_sm

 

This depends on the SMSC, one of my SMPP connections is set to 30, others are 
set to 5, while another connection is balanced to 3 connections each one has a 
max-pensing-submits=25 (75 in total)

Try to increase it and monitor the delivery of the messages, make sure there is 
no drops and define your real limits. By the way, the default 
max-pending-submits is 10




Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak





On Thu, Dec 16, 2010 at 3:56 PM, Rapture supp...@ims.co.ke wrote:

Thanks Saleem,

 

I have set the max-pending-submits to 10 per SMSC connection and my limit on 
the SMSC side is 100MTs per second. Is there a ceiling to the 
max-pending-submits that one can set ie can I set it to say … 200?
 
Thanks again.

 

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Thursday, December 16, 2010 4:38 PM


To: Rapture
Cc: users@kannel.org
Subject: Re: Asynchronous submit_sm

 

when you send a submit_sm, the message will considered pending until it 
receives the submit_sm_resp so if you set max-pending-submits=5 then kannel 
will keep sending submit_sm PDUs until there are 5 submit_sm_resp pending to 
arrive to kannel.

see the UG for more info

about the throttling error, this depends on the carrier's SMSC, some SMSCs 
limits throughput to a certain speed (like 50 MTs per second) or to a certain 
pending submits at a time, when you exceed this limit, the excess messages will 
get rejected by the SMSC or the IO thread will get blocked, this also depends 
on the SMSC implementation at the carrier's side, actually I've seen them both


Talk to your provider and ask for advice about those limits




Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak

 

On Thu, Dec 16, 2010 at 3:30 PM, Rapture supp...@ims.co.ke wrote:

I haven’t currently set the max-pending-submits…what does the variable do and 
how will this cause a throttling error?


Thanks.

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Thursday, December 16, 2010 4:13 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: Asynchronous submit_sm

 

You may need to increase the max-pending-submits but this may cause a 
throttling error


Best Regards,

Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak

 

On Thu, Dec 16, 2010 at 3:02 PM, Rapture supp...@ims.co.ke wrote:

Hi pips,

 

I have an issue with SMPP 3.4, I noticed my queues have been building up for a 
while. The operator confirms delays in sending submit_sm_resp. I noticed from 
the logs that kannel does not attempt to send another submit_sm and queues 
build up forever.

 

Is there a way of doing asynchronous submit_sm? Perhaps a parameter that I can 
enforce?

 

Kind Regards,

 

Rapture