nguyenbahuong / smslib

Automatically exported from code.google.com/p/smslib
0 stars 0 forks source link

I m having issue in initialization of gateway #480

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
i m using Teltonika ModemUSB and it is taking to much time in initialization 
further more when i try to reconnect using my application in does not connect 
properly. i m sending you debug log please help me.

run:
0      2012-03-26 11:30:13,607 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.Service  - 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      2012-03-26 11:30:13,607 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.Service  - Version: 3.5.1
0      2012-03-26 11:30:13,607 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.Service  - JRE Version: 1.7.0
0      2012-03-26 11:30:13,607 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.Service  - JRE Impl Version: 21.0-b17
0      2012-03-26 11:30:13,607 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.Service  - O/S: Windows XP / x86 / 5.1
0      2012-03-26 11:30:13,607 [SwingWorker-pool-1-thread-1] DEBUG 
org.smslib.threading.AServiceThread  - Initialized.
0      2012-03-26 11:30:13,607 [NotifyQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
0      2012-03-26 11:30:13,607 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager running...
31     2012-03-26 11:30:13,638 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.queues.DefaultQueueManager  - Queue directory not defined. Queued 
messages will not be saved to filesystem.
31     2012-03-26 11:30:13,638 [SwingWorker-pool-1-thread-1] DEBUG 
org.smslib.threading.AServiceThread  - Initialized.
31     2012-03-26 11:30:13,638 [DelayQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
31     2012-03-26 11:30:13,638 [DelayQueueManager] DEBUG 
org.smslib.queues.AbstractQueueManager$DelayQueueManager  - DelayQueueManager 
running...
31     2012-03-26 11:30:13,638 [SwingWorker-pool-1-thread-1] DEBUG 
org.smslib.threading.AServiceThread  - Initialized.
31     2012-03-26 11:30:13,638 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
31     2012-03-26 11:30:13,638 [Thread-8] INFO  org.smslib.modem.ModemGateway  
- GTW: modem.COM3: Starting gateway, using Teltonika (Generic) AT Handler.
31     2012-03-26 11:30:13,638 [Thread-8] INFO  
org.smslib.modem.SerialModemDriver  - GTW: modem.COM3: Opening: COM3 @115200
14994  2012-03-26 11:30:28,601 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
29956  2012-03-26 11:30:43,563 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
44919  2012-03-26 11:30:58,526 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
59881  2012-03-26 11:31:13,488 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
74844  2012-03-26 11:31:28,451 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
89807  2012-03-26 11:31:43,414 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
104769 2012-03-26 11:31:58,376 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
119732 2012-03-26 11:32:13,339 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
134694 2012-03-26 11:32:28,301 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
149657 2012-03-26 11:32:43,264 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
164619 2012-03-26 11:32:58,226 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
179582 2012-03-26 11:33:13,189 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
194545 2012-03-26 11:33:28,152 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
209507 2012-03-26 11:33:43,114 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
224470 2012-03-26 11:33:58,077 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
239432 2012-03-26 11:34:13,039 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
254395 2012-03-26 11:34:28,002 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
269357 2012-03-26 11:34:42,964 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
284320 2012-03-26 11:34:57,927 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
299282 2012-03-26 11:35:12,889 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
314245 2012-03-26 11:35:27,852 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
329208 2012-03-26 11:35:42,815 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
344170 2012-03-26 11:35:57,777 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
359133 2012-03-26 11:36:12,740 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
374095 2012-03-26 11:36:27,702 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
389058 2012-03-26 11:36:42,665 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
404020 2012-03-26 11:36:57,627 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
418983 2012-03-26 11:37:12,590 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
433945 2012-03-26 11:37:27,552 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
448908 2012-03-26 11:37:42,515 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
463871 2012-03-26 11:37:57,478 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
478833 2012-03-26 11:38:12,440 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
493796 2012-03-26 11:38:27,403 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
508758 2012-03-26 11:38:42,365 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
523721 2012-03-26 11:38:57,328 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
538683 2012-03-26 11:39:12,290 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
553646 2012-03-26 11:39:27,253 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
568609 2012-03-26 11:39:42,216 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
583571 2012-03-26 11:39:57,178 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
598534 2012-03-26 11:40:12,141 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
598939 2012-03-26 11:40:12,546 [Thread-8] INFO  
org.smslib.modem.SerialModemDriver  - GTW: modem.COM3: Closing: COM3 @115200
599671 2012-03-26 11:40:13,278 [DelayQueueManager] DEBUG 
org.smslib.queues.AbstractQueueManager$DelayQueueManager  - DelayQueueManager 
end...
599671 2012-03-26 11:40:13,278 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager end...
599765 2012-03-26 11:40:13,372 [NotifyQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
599765 2012-03-26 11:40:13,372 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager running...
599858 2012-03-26 11:40:13,465 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Stopped.
599858 2012-03-26 11:40:13,465 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.modem.ModemGateway  - GTW: modem.COM3: Stopping gateway...
599858 2012-03-26 11:40:13,465 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager end...
599858 2012-03-26 11:40:13,465 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.modem.SerialModemDriver  - GTW: modem.COM3: Closing: COM3 @115200
599858 2012-03-26 11:40:13,465 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.modem.ModemGateway  - GTW: modem.COM3: Gateway stopped.
599968 2012-03-26 11:40:13,575 [NotifyQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
599968 2012-03-26 11:40:13,575 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager running...
599968 2012-03-26 11:40:13,575 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager end...
600061 2012-03-26 11:40:13,668 [NotifyQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Stopped.
616645 2012-03-26 11:40:30,252 [SwingWorker-pool-1-thread-2] INFO  
org.smslib.queues.DefaultQueueManager  - Queue directory not defined. Queued 
messages will not be saved to filesystem.
616645 2012-03-26 11:40:30,252 [SwingWorker-pool-1-thread-2] DEBUG 
org.smslib.threading.AServiceThread  - Initialized.
616645 2012-03-26 11:40:30,252 [SwingWorker-pool-1-thread-2] DEBUG 
org.smslib.threading.AServiceThread  - Initialized.
616645 2012-03-26 11:40:30,252 [DelayQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
616645 2012-03-26 11:40:30,252 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
616645 2012-03-26 11:40:30,252 [DelayQueueManager] DEBUG 
org.smslib.queues.AbstractQueueManager$DelayQueueManager  - DelayQueueManager 
running...
616645 2012-03-26 11:40:30,252 [Thread-12] INFO  org.smslib.modem.ModemGateway  
- GTW: modem.COM3: Starting gateway, using Teltonika (Generic) AT Handler.
616645 2012-03-26 11:40:30,252 [Thread-13] INFO  org.smslib.modem.ModemGateway  
- GTW: modem.COM3: Starting gateway, using Teltonika (Generic) AT Handler.
616645 2012-03-26 11:40:30,252 [Thread-13] INFO  
org.smslib.modem.SerialModemDriver  - GTW: modem.COM3: Opening: COM3 @115200
616645 2012-03-26 11:40:30,252 [Thread-12] INFO  
org.smslib.modem.SerialModemDriver  - GTW: modem.COM3: Opening: COM3 @115200
631607 2012-03-26 11:40:45,214 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
646570 2012-03-26 11:41:00,177 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
661532 2012-03-26 11:41:15,139 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
676495 2012-03-26 11:41:30,102 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
676542 2012-03-26 11:41:30,149 [Thread-12] INFO  
org.smslib.modem.SerialModemDriver  - GTW: modem.COM3: Closing: COM3 @115200
677523 2012-03-26 11:41:31,130 [DelayQueueManager] DEBUG 
org.smslib.queues.AbstractQueueManager$DelayQueueManager  - DelayQueueManager 
end...
677726 2012-03-26 11:41:31,333 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Stopped.
677726 2012-03-26 11:41:31,333 [SwingWorker-pool-1-thread-2] INFO  
org.smslib.modem.ModemGateway  - GTW: modem.COM3: Stopping gateway...
677726 2012-03-26 11:41:31,333 [SwingWorker-pool-1-thread-2] INFO  
org.smslib.modem.SerialModemDriver  - GTW: modem.COM3: Closing: COM3 @115200
677726 2012-03-26 11:41:31,333 [SwingWorker-pool-1-thread-2] INFO  
org.smslib.modem.ModemGateway  - GTW: modem.COM3: Gateway stopped.
677726 2012-03-26 11:41:31,333 [SwingWorker-pool-1-thread-2] INFO  
org.smslib.modem.ModemGateway  - GTW: modem.COM3: Stopping gateway...
677726 2012-03-26 11:41:31,333 [SwingWorker-pool-1-thread-2] INFO  
org.smslib.modem.SerialModemDriver  - GTW: modem.COM3: Closing: COM3 @115200
677726 2012-03-26 11:41:31,333 [SwingWorker-pool-1-thread-2] INFO  
org.smslib.modem.ModemGateway  - GTW: modem.COM3: Gateway stopped.

Original issue reported on code.google.com by a.adnans...@gmail.com on 26 Mar 2012 at 6:42

GoogleCodeExporter commented 9 years ago
is there any one who can help me its an urgent issue kindly help me. waiting 
for response

Original comment by a.adnans...@gmail.com on 26 Mar 2012 at 7:08

GoogleCodeExporter commented 9 years ago
Are you sure that COM3 is the correct port?
Have you installed JavaComm (or RxTx) properly?

Original comment by T.Delenikas on 26 Mar 2012 at 7:39

GoogleCodeExporter commented 9 years ago
Yes i have configured it properly it works fine but it is taking to much time 
in initialization and one more issue whenever i stop the service and start it 
again, its callback notification methods does not works on second start up i m 
having hard time in initializing it kindly help me.
thanks for your response.

Original comment by a.adnans...@gmail.com on 26 Mar 2012 at 11:55

GoogleCodeExporter commented 9 years ago
and COM3 is correct one because i can get connected to it but it take 15 to 20 
minutes. 

Original comment by a.adnans...@gmail.com on 26 Mar 2012 at 12:08

GoogleCodeExporter commented 9 years ago
This is log for another unsuccessful built

run:
0      2012-03-26 17:00:40,728 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.Service  - 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      2012-03-26 17:00:40,728 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.Service  - Version: 3.5.1
0      2012-03-26 17:00:40,728 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.Service  - JRE Version: 1.7.0
0      2012-03-26 17:00:40,728 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.Service  - JRE Impl Version: 21.0-b17
0      2012-03-26 17:00:40,728 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.Service  - O/S: Windows XP / x86 / 5.1
0      2012-03-26 17:00:40,728 [SwingWorker-pool-1-thread-1] DEBUG 
org.smslib.threading.AServiceThread  - Initialized.
0      2012-03-26 17:00:40,728 [NotifyQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
0      2012-03-26 17:00:40,728 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager running...
16     2012-03-26 17:00:40,744 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.queues.DefaultQueueManager  - Queue directory not defined. Queued 
messages will not be saved to filesystem.
16     2012-03-26 17:00:40,744 [SwingWorker-pool-1-thread-1] DEBUG 
org.smslib.threading.AServiceThread  - Initialized.
16     2012-03-26 17:00:40,744 [DelayQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
16     2012-03-26 17:00:40,744 [DelayQueueManager] DEBUG 
org.smslib.queues.AbstractQueueManager$DelayQueueManager  - DelayQueueManager 
running...
16     2012-03-26 17:00:40,744 [SwingWorker-pool-1-thread-1] DEBUG 
org.smslib.threading.AServiceThread  - Initialized.
16     2012-03-26 17:00:40,744 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
16     2012-03-26 17:00:40,744 [Thread-8] INFO  org.smslib.modem.ModemGateway  
- GTW: modem.COM3: Starting gateway, using Teltonika (Generic) AT Handler.
16     2012-03-26 17:00:40,744 [Thread-8] INFO  
org.smslib.modem.SerialModemDriver  - GTW: modem.COM3: Opening: COM3 @115200
15001  2012-03-26 17:00:55,729 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
29987  2012-03-26 17:01:10,715 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
44973  2012-03-26 17:01:25,701 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
59958  2012-03-26 17:01:40,686 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
74944  2012-03-26 17:01:55,672 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
89930  2012-03-26 17:02:10,658 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
104916 2012-03-26 17:02:25,644 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
119901 2012-03-26 17:02:40,629 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
134887 2012-03-26 17:02:55,615 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
149873 2012-03-26 17:03:10,601 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
164858 2012-03-26 17:03:25,586 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
179844 2012-03-26 17:03:40,572 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
194830 2012-03-26 17:03:55,558 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
209815 2012-03-26 17:04:10,543 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
224801 2012-03-26 17:04:25,529 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
239802 2012-03-26 17:04:40,530 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
254788 2012-03-26 17:04:55,516 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
269774 2012-03-26 17:05:10,502 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
284760 2012-03-26 17:05:25,488 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
299746 2012-03-26 17:05:40,474 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
314734 2012-03-26 17:05:55,462 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
329722 2012-03-26 17:06:10,450 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
344709 2012-03-26 17:06:25,437 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
359697 2012-03-26 17:06:40,425 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
374684 2012-03-26 17:06:55,412 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
389672 2012-03-26 17:07:10,400 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
404660 2012-03-26 17:07:25,388 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
419647 2012-03-26 17:07:40,375 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
434635 2012-03-26 17:07:55,363 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
449623 2012-03-26 17:08:10,351 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
464610 2012-03-26 17:08:25,338 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
479613 2012-03-26 17:08:40,341 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
479910 2012-03-26 17:08:40,638 [Thread-8] INFO  
org.smslib.modem.SerialModemDriver  - GTW: modem.COM3: Closing: COM3 @115200
479941 2012-03-26 17:08:40,669 [DelayQueueManager] DEBUG 
org.smslib.queues.AbstractQueueManager$DelayQueueManager  - DelayQueueManager 
end...
479941 2012-03-26 17:08:40,669 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager end...
480035 2012-03-26 17:08:40,763 [NotifyQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
480035 2012-03-26 17:08:40,763 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager running...
480129 2012-03-26 17:08:40,857 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Stopped.
480129 2012-03-26 17:08:40,857 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.modem.ModemGateway  - GTW: modem.COM3: Stopping gateway...
480129 2012-03-26 17:08:40,857 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager end...
480129 2012-03-26 17:08:40,857 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.modem.SerialModemDriver  - GTW: modem.COM3: Closing: COM3 @115200
480129 2012-03-26 17:08:40,857 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.modem.ModemGateway  - GTW: modem.COM3: Gateway stopped.
480238 2012-03-26 17:08:40,966 [NotifyQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
480238 2012-03-26 17:08:40,966 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager running...
480238 2012-03-26 17:08:40,966 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager end...
480332 2012-03-26 17:08:41,060 [NotifyQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Stopped.

Original comment by a.adnans...@gmail.com on 26 Mar 2012 at 12:10

GoogleCodeExporter commented 9 years ago
This is log for successful built this time i m getting messages but 
InboundMessage notification callback is not working
run:
0      2012-03-26 17:26:50,104 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.Service  - 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      2012-03-26 17:26:50,104 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.Service  - Version: 3.5.1
0      2012-03-26 17:26:50,104 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.Service  - JRE Version: 1.7.0
0      2012-03-26 17:26:50,104 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.Service  - JRE Impl Version: 21.0-b17
0      2012-03-26 17:26:50,104 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.Service  - O/S: Windows XP / x86 / 5.1
0      2012-03-26 17:26:50,104 [SwingWorker-pool-1-thread-1] DEBUG 
org.smslib.threading.AServiceThread  - Initialized.
0      2012-03-26 17:26:50,104 [NotifyQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
0      2012-03-26 17:26:50,104 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager running...
16     2012-03-26 17:26:50,120 [SwingWorker-pool-1-thread-1] INFO  
org.smslib.queues.DefaultQueueManager  - Queue directory not defined. Queued 
messages will not be saved to filesystem.
16     2012-03-26 17:26:50,120 [SwingWorker-pool-1-thread-1] DEBUG 
org.smslib.threading.AServiceThread  - Initialized.
16     2012-03-26 17:26:50,120 [DelayQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
16     2012-03-26 17:26:50,120 [DelayQueueManager] DEBUG 
org.smslib.queues.AbstractQueueManager$DelayQueueManager  - DelayQueueManager 
running...
16     2012-03-26 17:26:50,120 [SwingWorker-pool-1-thread-1] DEBUG 
org.smslib.threading.AServiceThread  - Initialized.
16     2012-03-26 17:26:50,120 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
16     2012-03-26 17:26:50,120 [Thread-8] INFO  org.smslib.modem.ModemGateway  
- GTW: modem.COM3: Starting gateway, using Teltonika (Generic) AT Handler.
16     2012-03-26 17:26:50,120 [Thread-8] INFO  
org.smslib.modem.SerialModemDriver  - GTW: modem.COM3: Opening: COM3 @115200
14946  2012-03-26 17:27:05,050 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
29877  2012-03-26 17:27:19,981 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
44827  2012-03-26 17:27:34,931 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
59806  2012-03-26 17:27:49,910 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
74768  2012-03-26 17:28:04,872 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
89731  2012-03-26 17:28:19,835 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
104693 2012-03-26 17:28:34,797 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
119656 2012-03-26 17:28:49,760 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
134634 2012-03-26 17:29:04,738 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
149597 2012-03-26 17:29:19,701 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
164560 2012-03-26 17:29:34,664 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
179522 2012-03-26 17:29:49,626 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
194485 2012-03-26 17:30:04,589 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
209448 2012-03-26 17:30:19,552 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
224410 2012-03-26 17:30:34,514 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
239373 2012-03-26 17:30:49,477 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
254336 2012-03-26 17:31:04,440 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
269298 2012-03-26 17:31:19,402 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
284261 2012-03-26 17:31:34,365 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
299224 2012-03-26 17:31:49,328 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
314186 2012-03-26 17:32:04,290 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
329149 2012-03-26 17:32:19,253 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
344118 2012-03-26 17:32:34,222 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
359092 2012-03-26 17:32:49,196 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
359357 2012-03-26 17:32:49,461 [Thread-8] DEBUG 
org.smslib.threading.AServiceThread  - Initialized.
359357 2012-03-26 17:32:49,461 [KeepAlive [modem.COM3]] DEBUG 
org.smslib.threading.AServiceThread  - Running...
359357 2012-03-26 17:32:49,461 [Thread-8] DEBUG 
org.smslib.threading.AServiceThread  - Initialized.
359357 2012-03-26 17:32:49,461 [CNMIEmulatorProcessor [modem.COM3]] DEBUG 
org.smslib.threading.AServiceThread  - ** disabled **
359357 2012-03-26 17:32:49,461 [Thread-8] DEBUG 
org.smslib.modem.AModemDriver$ModemReader  - GTW: modem.COM3: ModemReader 
thread started.
359357 2012-03-26 17:32:49,461 [Thread-8] DEBUG 
org.smslib.modem.AModemDriver$AsyncNotifier  - GTW: modem.COM3: AsyncNotifier 
thread started.
359357 2012-03-26 17:32:49,461 [Thread-8] DEBUG 
org.smslib.modem.AModemDriver$AsyncMessageProcessor  - GTW: modem.COM3: 
AsyncMessageProcessor thread started.
359357 2012-03-26 17:32:49,461 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: clearBuffer() called.
360356 2012-03-26 17:32:50,460 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: SEND :(27)
360559 2012-03-26 17:32:50,663 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: SEND :+++
360761 2012-03-26 17:32:50,865 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: SEND :ATZ(cr)
360948 2012-03-26 17:32:51,052 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: clearBuffer() called.
361947 2012-03-26 17:32:52,051 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: SEND :ATZ(cr)
362149 2012-03-26 17:32:52,253 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: SEND :ATE0(cr)
362352 2012-03-26 17:32:52,456 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: clearBuffer() called.
363351 2012-03-26 17:32:53,455 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: SEND :AT+CPIN?(cr)
363351 2012-03-26 17:32:53,455 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: BUFFER: +CPIN: READY

363351 2012-03-26 17:32:53,455 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: RECV :+CPIN: READY(cr)
363351 2012-03-26 17:32:53,455 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: SEND :ATE0(cr)
363553 2012-03-26 17:32:53,657 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: clearBuffer() called.
364567 2012-03-26 17:32:54,671 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: SEND :AT+CLIP=1(cr)
364567 2012-03-26 17:32:54,671 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: BUFFER: OK

364567 2012-03-26 17:32:54,671 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: RECV :OK(cr)
364567 2012-03-26 17:32:54,671 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: SEND :AT+COPS=0(cr)
364567 2012-03-26 17:32:54,671 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: BUFFER: OK

364567 2012-03-26 17:32:54,671 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: RECV :OK(cr)
364567 2012-03-26 17:32:54,671 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: SEND :ATE0(cr)
364770 2012-03-26 17:32:54,874 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: clearBuffer() called.
365768 2012-03-26 17:32:55,872 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: SEND :AT+CREG=1(cr)
365768 2012-03-26 17:32:55,872 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: BUFFER: OK

365768 2012-03-26 17:32:55,872 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: RECV :OK(cr)
365768 2012-03-26 17:32:55,872 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: SEND :AT+CREG?(cr)
365768 2012-03-26 17:32:55,872 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: BUFFER: +CREG: 1,1
OK

365768 2012-03-26 17:32:55,872 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: RECV :+CREG: 1,1(cr)OK(cr)
365784 2012-03-26 17:32:55,888 [Thread-8] INFO  org.smslib.modem.AModemDriver  
- GTW: modem.COM3: GSM: Registered to home network.
365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: SEND :AT+CMEE=1(cr)
365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: BUFFER: OK

365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: RECV :OK(cr)
365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: SEND :AT+CNMI=?(cr)
365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: BUFFER: +CNMI: (0-2),(0-3),(0-3),(0-2),(0-1)
OK

365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: RECV :+CNMI: (0-2),(0-3),(0-3),(0-2),(0-1)(cr)OK(cr)
365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG org.smslib.modem.CNMIDetector  
- CNMI: Found best match: 2
365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG org.smslib.modem.CNMIDetector  
- CNMI: Found best match: 1
365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG org.smslib.modem.CNMIDetector  
- CNMI: Found best match: 0
365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG org.smslib.modem.CNMIDetector  
- CNMI: Found best match: 2
365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG org.smslib.modem.CNMIDetector  
- CNMI: Found best match: 0
365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: SEND :AT+CNMI=2,1,0,2,0(cr)
365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: BUFFER: OK

365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: RECV :OK(cr)
365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: SEND :AT+CMGF=0(cr)
365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: BUFFER: OK

365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG org.smslib.modem.AModemDriver  
- GTW: modem.COM3: RECV :OK(cr)
365784 2012-03-26 17:32:55,888 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager end...
365784 2012-03-26 17:32:55,888 [Thread-8] DEBUG 
org.smslib.threading.AServiceThread  - Initialized.
365784 2012-03-26 17:32:55,888 [Thread-8] INFO  org.smslib.modem.ModemGateway  
- GTW: modem.COM3: Gateway started.
365784 2012-03-26 17:32:55,888 [QueueManager [modem.COM3]] DEBUG 
org.smslib.threading.AServiceThread  - Running...
365893 2012-03-26 17:32:55,997 [NotifyQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
365893 2012-03-26 17:32:55,997 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager running...
365893 2012-03-26 17:32:55,997 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager end...
366002 2012-03-26 17:32:56,106 [NotifyQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
366002 2012-03-26 17:32:56,106 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager running...
370791 2012-03-26 17:33:00,895 [QueueManager [modem.COM3]] DEBUG 
org.smslib.threading.AServiceThread  - Running...
374066 2012-03-26 17:33:04,170 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
375782 2012-03-26 17:33:05,886 [QueueManager [modem.COM3]] DEBUG 
org.smslib.threading.AServiceThread  - Running...
380773 2012-03-26 17:33:10,877 [QueueManager [modem.COM3]] DEBUG 
org.smslib.threading.AServiceThread  - Running...
385765 2012-03-26 17:33:15,869 [QueueManager [modem.COM3]] DEBUG 
org.smslib.threading.AServiceThread  - Running...
389040 2012-03-26 17:33:19,144 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
389321 2012-03-26 17:33:19,425 [CNMIEmulatorProcessor [modem.COM3]] DEBUG 
org.smslib.threading.AServiceThread  - ** disabled **
390756 2012-03-26 17:33:20,860 [QueueManager [modem.COM3]] DEBUG 
org.smslib.threading.AServiceThread  - Running...
391739 2012-03-26 17:33:21,843 [KeepAlive [modem.COM3]] DEBUG 
org.smslib.threading.AServiceThread  - Interrupted!
391739 2012-03-26 17:33:21,843 [KeepAlive [modem.COM3]] DEBUG 
org.smslib.threading.AServiceThread  - Running...
391739 2012-03-26 17:33:21,843 [KeepAlive [modem.COM3]] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: SEND :AT(cr)
391739 2012-03-26 17:33:21,843 [KeepAlive [modem.COM3]] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: BUFFER: +CMTI: "ME",4

391739 2012-03-26 17:33:21,843 [KeepAlive [modem.COM3]] DEBUG 
org.smslib.modem.AModemDriver$AsyncNotifier  - GTW: modem.COM3: Storing 
AsyncEvent: Event: INBOUNDMESSAGE / Response: +CMTI: "ME",4

391739 2012-03-26 17:33:21,843 [SMSLib-AsyncNotifier : modem.COM3] DEBUG 
org.smslib.modem.AModemDriver$AsyncNotifier  - GTW: modem.COM3: Processing 
AsyncEvent: Event: INBOUNDMESSAGE / Response: +CMTI: "ME",4

391739 2012-03-26 17:33:21,843 [SMSLib-AsyncNotifier : modem.COM3] DEBUG 
org.smslib.modem.AModemDriver$AsyncNotifier  - GTW: modem.COM3: Inbound message 
detected!
391739 2012-03-26 17:33:21,843 [KeepAlive [modem.COM3]] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: BUFFER: OK

391739 2012-03-26 17:33:21,843 [KeepAlive [modem.COM3]] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: RECV :OK(cr)
391739 2012-03-26 17:33:21,843 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.AModemDriver  - GTW: modem.COM3: SEND :AT+CPMS="SM"(cr)
391754 2012-03-26 17:33:21,858 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.AModemDriver  - GTW: modem.COM3: BUFFER: +CPMS: 
0,50,4,350,4,350
OK

391754 2012-03-26 17:33:21,858 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.AModemDriver  - GTW: modem.COM3: RECV :+CPMS: 
0,50,4,350,4,350(cr)OK(cr)
391754 2012-03-26 17:33:21,858 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.AModemDriver  - GTW: modem.COM3: SEND :AT+CMGL=4(cr)
391754 2012-03-26 17:33:21,858 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.AModemDriver  - GTW: modem.COM3: BUFFER: OK

391754 2012-03-26 17:33:21,858 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.AModemDriver  - GTW: modem.COM3: RECV :OK(cr)
391754 2012-03-26 17:33:21,858 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.AModemDriver  - GTW: modem.COM3: SEND :AT+CPMS="ME"(cr)
391770 2012-03-26 17:33:21,874 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.AModemDriver  - GTW: modem.COM3: BUFFER: +CPMS: 
4,300,4,350,4,350
OK

391770 2012-03-26 17:33:21,874 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.AModemDriver  - GTW: modem.COM3: RECV :+CPMS: 
4,300,4,350,4,350(cr)OK(cr)
391770 2012-03-26 17:33:21,874 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.AModemDriver  - GTW: modem.COM3: SEND :AT+CMGL=4(cr)
391817 2012-03-26 17:33:21,921 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.AModemDriver  - GTW: modem.COM3: BUFFER: +CMGL: 1,1,,19
07912903005110F7040C9129433506237500082130626121500200
+CMGL: 2,1,,19
07912903005110F4040C9129433506237500082130626174940200
+CMGL: 3,1,,19
07912903005110F7040C9129433506237500082130626184650200
+CMGL: 4,0,,19
07912903005110F7040C9129433506237500082130627143110200
OK

391817 2012-03-26 17:33:21,921 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.AModemDriver  - GTW: modem.COM3: RECV :+CMGL: 
1,1,,19(cr)07912903005110F7040C9129433506237500082130626121500200(cr)+CMGL: 
2,1,,19(cr)07912903005110F4040C9129433506237500082130626174940200(cr)+CMGL: 
3,1,,19(cr)07912903005110F7040C9129433506237500082130626184650200(cr)+CMGL: 
4,0,,19(cr)07912903005110F7040C9129433506237500082130627143110200(cr)OK(cr)
391817 2012-03-26 17:33:21,921 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.ModemGateway  - GTW: modem.COM3: READ PDU: 
07912903005110F7040C9129433506237500082130626121500200
391832 2012-03-26 17:33:21,936 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.ModemGateway  - GTW: modem.COM3: 
=================================================
<< SmsDeliveryPdu >>
Raw Pdu: 07912903005110F7040C9129433506237500082130626121500200

SMSC Address: [Length: 7 (07) octets, Type: 91 (10010001), Address: 92300015017]
First Octet: 04 [TP-MTI: (SMS-DELIVER), TP-MMS: (Has more messages), TP-RD: 
(allow duplicates), TP-SRI: (No Status Report), TP-SRR: (No Status Report), 
TP-UDHI: (no UDH)]
Originator Address: [Length: 12 (0C), Type: 81 (10000001), Address: 
923453603257]
TP-PID: 00 (00000000)
TP-DCS: 08 (UCS2 encoding) (00001000)
TP-SCTS: Mon 26-Mar-2012 16:12:05 GMT+05:00

User Data Length: 0 (00) octets
User Data (pdu) : 
User Data (decoded): []
=================================================

391863 2012-03-26 17:33:21,967 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.ModemGateway  - GTW: modem.COM3: IN-DTLS: MI:1 REF:0 
MAX:0 SEQ:0
391863 2012-03-26 17:33:21,967 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.ModemGateway  - GTW: modem.COM3: READ PDU: 
07912903005110F4040C9129433506237500082130626174940200
391863 2012-03-26 17:33:21,967 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.ModemGateway  - GTW: modem.COM3: 
=================================================
<< SmsDeliveryPdu >>
Raw Pdu: 07912903005110F4040C9129433506237500082130626174940200

SMSC Address: [Length: 7 (07) octets, Type: 91 (10010001), Address: 92300015014]
First Octet: 04 [TP-MTI: (SMS-DELIVER), TP-MMS: (Has more messages), TP-RD: 
(allow duplicates), TP-SRI: (No Status Report), TP-SRR: (No Status Report), 
TP-UDHI: (no UDH)]
Originator Address: [Length: 12 (0C), Type: 81 (10000001), Address: 
923453603257]
TP-PID: 00 (00000000)
TP-DCS: 08 (UCS2 encoding) (00001000)
TP-SCTS: Mon 26-Mar-2012 16:47:49 GMT+05:00

User Data Length: 0 (00) octets
User Data (pdu) : 
User Data (decoded): []
=================================================

391863 2012-03-26 17:33:21,967 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.ModemGateway  - GTW: modem.COM3: IN-DTLS: MI:2 REF:0 
MAX:0 SEQ:0
391863 2012-03-26 17:33:21,967 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.ModemGateway  - GTW: modem.COM3: READ PDU: 
07912903005110F7040C9129433506237500082130626184650200
391863 2012-03-26 17:33:21,967 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.ModemGateway  - GTW: modem.COM3: 
=================================================
<< SmsDeliveryPdu >>
Raw Pdu: 07912903005110F7040C9129433506237500082130626184650200

SMSC Address: [Length: 7 (07) octets, Type: 91 (10010001), Address: 92300015017]
First Octet: 04 [TP-MTI: (SMS-DELIVER), TP-MMS: (Has more messages), TP-RD: 
(allow duplicates), TP-SRI: (No Status Report), TP-SRR: (No Status Report), 
TP-UDHI: (no UDH)]
Originator Address: [Length: 12 (0C), Type: 81 (10000001), Address: 
923453603257]
TP-PID: 00 (00000000)
TP-DCS: 08 (UCS2 encoding) (00001000)
TP-SCTS: Mon 26-Mar-2012 16:48:56 GMT+05:00

User Data Length: 0 (00) octets
User Data (pdu) : 
User Data (decoded): []
=================================================

391863 2012-03-26 17:33:21,967 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.ModemGateway  - GTW: modem.COM3: IN-DTLS: MI:3 REF:0 
MAX:0 SEQ:0
391863 2012-03-26 17:33:21,967 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.ModemGateway  - GTW: modem.COM3: READ PDU: 
07912903005110F7040C9129433506237500082130627143110200
391863 2012-03-26 17:33:21,967 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.ModemGateway  - GTW: modem.COM3: 
=================================================
<< SmsDeliveryPdu >>
Raw Pdu: 07912903005110F7040C9129433506237500082130627143110200

SMSC Address: [Length: 7 (07) octets, Type: 91 (10010001), Address: 92300015017]
First Octet: 04 [TP-MTI: (SMS-DELIVER), TP-MMS: (Has more messages), TP-RD: 
(allow duplicates), TP-SRI: (No Status Report), TP-SRR: (No Status Report), 
TP-UDHI: (no UDH)]
Originator Address: [Length: 12 (0C), Type: 81 (10000001), Address: 
923453603257]
TP-PID: 00 (00000000)
TP-DCS: 08 (UCS2 encoding) (00001000)
TP-SCTS: Mon 26-Mar-2012 17:34:11 GMT+05:00

User Data Length: 0 (00) octets
User Data (pdu) : 
User Data (decoded): []
=================================================

391863 2012-03-26 17:33:21,967 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.ModemGateway  - GTW: modem.COM3: IN-DTLS: MI:4 REF:0 
MAX:0 SEQ:0
391863 2012-03-26 17:33:21,967 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.ModemGateway  - GTW: modem.COM3: CheckMpMsgList(): 
MAINLIST: 0
391895 2012-03-26 17:33:21,999 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: SEND :AT+CPMS="ME"(cr)
391910 2012-03-26 17:33:22,014 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: BUFFER: +CPMS: 
4,300,4,350,4,350
OK

391910 2012-03-26 17:33:22,014 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: RECV :+CPMS: 
4,300,4,350,4,350(cr)OK(cr)
392097 2012-03-26 17:33:22,201 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: SEND :AT+CMGD=1(cr)
392113 2012-03-26 17:33:22,217 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: BUFFER: OK

392113 2012-03-26 17:33:22,217 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: RECV :OK(cr)
392113 2012-03-26 17:33:22,217 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager end...
392222 2012-03-26 17:33:22,326 [NotifyQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
392222 2012-03-26 17:33:22,326 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager running...
392222 2012-03-26 17:33:22,326 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: SEND :AT+CPMS="ME"(cr)
392238 2012-03-26 17:33:22,342 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: BUFFER: +CPMS: 
3,300,3,350,3,350
OK

392238 2012-03-26 17:33:22,342 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: RECV :+CPMS: 
3,300,3,350,3,350(cr)OK(cr)
392441 2012-03-26 17:33:22,545 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: SEND :AT+CMGD=2(cr)
392441 2012-03-26 17:33:22,545 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: BUFFER: OK

392441 2012-03-26 17:33:22,545 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: RECV :OK(cr)
392441 2012-03-26 17:33:22,545 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager end...
392550 2012-03-26 17:33:22,654 [NotifyQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
392550 2012-03-26 17:33:22,654 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager running...
392550 2012-03-26 17:33:22,654 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: SEND :AT+CPMS="ME"(cr)
392565 2012-03-26 17:33:22,669 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: BUFFER: +CPMS: 
2,300,2,350,2,350
OK

392565 2012-03-26 17:33:22,669 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: RECV :+CPMS: 
2,300,2,350,2,350(cr)OK(cr)
392768 2012-03-26 17:33:22,872 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: SEND :AT+CMGD=3(cr)
392768 2012-03-26 17:33:22,872 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: BUFFER: OK

392768 2012-03-26 17:33:22,872 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: RECV :OK(cr)
392768 2012-03-26 17:33:22,872 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager end...
392877 2012-03-26 17:33:22,981 [NotifyQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
392877 2012-03-26 17:33:22,981 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager running...
392877 2012-03-26 17:33:22,981 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: SEND :AT+CPMS="ME"(cr)
392893 2012-03-26 17:33:22,997 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: BUFFER: +CPMS: 
1,300,1,350,1,350
OK

392893 2012-03-26 17:33:22,997 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: RECV :+CPMS: 
1,300,1,350,1,350(cr)OK(cr)
393096 2012-03-26 17:33:23,200 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: SEND :AT+CMGD=4(cr)
393096 2012-03-26 17:33:23,200 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: BUFFER: OK

393096 2012-03-26 17:33:23,200 [NotifyQueueManager] DEBUG 
org.smslib.modem.AModemDriver  - GTW: modem.COM3: RECV :OK(cr)
393096 2012-03-26 17:33:23,200 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager end...
393205 2012-03-26 17:33:23,309 [NotifyQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
393205 2012-03-26 17:33:23,309 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager running...
395747 2012-03-26 17:33:25,851 [QueueManager [modem.COM3]] DEBUG 
org.smslib.threading.AServiceThread  - Running...
400739 2012-03-26 17:33:30,843 [QueueManager [modem.COM3]] DEBUG 
org.smslib.threading.AServiceThread  - Running...
403578 2012-03-26 17:33:33,682 [DelayQueueManager] DEBUG 
org.smslib.queues.AbstractQueueManager$DelayQueueManager  - DelayQueueManager 
end...
403780 2012-03-26 17:33:33,884 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Stopped.
403780 2012-03-26 17:33:33,884 [SwingWorker-pool-1-thread-2] INFO  
org.smslib.modem.ModemGateway  - GTW: modem.COM3: Stopping gateway...
403780 2012-03-26 17:33:33,884 [QueueManager [modem.COM3]] DEBUG 
org.smslib.threading.AServiceThread  - Stopped.
403780 2012-03-26 17:33:33,884 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager end...
403780 2012-03-26 17:33:33,884 [KeepAlive [modem.COM3]] DEBUG 
org.smslib.threading.AServiceThread  - Stopped.
403780 2012-03-26 17:33:33,884 [CNMIEmulatorProcessor [modem.COM3]] DEBUG 
org.smslib.threading.AServiceThread  - Stopped.
403780 2012-03-26 17:33:33,884 [SMSLib-AsyncNotifier : modem.COM3] DEBUG 
org.smslib.modem.AModemDriver$AsyncNotifier  - GTW: modem.COM3: AsyncNotifier 
thread ended.
403780 2012-03-26 17:33:33,884 [SMSLib-AsyncMessageProcessor : modem.COM3] 
DEBUG org.smslib.modem.AModemDriver$AsyncMessageProcessor  - GTW: modem.COM3: 
AsyncMessageProcessor thread ended.
403780 2012-03-26 17:33:33,884 [SMSlib-ModemReader-modem.COM3] DEBUG 
org.smslib.modem.AModemDriver$ModemReader  - GTW: modem.COM3: ModemReader 
thread ended.
403780 2012-03-26 17:33:33,884 [SwingWorker-pool-1-thread-2] INFO  
org.smslib.modem.SerialModemDriver  - GTW: modem.COM3: Closing: COM3 @115200
403780 2012-03-26 17:33:33,884 [SwingWorker-pool-1-thread-2] INFO  
org.smslib.modem.ModemGateway  - GTW: modem.COM3: Gateway stopped.
403889 2012-03-26 17:33:33,993 [NotifyQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
403889 2012-03-26 17:33:33,993 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager running...
403889 2012-03-26 17:33:33,993 [NotifyQueueManager] DEBUG 
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  - 
NotifyQueueManager end...
403983 2012-03-26 17:33:34,087 [NotifyQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Stopped.
416695 2012-03-26 17:33:46,799 [SwingWorker-pool-1-thread-3] INFO  
org.smslib.queues.DefaultQueueManager  - Queue directory not defined. Queued 
messages will not be saved to filesystem.
416695 2012-03-26 17:33:46,799 [SwingWorker-pool-1-thread-3] DEBUG 
org.smslib.threading.AServiceThread  - Initialized.
416695 2012-03-26 17:33:46,799 [SwingWorker-pool-1-thread-3] DEBUG 
org.smslib.threading.AServiceThread  - Initialized.
416695 2012-03-26 17:33:46,799 [DelayQueueManager] DEBUG 
org.smslib.threading.AServiceThread  - Running...
416695 2012-03-26 17:33:46,799 [DelayQueueManager] DEBUG 
org.smslib.queues.AbstractQueueManager$DelayQueueManager  - DelayQueueManager 
running...
416695 2012-03-26 17:33:46,799 [WatchDog] DEBUG 
org.smslib.threading.AServiceThread  - Running...
416695 2012-03-26 17:33:46,799 [Thread-18] INFO  org.smslib.modem.ModemGateway  
- GTW: modem.COM3: Starting gateway, using Teltonika (Generic) AT Handler.
416695 2012-03-26 17:33:46,799 [Thread-18] INFO  
org.smslib.modem.SerialModemDriver  - GTW: modem.COM3: Opening: COM3 @115200

Original comment by a.adnans...@gmail.com on 26 Mar 2012 at 1:12

GoogleCodeExporter commented 9 years ago
The PDUs I am seeing are null values PDUs, i.e. contain no data at all - also 
checked with an external tool.

I don't know why this happens, but smslib does not recognize them so nothing is 
called.

As for the other strange problem (initializing takes 20 minutes) I guess 
something is really wrong with your port. Are you using JavaComm?

Original comment by T.Delenikas on 26 Mar 2012 at 7:54

GoogleCodeExporter commented 9 years ago
Yes i M using JavaComm i had tries Rxtx as well but no luck yet :(

Original comment by a.adnans...@gmail.com on 27 Mar 2012 at 4:53

GoogleCodeExporter commented 9 years ago
and one more thing can you please advice me that when i stop service then on 
restarting  its callback method does not works. it does not respond on restart.
basically i m developing a GUI base application and i m having hard time with 
it.
i have two buttons in application one for start and one for stop.
on clicking start button gateway initializes properly but in 10 to 20 minutes
when i click stop application stops every thing is fine upto this step.
 but when i try to reconnect all callback notification methods stops working though my gateway is initializing but the problem is with callback method. this is another problem that i m facing, i haven't dig into it because of the major issue that i m having which i had told u yesterday.

please advice me and many thanks for your support.

Original comment by a.adnans...@gmail.com on 27 Mar 2012 at 5:13

GoogleCodeExporter commented 9 years ago
The callback issue is addressed on issue #474.

But for the very high connection issue, I really have no clue...

Original comment by T.Delenikas on 27 Mar 2012 at 5:33

GoogleCodeExporter commented 9 years ago
In issue 474 i found two classes i have to replace them with existing classes 
that i have?

hmmm thanks mate, thanks for your support.
kindly let me know if you find any clue...

Thanks alot.

Original comment by a.adnans...@gmail.com on 27 Mar 2012 at 5:49

GoogleCodeExporter commented 9 years ago
You may checkout the latest smslib from the repo:

http://smslib.googlecode.com/svn/smslib/trunk/

or apply the changes from here:

http://code.google.com/p/smslib/source/detail?r=2333

Original comment by T.Delenikas on 27 Mar 2012 at 5:53

GoogleCodeExporter commented 9 years ago
i have the latest version of smslib and i have checked in src Service.java file 
and the class i have there is same as file attached in the issue you mentioned.

Original comment by a.adnans...@gmail.com on 27 Mar 2012 at 5:53

GoogleCodeExporter commented 9 years ago
I see (from your logs) you are using version 3.5.1.
Have you checked out the latest one from the repository?

Original comment by T.Delenikas on 27 Mar 2012 at 6:02

GoogleCodeExporter commented 9 years ago
yes checked the link you sent me but how i can get files from there?? 
unable to get files from there :(

Original comment by a.adnans...@gmail.com on 27 Mar 2012 at 6:21

GoogleCodeExporter commented 9 years ago
got the code thanks but smslib.jar is missing??

Original comment by a.adnans...@gmail.com on 27 Mar 2012 at 8:39

GoogleCodeExporter commented 9 years ago
Can you try with the attached jar?

Original comment by T.Delenikas on 27 Mar 2012 at 8:51

Attachments:

GoogleCodeExporter commented 9 years ago
many thanks for your kind support i m so happy that it starts working now the 
only problem is with the initialization time..
Thanks alotttt... :)

Original comment by a.adnans...@gmail.com on 27 Mar 2012 at 12:31

GoogleCodeExporter commented 9 years ago
Great :) 

Original comment by T.Delenikas on 27 Mar 2012 at 2:20