RE: In support of Billing MT sms

"Bill Brigden" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Surely if you just set your dlr-url to:

dlrurl=http://10.0.0.211/traker/WebForm1.aspx?receiver=%P&sender=%p&tid=91
in each request instead of being in the config file, ie:

http://10.0.0.3:13013/cgi-bin/sendsms?user=foo&pass=bar&from=61428884524&to=
1880123&text=hello+bimbo&charset=&udh=&mclass=0&coding=0&mwi=0&validity=&def
erred=&dlrmask=31&dlrurl%3Dhttp%3A%2F%2F10.0.0.211%2Ftraker%2FWebForm1.aspx%
3Freceiver%3D%25P%26sender%3D%25p%26tid%3D91

Notice that the dlrurl has to be url encoded when put in the request.

Regards,
Bill.
________________________________

From: [email protected] [mailto:[email protected]] On Behalf
Of fred
Sent: 25 March 2004 05:38
To: devel
Subject: In support of Billing MT sms


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=61428884524&to=
1880123&text=hello+bimbo&charset=&udh=&mclass=0&coding=0&mwi=0&validity=&def
erred=&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,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.