RE: [FYI] new HTTP SMSC 'generic' system-type

"Richard Lowe" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Please unsubscribe me from this list


>From: "Ehizogie Binitie" <[email protected]>
>To: "'Stipe Tolj'" <[email protected]>,"'Kannel Development list'" 
><[email protected]>
>Subject: RE: [FYI] new HTTP SMSC 'generic' system-type
>Date: Mon, 2 Oct 2006 07:40:05 -0000
>
>Thanks Stipe,
>This was really needed.
>I was wondering if you had thought of supporting HTTP "POST" and supporting
>XML based gateways in 'generic'.
>
>This could be done by
>
>Adding an extra parameter to the group called url-template which would 
>point
>to a config file and read the XML template escaped with similar parameters
>in the 'get-url'.
>
>What do you think ..?
>
>Ehi
>
>
>Rancard Solutions Ltd.
>web: www.rancardsolutions.com
>email: [email protected]
>mobile: +233.27.622.1212
>office: +233.21.782.949
>
>-----Original Message-----
>From: Stipe Tolj [mailto:[email protected]]
>Sent: Sunday, October 01, 2006 5:32 PM
>To: Kannel Development list; Kannel Users
>Subject: [FYI] new HTTP SMSC 'generic' system-type
>
>Hi lists,
>
>I have commited today a patchset to CVS introducing a new system-type
>'generic'
>to smsc = http connection type.
>
>The 'send-url' HTTP URI can used the same escape codes as sms-service's
>'get-url' to pupulate the values from the msg struct passed from smsbox to
>bearerbox for MT submission.
>
>A sample group looks like this:
>
>    group = smsc
>    smsc = http
>    system-type = generic
>    port = 13015
>    send-url = "http://<foobar>/<uri>?from=%P&to=%p&text=%b"
>    status-success-regex = "ok"
>    status-permfail-regex = "failure"
>    status-tempfail-regex = "retry later"
>
>where you see that the URL is poulated with values directly from the 
>message
>
>struct and not within the gw/smsc/smsc_http.c module itself. This approach
>makes
>the calling of various HTTP APIs more flexible and doesn't require adding a
>new
>code fragment to the module.
>
>The result interpretation is done via 3 regex expressions matching against
>the
>HTTP response body to indicate the status of the message submission, either
>success, permanent failure or temporary failure. Which results in
>appropriate
>logging and handling of retry queues.
>
>Stipe
>
>-------------------------------------------------------------------
>Kölner Landstrasse 419
>40589 Düsseldorf, NRW, Germany
>
>tolj.org system architecture      Kannel Software Foundation (KSF)
>http://www.tolj.org/              http://www.kannel.org/
>
>mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
>-------------------------------------------------------------------
>
>
>--
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.407 / Virus Database: 268.12.10 - Release Date: 9/29/2006
>
>
>--
>No virus found in this outgoing message.
>Checked by AVG Free Edition.
>Version: 7.1.407 / Virus Database: 268.12.10/459 - Release Date: 9/29/2006
>
>
>
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.