we set the dlr-url in the config file, rather than with each sendsms request,so therefore we needed another parameter. sure it looks like we could have used as you suggested,perhaps it wasn't immediately obvious, but we prefer our solution.
----- Original Message ----- From: "Arne K. Haaje" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 25, 2004 7:09 PM Subject: Re: In support of Billing MT sms -#- MailID:PAAA > torsdag 25. mars 2004, 06:38, skrev fred: > > Hullo group, > > > > in support of billing for MT messages, DLR is used ok?! However we > > found need to tie a transaction of the posted sms message to the > > smsbox, and then the eventual DLR response. > > Working off verson 1.3.1, added ability to add > > http://10.0.0.3:13013/cgi-bin/sendsms?user=foo&pass=bar&from=614288 > >84524&to=1880123&text=hello+bimbo&charset=&udh=&mclass=0&coding=0&mw > >i=0&validity=&deferred=&dlrmask=31&tid=91 note the &tid=number > > > > and then the > > dlr-url=http://10.0.0.211/traker/WebForm1.aspx?receiver=%P&sender=% > >p&tid=%z > > > > we can get the number back, is this useful to anyone else? i bet > > implementation: > > > > essentially..added MSG(sms,.... INTEGER(tid); -- mesg-decl.h > > > > code in smsbox to get the additional tag, > > > > code in bearerbox dlr to save and restore the tid, > > > > is there any interest in this ? for me to describe this up as a > > patch to be submitted? > > > > PS: to match transactions you might be thinking source and > > destination etc in there already is enough, but wasn't for us, > > Maybe I misunderstand you, but why don't you just do > dlr-url=http://10.0.0.211/traker/WebForm1.aspx?receiver=%P&sender=%&tid=91 > > That way you will get get tid back with the dlr, and there is no need > to patch Kannel. > > -- > Med vennlig hilsen, > Eurobate ASA > > Arne K. Haaje > Senior Network Engineer > -------------------------------------------------------------------- > Eurobate ASA - Postboks 4589 Nydalen - 0404 Oslo - Norway > Phone: +47 23 22 73 73 - Fax: +47 23 22 73 74 - Mob: +47 92 88 44 66 > http://www.eurobate.no/ >
