add dynamic parameter
Benjamin Heryanto <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Dear list
one of my telco implementation new rule for MT Send , add a dynamic data to
variable sdmcode based on key/service to sent
example for keyword: test
http://urltelco/scri?user=a&psw=b&sdmcode=SECRET&...
and for keyword: another
http://urltelco/scri?user=a&psw=b&sdmcode=OTHER&....
how to modify the smsc_http.c to add this dynamic value
Second for another telco they will implement this DLR system:
for success they will reply 1:ABCDEX , ABCDEX is a transaction id
(foreign id)
my implementation before based on successful delivery ( only reply : 1)
/*SUCCESS*/
if ((status == HTTP_OK || status == HTTP_ACCEPTED)
&& (octstr_case_search(body, octstr_imm("1"), 0) == 0)) {
dlrstat = 1;
bb_smscconn_sent(conn, msg, NULL);
}
how modify this new situation?
Regards
Benjamin