On Sat, 2009-10-10 at 11:44, Abe mobME wrote: > I'm getting a dlr for these request, but the issue is the operator wants > the register_delivery set as 00010001. Other wise the DELAY dlr(in case the > subscriber is switched off) gets queued up at the smpp end. So i think the > dlr-url is working.
Binary 00010001 is 17 in decimal. So set dlr-mask=17 It is explained in userguide. > On Sat, Oct 10, 2009 at 11:26 AM, Iain Dooley > <[email protected]>wrote: > > > > kannel-url= "' > >> > >> http://localhost:14001/cgi-bin/sendsms?username=%s&password=%s&to=%s&text=%s&smsc=SampleSMPP&from=mobme&dlr-mask=31&pid=64&validity=1440&dlr-url=%s > >> " > >> > >> dlr-url="http://localhost:4568/?log_id=%s&dlr_value=%%d&dlr_reply=%%A" > >> > > > > i'm not sure where this dlr-url and kannel-url are being defined ... but > > when i do an HTTP request to kannel, i include the full dlr-url in my > > request as a urlencoded parameter. so for example i use PHP: > > > > $dlr_url = 'http://myhost.com/dlr.php?status=%s&id=MYID'; > > $request = $kannel_host.$other_params.'&dlr-url='.urlencode($dlr_url); > > > > so the dlr-url passed in the HTTP request to kannel has the entire dlr-url > > in it. in your request above you're only putting dlr-url=%s which looks > > incorrect to me. > > > > cheers > > iain > > > > > > r > >> Regards > >> Abe > >> On Sat, Oct 10, 2009 at 8:53 AM, Iain Dooley <[email protected] > >> >wrote: > >> > >> Are you also setting the dlr-url parameter? > >>> > >>> Cheers, > >>> Iain > >>> > >>> > >>> On Sat, 10 Oct 2009, Abe mobME wrote: > >>> > >>> aa > >>> > >>>> > >>>> Hi, > >>>> I need to set the registered-delivery to x x x 1 x x x x as specified > >>>> by > >>>> the operator. Im currently using dlr-mask 31, but still the > >>>> registered-delivery has not changed. Please provide some help here. > >>>> Thanks > >>>> > >>>> Regards > >>>> Abe > >>>> > >>>> > >>>> > >> -- Kind regards, Milan -------------------------------------------------- Arvanta, IT Security http://www.arvanta.net phone: +38122478204, +38163429022 Please do not send me e-mail containing HTML code.
