Hi, What happens, if it is a really long script, is that you tie up Kannel for too long. Since it is in essence single-threaded, this will make it apparently unresponsive. But this is so, only until your script exits. I think it would be an excellent idea to send in the background. Please try it.
BR, Nikos ----- Original Message ----- From: David To: [email protected] ; Nikos Balkanas Sent: Thursday, February 12, 2009 11:43 PM Subject: Re: HELP! Patent claim! Can we use an alternate protocol? my php script is this really, really long php script that controls all logic in our company. my concern is that having 10+ running copies of the php script (vs being handled by apache which probably does a better job of managing overhead) caused the server to crash (or kannel to be unresponsive. the command i had is: exec = "/var/www/vhosts/.../httpdocs/exec.php msg=%a phone=%p shortcod\ e=%P operatorid=%o metadata=%D >/dev/null 2>&1" now looking at it, if I add a "&" to the end, would that fix it as it detaches the process? ie, exec = "/var/www/vhosts/.../httpdocs/exec.php msg=%a phone=%p shortcod\ e=%P operatorid=%o metadata=%D >/dev/null 2>&1 &" --- On Thu, 2/12/09, Nikos Balkanas <[email protected]> wrote: From: Nikos Balkanas <[email protected]> Subject: Re: HELP! Patent claim! Can we use an alternate protocol? To: [email protected], [email protected] Date: Thursday, February 12, 2009, 1:39 PM Hi, You probably have a problem in your exec code. Since it is a different process it doesn't affect kannel and only the server or its target. Mind posting it? BR, Nikos ----- Original Message ----- From: David To: [email protected] Sent: Thursday, February 12, 2009 9:00 PM Subject: HELP! Patent claim! Can we use an alternate protocol? Hello, Us users of SMS Shortcodes are getting hit in the US for violating a patent by TCS Inc. The patent claims to cover: "A gateway, comprising: a first communication path to accept a short message from a mobile device; a translation module to insert said short message into an Hypertext Transfer Protocol (HTTP) message; a second communication path to push said HTTP message to at least one Universal Resource Locator (URL); and a return communication path to receive a return message relating to said HTTP message." The patent goes on to mention a whole bunch of stuff, ie, using HTTP POST to send the http message, etc. I just got out of a meeting with my lawyer. He says, the only way to get around this is to NOT use HTTP. Over the weekend, I tried to use the sms-service using EXEC instead of GET-URL, which worked fine... and then the server crashed... i'm guessing too many spawned processes? My question to you all is: how can we NOT use HTTP but have the same end result? ideally, it would use a command-line exec, but push it into a waiting server, instead of spawning a new thread. Does anybody have any ideas on how to do this? Thank you very much, David
