Same should be done to u r database tables please go thru the manual .. http://smslib.org/doc/smsserver/interfaces/db/
2008/11/13 priya shetty <[EMAIL PROTECTED]> > Please change the database table names in u r configuration file > > iee .. > db1.tables.sms_in=smssvr_in > db1.tables.sms_out=smssvr_out > db1.tables.calls=smssvr_calls > > change to smsserver_in,smsserver_out,smsserver_calls > respectively. > > > > > 2008/11/13 mickeyprog <[EMAIL PROTECTED]> > > >> when i try to run the smsserver in 3.3.0 and use the -Dsmslib.debug >> method >> >> 0 [main] INFO org.smslib - SMSLib: A Java API library for sending and >> receiving SMS via a GSM modem or other supported gateways. >> This software is distributed under the terms of the Apache v2.0 >> License. >> Web Site: http://smslib.org >> 0 [main] INFO org.smslib - Version: 3.3.1 >> 0 [main] INFO org.smslib - JRE Version: 1.6.0_10 >> 0 [main] INFO org.smslib - JRE Impl Version: 11.0-b15 >> 0 [main] INFO org.smslib - O/S: Windows XP / x86 / 5.1 >> 0 [main] INFO org.smslib - SMSServer: set balancer to: >> LeastLoadLoadBalancer >> 31 [main] INFO org.smslib - SMSServer: added gateway modem2 / Default >> Serial Modem Gateway. >> 31 [main] INFO org.smslib - SMSServer: added gateway Test1 / Default >> Test Gateway. >> 31 [main] INFO org.smslib - SMSServer: added interface db1 / Default >> database interface. / INOUTBOUND >> 438 [main] INFO org.smslib - SMSServer: interface: >> org.smslib.smsserver.interfaces.Database started. >> 438 [SMSLib-WatchDog] DEBUG org.smslib - WatchDog started. >> 438 [SMSLib-WatchDog] INFO org.smslib - WatchDog running... >> 438 [Thread-4] INFO org.smslib - GTW: modem2: Starting gateway, using >> Generic AT Handler. >> 438 [Thread-4] INFO org.smslib - GTW: modem2: Opening: COM1 @57600 >> 438 [SMSLib-QueueManager] INFO org.smslib - GTW: Test1: Starting >> Queue Manager. >> 469 [Thread-4] DEBUG org.smslib - GTW: modem2: ModemDriver: KeepAlive >> thread started. >> 469 [Thread-4] DEBUG org.smslib - GTW: modem2: ModemReader thread >> started. >> 469 [Thread-4] DEBUG org.smslib - GTW: modem2: AsyncNotifier thread >> started. >> 469 [Thread-4] DEBUG org.smslib - GTW: modem2: AsyncMessageProcessor >> thread started. >> 469 [Thread-4] DEBUG org.smslib - GTW: modem2: clearBuffer() called. >> 1469 [Thread-4] DEBUG org.smslib - GTW: modem2: SEND :(27) >> 1672 [Thread-4] DEBUG org.smslib - GTW: modem2: SEND :+++ >> 1875 [Thread-4] DEBUG org.smslib - GTW: modem2: SEND :ATZ >> 2078 [Thread-4] DEBUG org.smslib - GTW: modem2: clearBuffer() called. >> 3078 [Thread-4] DEBUG org.smslib - GTW: modem2: SEND :ATZ(cr) >> 3266 [Thread-4] DEBUG org.smslib - GTW: modem2: SEND :ATE0(cr) >> 3469 [Thread-4] DEBUG org.smslib - GTW: modem2: clearBuffer() called. >> 4469 [Thread-4] DEBUG org.smslib - GTW: modem2: SEND :ATZ(cr)ATZ(cr) >> ATZ(cr)(cr) >> 4469 [Thread-4] DEBUG org.smslib - GTW: modem2: SEND :ATE0(cr) >> 4672 [Thread-4] DEBUG org.smslib - GTW: modem2: clearBuffer() called. >> 5672 [Thread-4] DEBUG org.smslib - GTW: modem2: SEND :AT+CPIN?(cr) >> 15438 [SMSLib-WatchDog] INFO org.smslib - WatchDog running... >> 30438 [SMSLib-WatchDog] INFO org.smslib - WatchDog running... >> 30453 [IncomingMessagesThread] INFO org.smslib - GTW: Test1: >> Detecting incoming message >> 45438 [SMSLib-WatchDog] INFO org.smslib - WatchDog running... >> 50672 [Thread-4] DEBUG org.smslib - GTW: modem2: Buffer contents on >> timeout: >> 50672 [Thread-4] DEBUG org.smslib - GTW: modem2: Trying to shutdown >> keepAlive thread... >> 50672 [Thread-4] DEBUG org.smslib - GTW: modem2: Trying to shutdown >> asyncNotifier thread... >> 50672 [Thread-4] DEBUG org.smslib - GTW: modem2: Trying to shutdown >> asyncMessageProcessor thread... >> 50672 [Thread-4] DEBUG org.smslib - GTW: modem2: Trying to shutdown >> modemReader thread... >> 50672 [SMSlib-KeepAlive : modem2] DEBUG org.smslib - GTW: modem2: >> ModemDriver: KeepAlive thread ended. >> 50672 [SMSLib-AsyncNotifier : modem2] DEBUG org.smslib - GTW: modem2: >> AsyncNotifier thread ended. >> 50672 [SMSLib-AsyncMessageProcessor : modem2] DEBUG org.smslib - GTW: >> modem2: AsyncMessageProcessor thread ended. >> 50672 [SMSlib-ModemReader-modem2] DEBUG org.smslib - GTW: modem2: >> ModemReader thread ended. >> 50672 [Thread-4] INFO org.smslib - GTW: modem2: Closing: COM1 @57600 >> 51453 [main] INFO org.smslib - SMSServer: interface: >> org.smslib.smsserver.interfaces.Database stopped. >> 51453 [SMSLib-WatchDog] DEBUG org.smslib - WatchDog stopped. >> 51453 [main] INFO org.smslib - GTW: modem2: Stopping gateway... >> 51453 [main] INFO org.smslib - GTW: modem2: Closing: COM1 @57600 >> 51453 [main] INFO org.smslib - GTW: modem2: Gateway stopped. >> 51453 [SMSLib-QueueManager] INFO org.smslib - GTW: Test1: >> QueueManager stopped. >> 51453 [main] INFO org.smslib - SMSServer exiting normally. >> 51453 [Thread-0] INFO org.smslib - SMSServer shutting down, please >> wait... >> 51469 [Thread-0] INFO org.smslib - SMSServer: interface: >> org.smslib.smsserver.interfaces.Database stopped. >> 51469 [Thread-0] INFO org.smslib - GTW: modem2: Stopping gateway... >> 51469 [Thread-0] INFO org.smslib - GTW: modem2: Closing: COM1 @57600 >> 51469 [Thread-0] INFO org.smslib - GTW: modem2: Gateway stopped. >> >> >> it stopped... anyone knows how to fix the problem? >> >> ---this is the SMSServer.conf >> >> # Set a different balancer than the default. >> smsserver.balancer=LeastLoadLoadBalancer >> >> # Lets add a modem >> gateway.0=modem2, SerialModem >> modem2.port=COM1 >> modem2.baudrate=57600 >> modem2.manufacturer=Nokia >> modem2.model=6310i >> modem2.protocol=PDU >> modem2.pin=0000 >> modem2.inbound=yes >> modem2.outbound=no >> modem2.init_string=ATZ\rATZ\rATZ\r >> >> # Dummy gateways used for testing. >> gateway.1=Test1, Test >> Test1.inbound=yes >> Test1.outbound=yes >> >> # Here is an example of a Database interface. >> interface.0=db1, Database >> db1.url=jdbc:mysql://localhost:3306/smslib >> db1.driver=com.mysql.jdbc.Driver >> db1.username=smslib >> db1.password=smslib >> #db1.type=mssql >> db1.type=mysql >> db1.tables.sms_in=smssvr_in >> db1.tables.sms_out=smssvr_out >> db1.tables.calls=smssvr_calls >> db1.batch_size=50 >> db1.retries=2 >> >> #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 >> >> >> >> > > > -- > Thanks in Advance > Priyanka Shetty.P > -- Thanks in Advance Priyanka Shetty.P --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib Users 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 -~----------~----~----~----~------~----~------~--~---
