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
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);
     
     /* 

Reply via email to