Hi Pawel, One possible solution is to have Kannel queue the request and retry at a later time.
Khary Sent from my BlackBerry® device from Digicel -----Original Message----- From: "Pawel J. Sawicki" <[EMAIL PROTECTED]> Date: Mon, 10 Dec 2007 21:37:50 To:users@kannel.org Subject: Can a failed service cause a reject of an incoming sms message? Hi! I have the following situation. I am building an sms/mms gateway between a GSM/UMTS operator and a VASP (using Kammel for sms and Mbuni for the mms part). So far, I've managed to solve most of my problems. But there's one that drives me crazy. The architecture must be fault tolerant, redundant, etc. I was planning on building a central bus (using e.g RabbitMQ) but I have a problem with providing a transactional environment. I cannot force Kannel to reject a message if a service defined using post-url (or post-xml, or even using an exec call) failes, e.g. returns any code except 200 or is simply unavailable. What I was trying to acchieve was that: + whenever Kannel gets a message from the smsc it should call a remote service that (if everything's ok) would add the message to the queue + if, for any reason, the service is unavailable or is unable to process the message correctly it should rollback the whole operation, that is Kannel should not acknowledge the sms, "telling" the smsc to retry it sometime in the future Is this scenario possible? Is there a way an sms service can signal this sorts of behavior? Or maybe there is another way of getting that without rewriting Kannel itself? Thanks in advance for your time and help! Regards, Pawel Sawicki