Ady,

Check the user guide for the "%d" parameter, it's what you're looking for.

Regards,

Alejandro

On 8/12/07, Ady Wicaksono <[EMAIL PROTECTED]> wrote:
> I have one SMSC connection and already setup DLR for kannel.
>
> I use DLR-MySQL with configuration like this
>
> ----------- cut here -------------
> group = dlr-db
> id = mydlr
> table = t_kannel_dlr
> field-smsc = smsc
> field-timestamp = timestamp
> field-destination = destination
> field-source = source
> field-service = service
> field-url = url
> field-mask = mask
> field-status = status
> field-boxc-id = boxc
> ----------- cut here -------------
>
> Anytime I send SMS I use HTTP Request like this:
>
> GET
> /sendsms?dlr-mask=31&username=kakek01&password=xxxxx&to=<somenumber>&text=<sometext>&from=<sender>&dlr-url=<somedlr-url>
> HTTP/1.0
>
> However, delivery report comes to me as standard incoming SMS and hit my
> default SMS handler like this like this
>
> GET
> /smshandler/reg_sms_bulksms.php?msisdn=0&sms=id%3A1267572+sub%3A000+dlvrd%3A0
> 00+submit+date%3A0708110516+done+date%3A0708110516+stat%3ADELIVRD+err%3A00+text%3AGW290+MCC%3D505+MNC%3D3+BillingMNC%3D3&trx_
> date=2007-08-11+18:02:34&dest=<someMSISDN> HTTP/1.1
>
> or
>
> something like this in kannel access
> msg:134: id:1322900 sub:000 dlvrd:000 submit date:0708110218 done
> date:0708110218 stat:DELIVRD err:00 text:GW290 MCC=505 MNC=11 BillingMNC=11
>
> My Question is, can I save id 1322900 while doing submit_sm so one day SMSC
> give me DLR using standard incoming sms
> I could detect this DLR and process to update my SMS data?
>
> Or any other way for this case?
>
>
>
> --
> Regards,
>
> Ady Wicaksono
> Email:
> ady.wicaksono at gmail.com
> http://adywicaksono.wordpress.com/


-- 
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
LinkedIn: http://www.linkedin.com/in/aguerrieri

Reply via email to