req_feat patch

"Rene Kluwen" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <002d01c7923d$74addc40$800101df@CITO>
Nowadays, clickatell requires the req_feat parameter to enable to set
the sender id or send binary SMS.

This patch enables this. Votes?

Rene Kluwen
Chimit
req_feat.diff (text/plain, 698 B)
Index: gw/smsc/smsc_http.c
===================================================================
RCS file: /home/cvs/gateway/gw/smsc/smsc_http.c,v
retrieving revision 1.54
diff -u -r1.54 smsc_http.c
--- gw/smsc/smsc_http.c	15 Apr 2007 23:12:12 -0000	1.54
+++ gw/smsc/smsc_http.c	9 May 2007 13:15:49 -0000
@@ -664,7 +664,7 @@
     List *headers;
 
     /* form the basic URL */
-    url = octstr_format("%S/sendmsg?to=%E&from=%E&api_id=%E&user=%E&password=%E",
+    url = octstr_format("%S/sendmsg?to=%E&from=%E&api_id=%E&user=%E&password=%E&req_feat=25151",
         conndata->send_url, sms->sms.receiver, sms->sms.sender, conndata->system_id, conndata->username, conndata->password);
     
     /*
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.