Re: Error of fakesmsc in Kannel

Cavit Dolgun <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[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.