pull.jsp is you own script isn't it? if so, modify pull.jsp file, so
you echo an "OK" in response to its call
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com
On Mon, Feb 23, 2009 at 4:15 AM, Benjamin Heryanto
<[email protected]> wrote:
> 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
>
>