Re: [PATCH] Default 'dlr-[url|mask]' for 'group = sms-service' context

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi,

looks good, got for it...

Alex

Am 16.08.2013 um 18:04 schrieb Stipe Tolj <[email protected]>:

> Hi list,
> 
> here is a simple patch that adds the capability to define an "default" DLR URL and bit mask for the 'group = sms-service', when we use the HTTP response (or a defined fixed reply string) directly as MT back to the user.
> 
> At the moment we can parse the X-Kannel HTTP headers for a [get|post]-url'ed sms-service, but, i.e. have no mechanism to do this for exec'ed or fixed replies. This config directive allows it to define a default DLR URL with the corresponding escape codes defined, that are called on the DLR event getting back to the smsbox scope.
> 
> The patch is considerable easy and adds just a couple of checks. We'll still use the X-Kannel HTTP header values in favor, before falling back to the default config values from these directives.
> 
> Please review and comment.
> 
> 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
> -------------------------------------------------------------------
> <sms-service-dlr.diff>
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.