Hi

Then you need to use your own app to do that.

dlr-ulr, by definition --and validated by smsbox-- is an url. that is
why you get the malformed error. An integer in not a url.

What you need to do is create a script you can call by http and pass
your id like

...&dlr-url=urlencode(http://myhost/mypath/mydlrscript.php?myid=12345)&...

Then your mydlrscript.php will update the required table as needed.
BTW you might want to add some of the parameters available so you get
more detailed info.

Don't know sqlbox but I assume it does not validate that the dlr-url
field is actually an url

Regards

Alvaro

|-----------------------------------------------------------------------------------------------------------------|
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.com


On Thu, May 22, 2014 at 2:23 PM, خان ابو زید <[email protected]> wrote:
> Using sqlbox no error, but in smsbox getting error.
>
> i want to update message status in other table map with id(integer)  that
> why using integer not url.
>
>
> On Thu, May 22, 2014 at 7:14 AM, Alvaro Cornejo <[email protected]>
> wrote:
>>
>> Hi
>>
>> dlr-url must be an url. why did you declare it as an integer?
>>
>> should be something like:
>>
>> ...&dlr-url=urlencode(http://myhost/mypath/myscript.php?xxxxx)&...
>>
>> dlr-url is the url kannel calls for delivering the message status
>> notifications (dlr)
>>
>> Regards
>>
>> Alvaro
>>
>>
>> |-----------------------------------------------------------------------------------------------------------------|
>> 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.com
>>
>>
>> On Thu, May 22, 2014 at 6:45 AM, خان ابو زید <[email protected]>
>> wrote:
>> > Hi,
>> >
>> > dlr-url = integer value
>> >
>> >
>> > http://127.0.0.1:12013/cgi-bin/sendsms?username=abuzaid&dlr-url=1245&charset=utf-8&from=UPDATE&to=9664541886&dlr-mask=31&text=test+sms&smsc=smsc001&password=TEST&coding=0
>> >
>> > Getting Error:
>> >
>> > Status: 400 Answer: <DLR-URL field misformed, rejected>
>> >
>> > --
>> > Regards
>> >
>> > Khan Abuzaid
>> > Mob# :09664541886/9594092200
>> > Mumbai
>
>
>
>
> --
> Regards
>
> Khan Abuzaid
> Mob# :09664541886/9594092200
> Mumbai

Reply via email to