Nevermind...I was using %a, and the desired behavior is achieved using %b,
as seen in the User Guide:
http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#AEN3887

Maybe the description for the %a parameter could include the information of
the trim being done (not just whitespaces being squeezed to one, but also
whitespaces at both ends being completely removed).

Greetings,

--
Rodrigo Rocco Rubim


On Tue, Aug 13, 2013 at 11:03 AM, Rodrigo Rocco <[email protected]> wrote:

> Hello,
>
> I have a problem with a customer sending binary MOs to Kannel. Messages
> ending with an space (%20), or tabulation, or any whitespace character are
> being omitted from the %a parameter, as if a "trim" is being done before
> the message is sent.
>
> Is it the default behavior? Is there any way to make Kannel receive an MO
> with just one character (space, %20) and this character be forwarded to my
> listening web service, instead of an empty string?
>
> I'm using Kannel 1.5.0, svn-r4863.
>
> Thanks in advance,
>
> --
> Rodrigo Rocco Rubim
>

Reply via email to