To make it work, add the following to your kannel.conf. group = smsc smsc = http system-type = clickatell smsc-id = clickatellsmsc allowed-smsc-id = clickatell port = 8060 send-url = https://api.clickatell.com/http smsc-username = <your clickatell username> smsc-password = <your clickatell password> system-id = <your clickatell http api id> connect-allow-ip = *.*.*.*
You can tighten the connect-allow-ip to just the clickatell host. I am unsure if they just do DLR's from one single host or if they have a farm. The port setting defines on which port Kannel waits for MO messages and DLR's. To make DLR's work, specify the callback URL in your Clickatell api settings as follows: http://your-host.com:port/ You can choose the send-url to either to https or plain http - whichever your prefer. If Kannel is compiled with ssl, then probably https is the safest, since the driver sends your password with every request. You can choose whichever smsc-id you want, of course. For MO messages, select target type = HTTP. Target address will be: http://your-host.com:port/ (as above). I hope to hear some results!! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rene Kluwen Sent: dinsdag 14 maart 2006 18:49 To: [email protected] Subject: RE: [Kannel 0000322]: Clickatell http driver patch - Testers wanted! Apologies. In my previous post, the patch contained some debugging code that still needed to be removed. Please use attached patch in stead. Also, please do give some feedback. Rene Kluwen Chimit -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rene Kluwen Sent: dinsdag 14 maart 2006 18:45 To: [email protected] Subject: RE: [Kannel 0000322]: Clickatell http driver patch - Testers wanted! Attached to this post is a Clickatell HTTP driver. New from previous version is that this patch also supports MO messages. Rene Kluwen Chimit -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rene Kluwen Sent: maandag 13 maart 2006 14:34 To: [email protected] Subject: FW: [Kannel 0000322]: Clickatell http driver patch See the bugreport below. It will be nice if people can test this patch. Rene Kluwen Chimit -----Original Message----- From: Apache [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: zondag 12 maart 2006 22:08 Subject: [Kannel 0000322]: Clickatell http driver patch The following NEW bug has been ADDED. ======================================================================= http://bugs.kannel.org/view_bug_page.php?f_id=0000322 ======================================================================= Reporter: rene Handler: rene ======================================================================= Project: Kannel Bug ID: 0000322 Category: General HTTP Reproducibility: always Severity: feature Priority: normal Status: assigned ======================================================================= Date Submitted: 03-12-06 21:08 GMT Last Modified: 03-12-06 21:08 GMT ======================================================================= Summary: Clickatell http driver patch Description: Attached patch allowes sending/receiving SMS via the Clickatell HTTP API. MO messages are not supported yet - but will soon come. =======================================================================
