Hi all,

thanks Thanasis!,

I've tried that and "restarted the PC" (it's alinux but in the "windows"
world generally works... :)  ) and it works now, I believe it's not because
the order of the definitions but now it works....
thanks for the tips...


2010/1/20 Thanasis <[email protected]>

> One thing I see is that you "gateway.xxx" definitions are not in
> order. You have "gateway.0" and "gateway.2" but not "gateway.1"
> Readjust your config declarations and give it one more try.
>
> On Jan 19, 8:35 pm, tiojose <[email protected]> wrote:
> > Hi all,
> >
> > I'm trying to configure my app with 3 gateways at the same time and I
> > can not make it work, this is my configuration:
> >
> > SMSServer.con:
> >
> > #Modem HUAWEI E160
> > gateway.0=modem0, SerialModem
> > modem0.port=/dev/ttyUSB0
> > modem0.baudrate=115200
> > modem0.manufacturer=Huawei
> > modem0.model=E160
> > modem0.protocol=PDU
> > modem0.pin=0000
> > modem0.inbound=yes
> > modem0.outbound=yes
> > modem0.smsc_number=+59896998001
> >
> > #Modem HUAWEI E176
> > gateway.2=modem2, SerialModem
> > modem2.port=/dev/ttyUSB2
> > modem2.baudrate=115200
> > modem2.manufacturer=Huawei
> > modem2.model=E176
> > modem2.protocol=PDU
> > modem2.pin=0000
> > modem2.inbound=yes
> > modem2.outbound=yes
> > modem2.smsc_number=+59899998932
> >
> > #Modem HUAWEI E270
> > gateway.4=modem4, SerialModem
> > modem4.port=/dev/ttyUSB4
> > modem4.baudrate=115200
> > modem4.manufacturer=Huawei
> > modem4.model=E270
> > modem4.protocol=PDU
> > modem4.pin=0000
> > modem4.inbound=yes
> > modem4.outbound=yes
> > modem4.smsc_number=+59899998932
> >
> > --and some other parameters more..
> >
> > My "server" file (the one that I use to start the app) is:
> >
> > java -cp smslib-3.3.0-B3.jar -Dsmsserver.configdir=./  -
> > Dsmslib.debug   -Dsmslib.serial.polling -Dgnu.io.rxtx.SerialPorts=/dev/
> > ttyUSB0:/dev/ttyUSB2:/dev/ttyUSB4 org.smslib.smsserver.SMSServer
> >
> > I have tried all the gateways in a "stand alone" mode and all of them
> > works but when I want to use the three at the same time, I can not
> > make it work... it doesn't throw any exception or error but it just
> > doesn't work.. I have no idea what else to try..
> >
> > thanks in advance!
>
> --
> You received this message because you are subscribed to the Google Groups
> "SMSLib for Java User Group" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<smslib%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/smslib?hl=en.
>
>
>
>
--
You received this message because you are subscribed to the Google Groups "SMSLib for Java User Group" 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.

Reply via email to