a) Yes, kannel generic smsc already has this functionality.
b) Yes, this was lacking and was the primary goal for my patch
c) Yes, mo-ret-* parameters allows you to set the messages that the
external http connection will get on success or failure (this is also
part of the patch).

Regards,

Alejandro

On 9/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi Alejandro
>
> Thanks for this. Please I need clarifications.
>
> a) The new parameters in the http generic is for MT. Is this correct?
> b) But the new patch below is for MO (incoming http request from operator)?
> c) The parameter return strings "mo-ret-accepted, ... mo-ret-denied" in the
> patch will allow one to set the return strings to http request from
> operator?
>
> Hence the http generic combined with this patch will allow new parameters
> for both MT and MO?
>
> Thanks.
>
> Ismail
> ----- Original Message -----
> From: "Alejandro Guerrieri" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Tuesday, September 04, 2007 3:32 AM
> Subject: Re: how to override sendsms http attribute names ?
>
>
> > This allows to set the parameters for the MT url, but the MO
> > parameters remains the Kannel defaults and cannot be changed, so you
> > have to ask the other party to use your parameters.
> >
> > I'm developing a patch to overcome this, but it's still undocumented
> > (and of course it's not part of any public CVS tree).
> >
> > I'm transcribing my previous message regarding the patch, maybe it helps
> you.
> >
> > Regards,
> >
> > Alejandro.
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++
> >
> > It adds the following (optional) parameters to the smsc group with
> > system-type='generic'
> >
> > 1. Parameters for the incoming (MO) HTTP request:
> >
> > mo-from
> > mo-to
> > mo-text
> > mo-udh
> > mo-account
> > mo-binfo
> > mo-dlr-url
> > mo-dlr-mid
> > mo-flash
> > mo-mclass
> > mo-mwi
> > mo-coding
> > mo-validity
> > mo-deferred
> > mo-dlr-mask
> >
> > This allows to set a specific parameter name for all those values. If
> > missing, the default is used, so no changes are needed if you're using
> > the defaults.
> >
> > 2. Parameters for the return strings:
> >
> > mo-ret-accepted
> > mo-ret-denied
> > mo-ret-unknown-dlr
> > mo-ret-missing-args
> > mo-ret-udh-mismatch
> > mo-ret-udh-long
> > mo-ret-auth-failed
> > mo-ret-dlr-accepted
> > mo-ret-dlr-denied
> >
> > This allows to set specific strings to be return instead of "Sent.",
> > "Not Accepted", etc. If missing, the default strings are used, so no
> > changes are needed on conf files unless you really want to modify the
> > strings.
> >
> > The patch also allows to ignore the username and password for the MO
> > request. Just don't set "smsc-username" and "smsc-password" and the
> > request won't ask for those parameters.
> >
> > To download the patch, please go to:
> >
> > http://www.magicom-bcn.net/kannel/full-mo-http-params.patch
> >
> > I know there are many scenarios where this is not enough to accomodate
> > third parties' requirementes, but I think that a lot of "custom http
> > smsc's" could be implemented using this patch, without the need of
> > modifying the source code and recompiling Kannel.
> >
> > In my particular case, all but one of the many HTTP connections we
> > have could be implemented with this (being the one missing one using
> > synchronous messaging, so it needs a lot of "glue" to make it work).
> >
> > Please let me know what you think. I'll make proper userguide patches
> > as well if this have any chances of going into the main tree.
> > ++++++++++++++++++++++++++++++++++++++++++++++++
> >
> > On 9/3/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > For http smsc, you create your own send and receive urls.
> > >
> > > In the http smsc part of your configuration file, set your operator url
> in
> > > "send-url" i.e the url through which you will send messages to your
> > > operator. e.g
> > > send-url = http://youroperator:operator_port
> > >
> > > Also set your port where you will receive messages from your operator.
> > >
> > > See user guide
> > >
> > > Tunrayo
> > > ----- Original Message -----
> > > From: "Waseem Azhar" <[EMAIL PROTECTED]>
> > > To: <[email protected]>
> > > Sent: Monday, September 03, 2007 11:53 AM
> > > Subject: how to override sendsms http attribute names ?
> > >
> > >
> > > > Hi All,
> > > >
> > > > Is it possible to override http send sms interface's  attributes. For
> > > > example : following are the standard attributes for send sms
> > > > (username,password,to,text etc..)
> > > >
> > > >
> > >
> http://smsbox.host.name:13013/cgi-bin/sendsms?username=foo&password=bar&to=0
> > > 123456&text=Hello+world
> > > >
> > > > I want to override those attribute name like [MsgData insted of text],
> > > > [destination insted of to etc..] . Is this possible in Kannel
> > > > configuration ? I am using http relay smsc & service provider is
> > > > requiring his own set of http request attributes. like ..
> > > >
> > > >
> > >
> http://smsbox.host.name:13013/cgi-bin/sendsms?username=foo&password=bar&dest
> > > ination=0123456&MsgData=Hello+world
> > > >
> > > >
> > > > Please help me regarding this.
> > > >
> > > >
> > > > Thanks in advance.
> > > >
> > > > -Azhar
> > > >
> > >
> > >
> > >
> >
> >
> > --
> > Alejandro Guerrieri
> > Magicom
> > http://www.magicom-bcn.net/
> > LinkedIn: http://www.linkedin.com/in/aguerrieri
> >
>
>


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

Reply via email to