Hi, Sir
thank you very much.

I don't understand where to define a gateway.
Are you saying for "SMSServer.conf" file??
If it is then my configuration file is as follows:


******************************************************************************
# Set a different balancer than the default.
smsserver.balancer=RoundRobinLoadBalancer

#Set a different router than the default.
#smsserver.router=NumberPoolRouter

# Lets add a modem
gateway.0=modem1, SerialModem
modem1.port=COM23
modem1.baudrate=19200
modem1.manufacturer=Nokia
modem1.model=3220
modem1.protocol=PDU
modem1.pin=0000
modem1.inbound=yes
modem1.outbound=no
modem1.smsc_number=
modem1.init_string=ATZ\rATZ\rATZ\r

# Dummy gateways used for testing.
gateway.1=Test1, TestGateway
Test1.inbound=yes
#Test1.outbound=yes


interface.0=db1, Database
db1.url=jdbc:db2://localhost:50000/OLPS
db1.driver=com.ibm.db2.jcc.DB2Driver
db1.username=none
db1.password=none
db1.type=IBM DB2
db1.tables.sms_in=MIT.SMS_INBOUND
db1.tables.sms_out=MIT.SMS_OUTBOUND
#db1.tables.calls=MIT.SMSSERVER_CALLS
db1.batch_size=50
db1.retries=2
db1.update_outbound_on_statusreport=no

# Here is an example of a SimpleInboundFileLogger interface.
interface.1=file1, SimpleInboundFileLogger, inbound
file1.filename=D:/MyMessagesLogs.txt


interface.1=httpServer, HttpServer
httpServer.port=8080
httpServer.password.read=0000
httpServer.password.send=1111

#Interval for processing inbound messages (in seconds)
settings.inbound_interval=600
#Interval for processing outbound queues (in seconds)
settings.outbound_interval=10

#After reading, should SMSServer delete the processed messages from
the gateways?
#Default is "no" for safety. Set to "yes" if you wish to delete messages.
#If you leave it to "no", SMSServer will process the same messages
over and over again!
settings.delete_after_processing=no

# Should SMSServer work in sync or async sending mode?
# Async mode forwards messages to gateway queues.
# Values can be "sync" and "async".
settings.send_mode = async

# Allowed dispatch time-fames per priority
settings.timeframe.low=0900-2200
settings.timeframe.normal=0000-2359
settings.timeframe.high=0000-2359



On 1/19/10, Thanasis <[email protected]> wrote:
> Hi,
>
> Have you defined any gateways in SMSServer? The NO_ROUTE is shown in
> these cases.
>
-- 
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