On 4/17/07, Iain Dooley <[EMAIL PROTECTED]> wrote:
> Hi list. I'd just like to ask how to suppress the 'Sent' message. > We're constantly receiving 'Sent.' SMS message after every MT SMS > sent. Is there anything I missed in the configuration? where are you receiving it?
Hi Iain, I'm receiving them in my mobile. But I think I already solved the problem. Here's a more complete scenario: I've set up a service wherein a user can send keyword based SMS service to an access number. I handled all the requests via a php script (using get-url). Similarly, the response would be handled by same php code which calls the sendsms cgi (in the kannel HTTP interface). I managed to suppress the 'Sent.' message by setting the curl return transfer to true so that the script won't print out the results of the http request. This didn't worked as expected and instead, it returned the message 'Empty reply from service provider.' After minutes of googling, I've finally found out that we can suppress this message by setting the omit-empty variable to true. After editing the config file, the 'Sent.' status message and the 'Empty reply..' message were suppressed. I'm a newbie in configuring kannel and I'm not sure if I'm using the gateway correctly. But right now, it's serving its purpose with my setup. Thanks. Percy
