max-messages = If the message to be sent is longer than maximum length of an
SMS it will be split into several parts. max-messages  lets you specify a
maximum number of individual SMS messages that can be used. If max-messages
is set to 0, no reply is sent, except for error messages.

That means, when your message reply is longer than the (presumably) 160 max
char PER MESSAGE, it will be split into <max-messages>.  If you set it to 0,
no messages are replied at all (except for error messages).


Alejandro Guerrieri wrote:
> 
> omit-empty = true only ignores empty messages, not sending the "<empty
> reply from service provider>" but if your app happens to print even a
> single character to stdout (an error message, for example), it will be
> sent as an SMS to your users.
> 
> Rodrigo is right, max-messages = 0 is the way to make sure that no
> messages are being sent from the scripts response, even when there is
> some text output.
> 
> Hope it helps
> 
> On 2/25/06, tonex <[EMAIL PROTECTED]> wrote:
>>
>> I don't think that's it.  I think I've found it in "omit-empty = true"
>> (then
>> don't issue an echo)
>>
>>
>> Rodrigo Cremaschi wrote:
>> >
>> > set
>> >
>> > max-messages = 0
>> >
>> > and that will make it!
>> >
>> > On 2/24/06, tonex <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Stipe Tolj wrote:
>> >> >
>> >> > a) smsbox passes to HTTP server and get's a HTTP response, _THAT_
>> HTTP
>> >> > response
>> >> > is send back to the user (MT) message.
>> >> >
>> >> > b) smsbox passes to HTTP server and ommits the response. Now the
>> HTTP
>> >> > server
>> >> > layer is responsible to call smsbox's sendsms HTTP interface to
>> inject
>> >> the
>> >> > MT
>> >> > message. That's what you see with 'sent.'.
>> >> >
>> >>
>> >> Stipe,
>> >>
>> >> How do I omit the HTTP response?
>> >>
>> >> My problem is the mobile receives 2 messages:
>> >> 1.  from the sendsms http interface that i call from my web
>> application,
>> >> and
>> >> 2.  from the response of the web application url (even though my web
>> >> application does not echo/respond)
>> >>
>> >> I just want to use the sendsms http interface when replying to a
>> mobile.
>> >>
>> >> Thanks,
>> >> tonex
>> >>
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/I-just-don%27t-get-it%21-Waaah%21-t1126000.html#a3109859
>> >> Sent from the Kannel - User forum at Nabble.com.
>> >>
>> >>
>> >>
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/I-just-don%27t-get-it%21-Waaah%21-t1126000.html#a3119034
>> Sent from the Kannel - User forum at Nabble.com.
>>
>>
>>
> 
> 
> --
> Alejandro Guerrieri
> Magicom
> http://www.magicom-bcn.net/
> 
> 
> 
--
View this message in context: 
http://www.nabble.com/I-just-don%27t-get-it%21-Waaah%21-t1126000.html#a3234396
Sent from the Kannel - User forum at Nabble.com.


Reply via email to