Re: Message Queue Full causes sms to be sent to smsc repeatedly manytimes a second

2011-07-26 Thread Abdul Basit
Why you are still using 1.4.1?
1.5.0 is out and i found it stable.

Why Q is full? sms sent vs throughput allowed from operator ratio might be
high.



On Wed, Jul 13, 2011 at 8:12 PM, Nithya nity...@gmail.com wrote:

  Hi Tomer,

 I am using kannel 1.4.1, also facing the same problem. Is the proble
 has
 resoled in the latest version of kannel?. what is the latest version 1.4.3?

 Thanks  Regards
 Nithya









-- 
Regards,

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


Re: Message Queue Full causes sms to be sent to smsc repeatedly manytimes a second

2011-07-13 Thread Nithya
 Hi Tomer,

 I am using kannel 1.4.1, also facing the same problem. Is the proble has 
resoled in the latest version of kannel?. what is the latest version 1.4.3?

Thanks  Regards
Nithya








Re: Message Queue Full causes sms to be sent to smsc repeatedly manytimes a second

2008-04-04 Thread s k

Hi 

Do we have any patch / workaround for this. 
Facing similar problem. 
For split messages it goes into endless loop for retrying.

sandesh k

thykl wrote:
 
 Hi Tomer,
 
 I'm facing the same issue here. The problem only happens when the sms is 
 too long and it is splitted by kannel.
 
 I'm still waiting for a fix for this issue; I propose to give a donation 
 to a developer who fixes this, since it's a clear bug in the code (it 
 should behave exactly the same an non-splitted messages, just retry and 
 abort after x tries), and it's been reported for more than one year, and 
 even reported here in the list for the same time.
 
 As a workaround I do split the sms before sending them to kannel, which 
 then, in the case of queue-full error, behaves as expected.
 
 Regards.
 
 
 
 Tomer Ben David wrote:

 I forgot to mention that I use kannel version 1.4.1

 Thanks

 Tomer

 

 *From:* Tomer Ben David [mailto:[EMAIL PROTECTED]
 *Sent:* Monday, January 14, 2008 11:24 AM
 *To:* users@kannel.org
 *Subject:* Message Queue Full causes sms to be sent to smsc repeatedly 
 manytimes a second

 Hi,

 I’m having a problem very similar to 
 http://bugs.kannel.org/view.php?id=352

 The problem that I’m having is:

1. I send an sms to a specific number like this:
  
 /cgi-bin/sendsms?user=myuserpassword=mypasswordto=%2BSomeMobileNumbertext=HereIsALongTextcoding=2charset=utf-8from=647463
2. As a result Kannel resends an sms repeatedly many times a second
   to that phone number overwhelming the smsc

 I see in kannel logs for each sms that is being sent for this user the 
 following message: ERROR: SMPP[xx]: SMSC returned error code 
 0x0014 (Message Queue Full) in response to submit_sm.

 The problem happens only when I send sms to this specific number, with 
 other phone numbers its ok; the smsc guys want to disconnect me 
 because they say I’m sending too many sms to the smsc a second – too 
 many sms sent to smsc. Note that previously the system have sent sms 
 with long text so they were split, to that number (the system converts 
 email to sms to it sent many emails as sms to that phone number). I 
 suspect that maybe that mobile phone is turned off (I don’t know for 
 sure whether that’s true since I don’t have control over this mobile 
 phone its not in my control) so the SMSC queue is probably as message 
 says full of messages that might have not been received by mobile phone.

 I have tried using:

 sms-resend-freq = 120

 sms-resend-retry = 5

 However these parameters didn’t affect anything, the sms was still 
 resent many times a second (and many times, was not limited to 5) and 
 I had to restart the kannel to overcome this.

 Is there a solution to this problem?

 Is there a workaround to this problem? (My system is in production)

 If this is a bug, when is it planned to be fixed?

 Thanks

 Tomer





 
 This footnote confirms that this email message has been scanned by
 PineApp Mail-SeCure for the presence of malicious code, vandals  
 computer viruses.
 


 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/RE%3A-Message-Queue-Full-causes-sms-to-be-sent-to-smsc-repeatedly-manytimes-a-second-tp14798065p16509149.html
Sent from the Kannel - User mailing list archive at Nabble.com.




RE: Message Queue Full causes sms to be sent to smsc repeatedly manytimes a second

2008-01-14 Thread Tomer Ben David
I forgot to mention that I use kannel version 1.4.1

 

Thanks

 

Tomer

 



From: Tomer Ben David [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 14, 2008 11:24 AM
To: users@kannel.org
Subject: Message Queue Full causes sms to be sent to smsc repeatedly
manytimes a second

 

Hi,

 

I'm having a problem very similar to
http://bugs.kannel.org/view.php?id=352

 

The problem that I'm having is:

 

1.  I send an sms to a specific number like this:
/cgi-bin/sendsms?user=myuserpassword=mypasswordto=%2BSomeMobileNumber
text=HereIsALongTextcoding=2charset=utf-8from=647463
2.  As a result Kannel resends an sms repeatedly many times a second
to that phone number overwhelming the smsc

I see in kannel logs for each sms that is being sent for this user the
following message: ERROR: SMPP[xx]: SMSC returned error code 0x0014
(Message Queue Full) in response to submit_sm.

 

The problem happens only when I send sms to this specific number, with
other phone numbers its ok; the smsc guys want to disconnect me because
they say I'm sending too many sms to the smsc a second - too many sms
sent to smsc.  Note that previously the system have sent sms with long
text so they were split, to that number (the system converts email to
sms to it sent many emails as sms to that phone number).  I suspect that
maybe that mobile phone is turned off (I don't know for sure whether
that's true since I don't have control over this mobile phone its not in
my control) so the SMSC queue is probably as message says full of
messages that might have not been received by mobile phone.

 

I have tried using: 

sms-resend-freq = 120

sms-resend-retry = 5

 

However these parameters didn't affect anything, the sms was still
resent many times a second (and many times, was not limited to 5) and I
had to restart the kannel to overcome this.

 

Is there a solution to this problem?

Is there a workaround to this problem? (My system is in production)

If this is a bug, when is it planned to be fixed?

 

Thanks

 

Tomer

 







This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals 
computer viruses.







RE: Message Queue Full causes sms to be sent to smsc repeatedly manytimes a second

2008-01-14 Thread Davor Spasoski
Hi Tomer,



Long time ago I had this problem. You should disable resending of the SMS in
case of message queue full because it makes no sense. The SMSC will not let
you and mobile originated SMS to be queued to the B-party until B-party is
attached again and pulls all the messages. And god knows when and if it will
happen. You have to do the following changes:



smsc_smpp.c


...

static long smpp_status_to_smscconn_failure_reason(long status)
{
switch(status) {
/* case SMPP_ESME_RMSGQFUL:
return SMSCCONN_FAILED_TEMPORARILY;
break;

case SMPP_ESME_RTHROTTLED:
return SMSCCONN_FAILED_TEMPORARILY;
break; */

default:
return SMSCCONN_FAILED_REJECTED;
}
}


.



Cheers!


COSMOFON - Mobile Telecommunications Services - A.D. Skopje
___
This  e-mail  (including   any   attachments) is   confidential and  may  be 
protected  by  legal  privilege.  If  you are not the intended recipient, you 
should not copy it, re-transmit it, use  it  or  disclose its contents, but 
should return it to the sender  immediately  and delete  your  copy from your 
system. Any unauthorized  use or dissemination of this message in whole or in 
part is strictly prohibited. Please note that e-mails are susceptible  to 
change. COSMOFON A.D. Skopje shall not be liable  for  the improper or  
incomplete transmission of the information contained in this communication nor 
for any delay in its receipt or damage to your system.


Re: Message Queue Full causes sms to be sent to smsc repeatedly manytimes a second

2008-01-14 Thread thykl

Hi Tomer,

I'm facing the same issue here. The problem only happens when the sms is 
too long and it is splitted by kannel.


I'm still waiting for a fix for this issue; I propose to give a donation 
to a developer who fixes this, since it's a clear bug in the code (it 
should behave exactly the same an non-splitted messages, just retry and 
abort after x tries), and it's been reported for more than one year, and 
even reported here in the list for the same time.


As a workaround I do split the sms before sending them to kannel, which 
then, in the case of queue-full error, behaves as expected.


Regards.



Tomer Ben David wrote:


I forgot to mention that I use kannel version 1.4.1

Thanks

Tomer



*From:* Tomer Ben David [mailto:[EMAIL PROTECTED]
*Sent:* Monday, January 14, 2008 11:24 AM
*To:* users@kannel.org
*Subject:* Message Queue Full causes sms to be sent to smsc repeatedly 
manytimes a second


Hi,

I’m having a problem very similar to 
http://bugs.kannel.org/view.php?id=352


The problem that I’m having is:

   1. I send an sms to a specific number like this:
  
/cgi-bin/sendsms?user=myuserpassword=mypasswordto=%2BSomeMobileNumbertext=HereIsALongTextcoding=2charset=utf-8from=647463
   2. As a result Kannel resends an sms repeatedly many times a second
  to that phone number overwhelming the smsc

I see in kannel logs for each sms that is being sent for this user the 
following message: ERROR: SMPP[xx]: SMSC returned error code 
0x0014 (Message Queue Full) in response to submit_sm.


The problem happens only when I send sms to this specific number, with 
other phone numbers its ok; the smsc guys want to disconnect me 
because they say I’m sending too many sms to the smsc a second – too 
many sms sent to smsc. Note that previously the system have sent sms 
with long text so they were split, to that number (the system converts 
email to sms to it sent many emails as sms to that phone number). I 
suspect that maybe that mobile phone is turned off (I don’t know for 
sure whether that’s true since I don’t have control over this mobile 
phone its not in my control) so the SMSC queue is probably as message 
says full of messages that might have not been received by mobile phone.


I have tried using:

sms-resend-freq = 120

sms-resend-retry = 5

However these parameters didn’t affect anything, the sms was still 
resent many times a second (and many times, was not limited to 5) and 
I had to restart the kannel to overcome this.


Is there a solution to this problem?

Is there a workaround to this problem? (My system is in production)

If this is a bug, when is it planned to be fixed?

Thanks

Tomer






This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals  
computer viruses.