Hello,
I have been a user of smslib for about a year and especially smsserver
since it has always enabled me to run many of sms services without a
hitch (Thanks). I started using the kannel gateway about a week ago
and noticed that everytime I send a message, the from parameter keeps
getting changed to the recepient's number. I made some changes to the
code and it has been working for me but I thought I should alert you
so that you can have a look at it. (KannelHttpGateway.java at line
153)
// if from is not null and an originator has been set this is where
the code resets the from to the recepient //
if (from != null)
{
request.add(new HttpHeader("from", msg.getRecipient(),
false));
}
Secondly, I have seen in the configuration that there is a property
where I can configure whether this gateway is outbound or not. On that
note, I was wondering whether an inbound configuration can be done and
if so whether it will work right out of the box or whether I have to
use other interfaces such as http or httpserver to handle incoming
posts.
Kind regards.
Abel
--
You received this message because you are subscribed to the Google Groups
"SMSLib Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/smslib?hl=en.