Hi, I had a case where SMSs aggregator would have wanted to use HTTP interface, and the requests (MO/MT) would have been sent and received using HTTP POST. It seems that Kannel communicates only using GET method, at least when you have selected HTTP SMSC with system-type "generic".

Searching from the web I found a mention about a patch that would turn the SMSC HTTP generic module to POST, by changing HTTP_METHOD_GET to HTTP_METHOD_POST in gw/smsc/smsc_http.c (line 1480-1500 depending on the version), and then recompiling the package.

At least in version 1.4.3 it didn't seem to work, but luckily aggregator had also SMPP, so the problem could be resolved that way.

But I still wonder if there was some undocumented way to configure the HTTP interface of Kannel so that it would communicate via POST instead of GET.

Best regards,

Antti

Reply via email to