Dear list

My telco need immediately respond from my server after hit to my server,

Here my local testing
the telco hit my server using someting like this
lynx "
http://myurl:13201/xxx/pull.jsp?trx_id=0902090903028531668711&msisdn=6281234567&trx_date=200902101727&sms=abc&to=1234

after my server got the MO my server should respond OK . how to send that
word


here snip of end of line from my modify telco_receive_sms

       msg->sms.foreign_id = octstr_duplicate(id);

        ret = bb_smscconn_receive(conn, msg);
        httpstatus = (ret == 0 ? HTTP_OK : HTTP_FORBIDDEN);
    }

   reply_headers = gwlist_create();

    http_header_add(reply_headers, "Content-Type", "text/plain");

    http_send_reply(client, httpstatus, reply_headers, NULL);
    http_destroy_headers(reply_headers);

Regards

Reply via email to