| Newsgroups |
gmane.comp.mobile.kannel.devel |
| Message-ID |
<!&!AAAAAAAAAAAYAAAAAAAAAG4oz752VQhNuYgQayhUW67CgAAAEAAAAEhjdYpZTD5PiHaxznDNDZwBAAAAAA==@ecommunicate.co.za> |
Hi,
You could make this one of the Kannel SMSC Group Variables and therefore
configurable per SMSC connection and have the default value set to the
current value.
Kind Regards
Hillel Bilman
Manager eCommunicate
mailto: [email protected]
Cell: 083-2300002
Landline: 011-443-6164
Fax: 088-011-443-6164
Social Media marketing campaigns (Facebook, Google+, Twitter, LinkedIn etc)
- Interactive Websites - .mobi Sites - Mobile Apps(Android, iPhone,
Blackberry, Nokia) - Premium Rated SMSs and short codes - SMS competitions
and campaigns - Lead Generation - opt-in subscription Billing - MMS
campaigns - USSD campaigns - WAP - Outlook SMS - Bulk SMS and Bulk Email -
Email 2 SMS 2 Email - Developer Kit for Mobile Services integration
Date: Thu, 3 Jul 2014 09:01:56 -0500
From: Alvaro Cornejo <[email protected]>
To: ??????? ??????? <[email protected]>
Cc: devel Devel <[email protected]>
Subject: Re: Throttling Error
Message-ID:
<CAO55aG_HdDag8zPTfXA9oByPaq0xpEwq71WUeezeB2U=siBkkQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Hi
Eventhough, as told by Andreas, what you are being required is not part of
smpp specs, your best bet is to hack kannel code and generate a patch for
that.
Check code of smpp module to where it checks for throttling error and add
something like IF (ThrottlingError) { sleep 60000 }
This way your smsc-smpp will sleep for the specified time whenever it
detects a throttling error. Note that this WILL DELAY AND SLOWDOWN your
queue to this smsc. I don't know kannel code so it might also impact other
parts of 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.com
On Thu, Jul 3, 2014 at 4:03 AM, ??????? ??????? <[email protected]>
wrote:
> The sms-resend-retry and sms-resend-freq parameters are not resolved
> the issue. Please look at the log in attachment. I need make kannel
> stop sending any submit_sm to SMSC, after getting 0x58 error. So
> submit_sm for messages ?MQF?, ?1?, ?2?, ?3?, ?4?, ?5? shouldn?t be
> send, there needed delay for 60 seconds. Then kannel should resend
submit_sm for message ?1?
> (sequence_number: 4), and next ?MQF?, "1", "2",... How can I do this?
>
>
>
> I think there is a some misunderstanding of the issue, because my
> English is not well.
>
>
>
>
>
> From: [email protected] [mailto:[email protected]]
> Sent: Thursday, July 03, 2014 3:22 PM
> To: '??????? ???????'; 'Andreas Fink'
> Cc: 'devel Devel'
> Subject: RE: Throttling Error
>
>
>
> If you want to check this behaviour,
>
> turned off your mobile , a take a tcpdump trace , and send one message
> by one, until you get an error from the smsc, ( usually teh maximum
> message per subscriber on the smsc configuration are betwwen 10 and 25
> ) depending the operator
>
> normally you will get an 0x000014 error message ( message queue full )
> but often you will receive a 0x 000058 error that are throttling error
> for a message queue full situation.
>
> on this case, the retry parameter will allow you to manage the retry
> queue on kannel . if there is no paramter , kannel will take the
> default value ( if i am not mistaken it is 10 attempts per minute )
>
> hope it help
>
> br
>
> Marc
>
>
>
> ________________________________
>
> De : devel [mailto:[email protected]] De la part de ??????? ???????
> Envoy? : jeudi 3 juillet 2014 12:08
> ? : 'Andreas Fink'
> Cc : 'devel Devel'
> Objet : RE: Throttling Error
>
> I understand, but it?s required rule for passing the test with SMSC
> connection. When we will pass it, we will have this interval = 1 second.
>
>
>
>
>
> From: Andreas Fink [mailto:[email protected]]
> Sent: Thursday, July 03, 2014 3:03 PM
> To: ??????? ???????
> Cc: [email protected]; devel Devel
> Subject: Re: Throttling Error
>
>
>
> FYI, the standard doesnt say how long you have to wait until you retry
> after getting a Throttled error.
>
> It only says:
>
>
>
> Throttling error (ESME has exceeded allowed message limits).
>
> This type of error is usually returned where an ESME has
> exceeded a predefined messaging rate restriction applied by the operator.
>
>
>
> If you wait 60 seconds before retrying it will slow your sending down
> a hell of a lot.
>
> Its totally ok to retry a couple of seconds later to see if we still
> exceed "allowed message limits".
>
>
>
> There's nothing wrong with that. This is not an error. This is what it
> is meant to be.
>
>
>
>
>
> On 03 Jul 2014, at 09:58, ??????? ??????? <[email protected]> wrote:
>
>
>
> Hi,
>
>
>
> Thanks for the response!
>
>
>
> It will resolve problem with resending interval, but how can I make
> kannel stop sending PDU for some time after this error? Not for this
> message, for all messages in queue.
>
>
>
> From: [email protected] [mailto:[email protected]]
> Sent: Thursday, July 03, 2014 2:46 PM
> To: ??????? ???????; [email protected]
> Subject: RE: Throttling Error
>
>
>
> Hello,
>
>
>
> I think this can be configured with this release using parameters :
> sms-resend-freq and sms-resend-retry.
>
> I give you an example : sms-resend-freq = 900 (15 mins) and
> sms-resend-retry = 10 : means that the retry will be done 10 times
> every 15 minutes after receiving the 0x0058 error code for throttling
error.
>
>
>
> Hope this could help you..
>
> Regards,
>
>
>
> De : devel [mailto:[email protected]] De la part de ??????? ???????
> Envoy? : jeudi 3 juillet 2014 04:08
> ? : [email protected]
> Objet : Throttling Error
>
>
>
> Hello,
>
>
>
> We need help with processing Throttling Error. SMSC requires us to
> wait 60 seconds and resend request. Can you help us to setup kannel
> well? Our config in attachment. Is it possible?
>
>
>
> We use Kannel 1.5.0 with sqlbox, smpp 3.4.
>
>
>
> ______________________________________________________________________
> ___________________________________________________
>
>
>
> Ce message et ses pieces jointes peuvent contenir des informations
> confidentielles ou privilegiees et ne doivent donc
>
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez
> recu ce message par erreur, veuillez le signaler
>
> a l'expediteur et le detruire ainsi que les pieces jointes. Les
> messages electroniques etant susceptibles d'alteration,
>
> Orange decline toute responsabilite si ce message a ete altere,
> deforme ou falsifie. Merci.
>
>
>
> This message and its attachments may contain confidential or
> privileged information that may be protected by law;
>
> they should not be distributed, used or copied without authorisation.
>
> If you have received this email in error, please notify the sender and
> delete this message and its attachments.
>
> As emails may be altered, Orange is not liable for messages that have
> been modified, changed or falsified.
>
> Thank you.
------------------------------
Message: 2
Date: Thu, 3 Jul 2014 14:24:14 +0000
From: Werner Coetzee <[email protected]>
To: Alvaro Cornejo <[email protected]>, ??????? ???????
<[email protected]>
Cc: devel Devel <[email protected]>
Subject: RE: Throttling Error
Message-ID:
<C89CF0CED2A3BC4FA6BFB423A5C09C6B1FAA19BA@COMMS02-CPT.internal.clickatell.co
m>
Content-Type: text/plain; charset="utf-8"
??
You can just change in gw/smsc/smsc_smpp.c
#define SMPP_THROTTLING_SLEEP_TIME 1
to
#define SMPP_THROTTLING_SLEEP_TIME 60
and recompile Kannel.
Note that it will affect all your SMPP binds.
You could always make it a config and save the config value in the SMPP
struct, and change io_thread() to use the config value (eg
smpp->throttling_sleep_time) instead of SMPP_THROTTLING_SLEEP_TIME.
Regards
Werner
Clickatell mail signature
Werner Francois Coetzee
- Technology Leader: Messaging Engine
E:
[email protected]
T:
27 21 910 7700
???F:
27 21 910 7701
This e-mail message and all
attachments transmitted with it are confidential and are intended solely for
the addressee(s). If the reader of this message is not the intended
recipient, you are hereby notified that any reading, dissemination,
distribution, copying, or other use of this message or its attachment(s) is
strictly prohibited. Clickatell does not recognise that a contract can be
concluded by way of electronic communication. All contracts must be signed
on paper and only authorised signatories in terms of the Clickatell
Authorised Signatory Policy may contract on behalf of Clickatell. All
provisions to the contrary contained in the Electronic Communications and
Transactions Act 25 of 2002 are hereby specifically excluded.
-----Original Message-----
From: devel [mailto:[email protected]] On Behalf Of Alvaro Cornejo
Sent: 03 July 2014 16:02
To: ??????? ???????
Cc: devel Devel
Subject: Re: Throttling Error
Hi
Eventhough, as told by Andreas, what you are being required is not part of
smpp specs, your best bet is to hack kannel code and generate a patch for
that.
Check code of smpp module to where it checks for throttling error and add
something like IF (ThrottlingError) { sleep 60000 }
This way your smsc-smpp will sleep for the specified time whenever it
detects a throttling error. Note that this WILL DELAY AND SLOWDOWN your
queue to this smsc. I don't know kannel code so it might also impact other
parts of 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.com
On Thu, Jul 3, 2014 at 4:03 AM, ??????? ??????? <[email protected]>
wrote:
> The sms-resend-retry and sms-resend-freq parameters are not resolved
> the issue. Please look at the log in attachment. I need make kannel
> stop sending any submit_sm to SMSC, after getting 0x58 error. So
> submit_sm for messages ?MQF?, ?1?, ?2?, ?3?, ?4?, ?5? shouldn?t be
> send, there needed delay for 60 seconds. Then kannel should resend
submit_sm for message ?1?
> (sequence_number: 4), and next ?MQF?, "1", "2",... How can I do this?
>
>
>
> I think there is a some misunderstanding of the issue, because my
> English is not well.
>
>
>
>
>
> From: [email protected] [mailto:[email protected]]
> Sent: Thursday, July 03, 2014 3:22 PM
> To: '??????? ???????'; 'Andreas Fink'
> Cc: 'devel Devel'
> Subject: RE: Throttling Error
>
>
>
> If you want to check this behaviour,
>
> turned off your mobile , a take a tcpdump trace , and send one message
> by one, until you get an error from the smsc, ( usually teh maximum
> message per subscriber on the smsc configuration are betwwen 10 and 25
> ) depending the operator
>
> normally you will get an 0x000014 error message ( message queue full )
> but often you will receive a 0x 000058 error that are throttling error
> for a message queue full situation.
>
> on this case, the retry parameter will allow you to manage the retry
> queue on kannel . if there is no paramter , kannel will take the
> default value ( if i am not mistaken it is 10 attempts per minute )
>
> hope it help
>
> br
>
> Marc
>
>
>
> ________________________________
>
> De : devel [mailto:[email protected]] De la part de ??????? ???????
> Envoy? : jeudi 3 juillet 2014 12:08
> ? : 'Andreas Fink'
> Cc : 'devel Devel'
> Objet : RE: Throttling Error
>
> I understand, but it?s required rule for passing the test with SMSC
> connection. When we will pass it, we will have this interval = 1 second.
>
>
>
>
>
> From: Andreas Fink [mailto:[email protected]]
> Sent: Thursday, July 03, 2014 3:03 PM
> To: ??????? ???????
> Cc: [email protected]; devel Devel
> Subject: Re: Throttling Error
>
>
>
> FYI, the standard doesnt say how long you have to wait until you retry
> after getting a Throttled error.
>
> It only says:
>
>
>
> Throttling error (ESME has exceeded allowed message limits).
>
> This type of error is usually returned where an ESME has
> exceeded a predefined messaging rate restriction applied by the operator.
>
>
>
> If you wait 60 seconds before retrying it will slow your sending down
> a hell of a lot.
>
> Its totally ok to retry a couple of seconds later to see if we still
> exceed "allowed message limits".
>
>
>
> There's nothing wrong with that. This is not an error. This is what it
> is meant to be.
>
>
>
>
>
> On 03 Jul 2014, at 09:58, ??????? ??????? <[email protected]> wrote:
>
>
>
> Hi,
>
>
>
> Thanks for the response!
>
>
>
> It will resolve problem with resending interval, but how can I make
> kannel stop sending PDU for some time after this error? Not for this
> message, for all messages in queue.
>
>
>
> From: [email protected] [mailto:[email protected]]
> Sent: Thursday, July 03, 2014 2:46 PM
> To: ??????? ???????; [email protected]
> Subject: RE: Throttling Error
>
>
>
> Hello,
>
>
>
> I think this can be configured with this release using parameters :
> sms-resend-freq and sms-resend-retry.
>
> I give you an example : sms-resend-freq = 900 (15 mins) and
> sms-resend-retry = 10 : means that the retry will be done 10 times
> every 15 minutes after receiving the 0x0058 error code for throttling
error.
>
>
>
> Hope this could help you..
>
> Regards,
>
>
>
> De : devel [mailto:[email protected]] De la part de ??????? ???????
> Envoy? : jeudi 3 juillet 2014 04:08
> ? : [email protected]
> Objet : Throttling Error
>
>
>
> Hello,
>
>
>
> We need help with processing Throttling Error. SMSC requires us to
> wait 60 seconds and resend request. Can you help us to setup kannel
> well? Our config in attachment. Is it possible?
>
>
>
> We use Kannel 1.5.0 with sqlbox, smpp 3.4.
>
>
>
> ______________________________________________________________________
> ___________________________________________________
>
>
>
> Ce message et ses pieces jointes peuvent contenir des informations
> confidentielles ou privilegiees et ne doivent donc
>
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez
> recu ce message par erreur, veuillez le signaler
>
> a l'expediteur et le detruire ainsi que les pieces jointes. Les
> messages electroniques etant susceptibles d'alteration,
>
> Orange decline toute responsabilite si ce message a ete altere,
> deforme ou falsifie. Merci.
>
>
>
> This message and its attachments may contain confidential or
> privileged information that may be protected by law;
>
> they should not be distributed, used or copied without authorisation.
>
> If you have received this email in error, please notify the sender and
> delete this message and its attachments.
>
> As emails may be altered, Orange is not liable for messages that have
> been modified, changed or falsified.
>
> Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.kannel.org/pipermail/devel/attachments/20140703/e1f9f823/attachm
ent.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RSImage.jpeg
Type: image/jpeg
Size: 24094 bytes
Desc: not available
URL:
<http://www.kannel.org/pipermail/devel/attachments/20140703/e1f9f823/attachm
ent.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RSImage.gif
Type: image/gif
Size: 8563 bytes
Desc: not available
URL:
<http://www.kannel.org/pipermail/devel/attachments/20140703/e1f9f823/attachm
ent.gif>
------------------------------
Subject: Digest Footer
_______________________________________________
devel mailing list
[email protected]
http://www.kannel.org/mailman/listinfo/devel
------------------------------
End of devel Digest, Vol 95, Issue 9
************************************