Re: Error of fakesmsc in Kannel

"Thiago PC" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
The code is changed, now the command "-r" (that was for "randomize") is
the option for port. For randomize, "-z" is defined instead.
They changed the list of options in table C-1 of the user guide too (
http://www.kannel.org/download/1.4.0/userguide-1.4.0/userguide.html#AEN4853)

But the file "other_smskannel.conf" in "gw" folder is still wrong (we can
see
test/fakesmsc -p 10000 -H localhost -i 1 -m 100 "100 300 text relay nop"
in beginning, should be
 test/fakesmsc -r 10000 -H localhost -i 1 -m 100 "100 300 text relay nop")

cheers
Thiago


2006/9/4, Cavit Dolgun <[email protected]>:
>
> hi Thiago,
>
> Actually i hadn't realized this until now.
>
> If you download the latest CVS version of kannel you can see that this
> has been fixed. And if you started using kannel recently like myself i
> recommend that you go with the latest CVS version as there are many
> fixes.
>
> http://www.kannel.org/download/kannel-snapshot.tar.gz
>
> Regards,
>
> Cavit
>
> On Mon, 2006-09-04 at 11:01 -0300, Thiago PC wrote:
> >
> > Hello. I'm new in this mailing list, so I'm sorry if it already been
> > discussed before. I just want to say that the option "-p" to define
> > the port is not working on fakesmsc, only the "--port" is working.
> >
> > To fix this, first I opened the file fakesmsc.c in
> > "gateway-1.4.0/test" folder, line 164 (function check_args) and
> > changed it (the argument has been comparing to "-r", but it should be
> > "-p"). But still doesn't work.
> >
> > Then I figure out that, in utils.c in "gateway-1.4.0/gwlib" folder,
> > line 480 (function get_and_set_debugs) the argument "-p" was
> > previously allocated to define the pid-file, so it can't be used as
> > the fakesmsc port.
> > So this behavior ("-p port") is wrong in fakesmsc command description.
> >
> > cheers
> >
> > Thiago
> >
> >
> >
>
>
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.