Thanks a lot, Ben. But I still have the following doubt. The script service.cgi after a successful processing returns nothing. What HTTP response should it returns if there is a problem and a retry is needed ?
Regards, M.- On Thursday November 16 2006 04:55, you wrote: > Marcelo, > > In the group = smsbox section you want to set http-request-retry = x > where x is the number of times the retry should happen (default is 0 > - no retry) and set http-queue-delay = n to set the number of seconds > between retries (defaults to 10 seconds) > > Regards > > Ben > > > On 16 Nov 2006, at 03:12, Marcelo Aguila wrote: > > > I've got the following sms-service > > > > group = sms-service > > keyword = default > > get-url="http://localhost/service.cgi?sender=%p&to=%P&msg=%a&smscid= > > %i&time=%t&id=%I" > > max-messages = 0 > > accept-x-kannel-headers = true > > concatenation = true > > accepted-smsc = SMPP1 > > > > So, when a sms arrives I executed service.cgi. In that script I > > save the data > > in a database in a mysql server running in another box. > > > > If the record insertion fails, for any reason, I would like to > > receive same > > request, every xx seconds, until mysql box is ok. Is it possible to > > do that > > with kannel? > > > > Regards, > > M.- > > > >