Re: Bearerbox bug?

Nisan Bloch <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
At 12:54 PM 4/24/03 +0200, you wrote:
>Nisan Bloch wrote:
> >
> > We have added a extra param smsc-ctrl-id - which defaults to smsc-id and is
> > used in the stop/start code.
>
>how's that working?

Well.. for us :-)

* i added an extra smsc var smsc-ctrl-id and a parallel value, id_ctrl, in 
the smscconn struct.
* smscconn_create looks for this optional value in the config file and if 
not present defaults id_ctrl to the smsc-id
* changed smsc2_find to use conn->id_ctrl instead of conn->id
* changed smsc2_restart_smsc to use smsc-ctrl-id and then smsc-id when 
looking through the config groups.
* and finally modified smsc2_status to show the smsc-ctrl-id next to the 
smsc_id if they are different.
and thats it.....

nisan


>Stipe
>
>[email protected]
>-------------------------------------------------------------------
>Wapme Systems AG
>
>Vogelsanger Weg 80
>40470 Düsseldorf
>
>Tel: +49-211-74845-0
>Fax: +49-211-74845-299
>
>E-Mail: [email protected]
>Internet: http://www.wapme-systems.de
>-------------------------------------------------------------------
>wapme.net - wherever you are
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.