There's no need to modify the code. You could add sms-service rules for each of your keywords adding your smdcode there.

Regarding the DLR system, read the documentation on the "generic" http- smsc, you can grab the response code using a regex.

Hope it helps,
--
Alejandro Guerrieri
[email protected]



On 08/09/2009, at 6:10, Benjamin Heryanto wrote:

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






Reply via email to