Benjamin Lee wrote: >I had a _really_ simple one... ;-) That was submitted a while back... I >haven't created a diff recently. > >But if people have code, and are happy and willing, might as well throw it >into the list, and we can all compare the alternatives. Who has the coolest >algorithm? (Or who has the most practical algorithm -- the two may not >necessarily go together. ;-) ) > >On Thursday, 2002-07-11 at 05:58:41 AM, Nisan Bloch scribbled: > > >>hI >> >>if anyone needs a patch to handle this better, we have one. >> >>Nisan >>At 07:01 PM 7/10/02 +0000, Oded Arbel wrote: >> >> >>>Damjan wrote: >>> >>> >>> >>>>Hello, I just downloaded and compiled Kannel-1.2.0. >>>>I use it to connect to a SMSC through the SMPP protocol, and from >>>>preliminary test I can say that it works pretty much OK, >>>>except for one problem. >>>> >>>>That is Kannel curently doesn't handle the SMPP throtlleing error >>>>(command_status 0x58). So if I send messages to fast, and the >>>>SMSC doesn't allow me to send so fast, the SMS messages are never >>>>delivered. >>>>I think sollutions to this problem were in fact provided on this >>>>list but it seems they never got accepted (why?). >>>> >>>>Can someone inform me about the current status of this. >>>> >>>>[ Following is a PDU dump of the submit_resp command response ] >>>> >>>>2002-07-04 19:21:12 [5] DEBUG: SMPP PDU 0x80d2ba0 dump: >>>>2002-07-04 19:21:12 [5] DEBUG: type_name: submit_sm_resp >>>>2002-07-04 19:21:12 [5] DEBUG: command_id: 2147483652 = 0x80000004 >>>>2002-07-04 19:21:12 [5] DEBUG: command_status: 88 = 0x00000058 >>>>2002-07-04 19:21:12 [5] DEBUG: sequence_number: 7 = 0x00000007 >>>>2002-07-04 19:21:12 [5] DEBUG: message_id: "" >>>>2002-07-04 19:21:12 [5] DEBUG: SMPP PDU dump ends. >>>> >>>> >>>> >>>> >>>> >>>> >>>at m-Wise we have a patch to do better ESME error detection and handling, >>>and it does support the "throttling error" code. we are waiting till 1.2 >>>will be release before submitting it, as this is a major functionality >>>change. I'm also out of the office and won't be back till the end of the >>>next week at the earliest, so it will have to wait till then. >>> >>> The patch I submitted to the list (and then immidietly pulled) was recently commited to the head development branch by Stipe, so currently Kannel does have the throttleing/ESME handling code in the development branch. if you have a code to do this better - by all means - do submit to the list. the current code does the work, but I will never claim that it is the best way to do it.
-- Oded Arbel m-Wise mobile solutions
