Hi again,

    Kannel uses spaces to distinguish one number from another. So, you
cannot use spaces inside a phone number. Please, pre-process your
numbers, so that they don't have spaces within. A well formed number
looks like this:

+541199998888

and not

+54 11 9999 8888  <--- this will be seen as four numbers.

    For multiple numbers, use space as separator:

+541199998888 +541177778888 +541133338888

and remember to URL-encode the hole string, something like:

urlencode("+541199998888 +541177778888 +541133338888")

    Best regards,

Rodrigo.


On Fri, May 29, 2009 at 9:20 AM, <[email protected]> wrote:
>
> Thanks for the reply.  The problem is more that I don't want spaces.  It is 
> confusing the program into thinking that a new number is beginning, when all 
> I really want is to find some way to get it to ignore them.
>
> Thanks
>
> -----Original Message-----
> From: Rodrigo Cremaschi [mailto:[email protected]]
> Sent: Thursday, May 28, 2009 4:41 PM
> To: von Gunten-Hinke Jessica, SCS-NIT-NIO-SE-ISC
> Cc: [email protected]
> Subject: Re: questions about syntax
>
> Try + (which is the URL encoded version of the space character)
>
> On Thu, May 28, 2009 at 11:27 AM,  <[email protected]> 
> wrote:
> > Here is more or less what I am doing
> > This works:
> > lynx -dump 
> > "http://localhost:13007/cgi-bin/sendsms?username=username&password=password&to=1234567890&text=hello";
> >
> > This works
> > lynx -dump 
> > "http://localhost:13007/cgi-bin/sendsms?username=username&password=password&to=1234567890
> >  0987654321&text=hello"
> >
> > But this doesn't work regardless of whether or not "sendsms-chars" is 
> > defined to allow spaces or not:
> >
> > lynx -dump 
> > "http://localhost:13007/cgi-bin/sendsms?username=username&password=password&to=123
> >  456 7890&text=hello"
> >
> > I would like to be able to able to somehow indicate where one number stops 
> > and the next begins using a character other than ' ' and also to allow ' ' 
> > within a number like 123 123 4567.
> >
> > Thanks for your help.
> >
> > Jessica
> > -----Original Message-----
> > From: Rodrigo Cremaschi [mailto:[email protected]]
> > Sent: Thursday, May 28, 2009 4:21 PM
> > To: von Gunten-Hinke Jessica, SCS-NIT-NIO-SE-ISC
> > Cc: [email protected]
> > Subject: Re: questions about syntax
> >
> > Hi Jessica,
> >    Are you URL-encoding the list of numbers?
> >    Regards,
> > Rod.
> >
> > On Thu, May 28, 2009 at 11:16 AM,  <[email protected]> 
> > wrote:
> >> Hi Everyone,
> >>
> >> I am trying to send SMS via command line with lynx.
> >>
> >> It is no problem with a single number, it works.
> >>
> >> With multiple users it also works, but only for numbers that don't
> >> need a country code and only if there is a single blank space between 
> >> numbers.
> >>
> >> Is there some way that I can make kannel use a different character,
> >> other than ' ' to indicate a new number.  The problem is that in the
> >> add user interface users are allowed to enter blank spaces between
> >> (Ex: 075 222 3333) and this is screwing with kannel.
> >>
> >> Also, it is not sending messages wtih +, such as +41 for Switzerland.
> >> Is this not an acceptable use of the character.
> >>
> >> J
> >>

Reply via email to