Hi,

Forgot to add that when I tried to call the read url, I still cannot
receive any messages but there are messages left in the modem (in fact
I set to not delete after read)

<messages>
<error>0</error>
</messages>


On Feb 8, 11:52 am, lyf <[email protected]> wrote:
> Hi Thanasis,
>
> I have restarted smsserver a few times but still the same. Below is
> the gateway/interface status returned. It shows the inbound is set to
> No for gateway but Yes for interface.
>
> Gateway Status
>                                 Total Traffic
> Name    Type    IN?     OUT?    Inbound Outbound        Queued  Restarts      
>   Status
> modem1  org.smslib.modem.SerialModemGateway     No      Yes     0       0     
>   0       1       Started
>
> Interface Status
> Name    Type    IN?     OUT?    Queue
> httpServer      org.smslib.smsserver.interfaces.HttpServer      Yes     Yes   
>   N/A
>
> Below is the running logs I captured ( I still see this line in the
> logs --> [SMSServer - InboundPollingThread] DEBUG
> org.smslib.helper.Logger  - InboundPollingThread() run.)
>
> =================================================
>
> 324618306 2010-02-08 10:03:06,171 [SMSLib-AsyncMessageProcessor :
> modem1] DEBUG org.smslib.helper.Logger  - GTW: modem1: IN-DTLS: MI:4
> REF:0 MAX:0 SEQ:0
> 324618307 2010-02-08 10:03:06,172 [SMSLib-AsyncMessageProcessor :
> modem1] DEBUG org.smslib.helper.Logger  - GTW: modem1: READ PDU:
> 06915669917777040A91567998454500000120801104532305C8329BFD06
> 324618309 2010-02-08 10:03:06,174 [SMSLib-AsyncMessageProcessor :
> modem1] DEBUG org.smslib.helper.Logger  - GTW: modem1:
> =================================================
> << SmsDeliveryPdu >>
> Raw Pdu: 06915669917777040A91567998454500000120801104532305C8329BFD06
>
> SMSC Address: [Length: 6 (06) octets, Type: 91 (10010001), Address: ]
> First Octet: 04 [TP-MTI: (SMS-DELIVER), TP-MMS: (Has more messages),
> TP-SRI: (No Status Report), TP-UDHI: (no UDH)]
> Originator Address: [Length: 10 (0A), Type: 81 (10000001), Address: ]
> TP-PID: 00 (00000000)
> TP-DCS: 00 (7-bit GSM Alphabet) (00000000)
> TP-SCTS: Mon 08-Feb-2010 11:40:35 GMT+08:00
>
> User Data Length: 5 (05) septets
> User Data (pdu) : C8329BFD06
> User Data (decoded): [Hello]
> =================================================
>
> 324618309 2010-02-08 10:03:06,174 [SMSLib-AsyncMessageProcessor :
> modem1] DEBUG org.smslib.helper.Logger  - GTW: modem1: IN-DTLS: MI:5
> REF:0 MAX:0 SEQ:0
> 324618310 2010-02-08 10:03:06,175 [SMSLib-AsyncMessageProcessor :
> modem1] DEBUG org.smslib.helper.Logger  - GTW: modem1: SEND :AT
> +CPMS="SR"(cr)
> 324618331 2010-02-08 10:03:06,196 [SMSLib-AsyncMessageProcessor :
> modem1] DEBUG org.smslib.helper.Logger  - GTW: modem1: BUFFER: +CPMS:
> 0,5,5,35,5,35
> OK
> 324618332 2010-02-08 10:03:06,197 [SMSLib-AsyncMessageProcessor :
> modem1] DEBUG org.smslib.helper.Logger  - GTW: modem1: RECV :+CPMS:
> 0,5,5,35,5,35(cr)OK(cr)
> 324618332 2010-02-08 10:03:06,197 [SMSLib-AsyncMessageProcessor :
> modem1] DEBUG org.smslib.helper.Logger  - GTW: modem1: SEND :AT
> +CMGL=4(cr)
> 324618351 2010-02-08 10:03:06,216 [SMSLib-AsyncMessageProcessor :
> modem1] DEBUG org.smslib.helper.Logger  - GTW: modem1: BUFFER: OK
> 324618351 2010-02-08 10:03:06,216 [SMSLib-AsyncMessageProcessor :
> modem1] DEBUG org.smslib.helper.Logger  - GTW: modem1: RECV :OK(cr)
> 324618352 2010-02-08 10:03:06,217 [SMSLib-AsyncMessageProcessor :
> modem1] DEBUG org.smslib.helper.Logger  - GTW: modem1:
> CheckMpMsgList(): MAINLIST: 0
> 324618352 2010-02-08 10:03:06,217 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - NotifyQueueManager end...
> 324618461 2010-02-08 10:03:06,326 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - Running...
> 324618461 2010-02-08 10:03:06,326 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - NotifyQueueManager running...
> 324618461 2010-02-08 10:03:06,326 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - NotifyQueueManager end...
> 324618570 2010-02-08 10:03:06,435 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - Running...
> 324618571 2010-02-08 10:03:06,436 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - NotifyQueueManager running...
> 324618571 2010-02-08 10:03:06,436 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - NotifyQueueManager end...
> 324618680 2010-02-08 10:03:06,545 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - Running...
> 324618681 2010-02-08 10:03:06,546 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - NotifyQueueManager running...
> 324618681 2010-02-08 10:03:06,546 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - NotifyQueueManager end...
> 324618790 2010-02-08 10:03:06,655 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - Running...
> 324618791 2010-02-08 10:03:06,656 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - NotifyQueueManager running...
> 324618791 2010-02-08 10:03:06,656 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - NotifyQueueManager end...
> 324618900 2010-02-08 10:03:06,765 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - Running...
> 324618901 2010-02-08 10:03:06,766 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - NotifyQueueManager running...
> 324619560 2010-02-08 10:03:07,425 [SMSServer - OutboundPollingThread]
> DEBUG org.smslib.helper.Logger  - OutboundPollingThread() run.
> 324619561 2010-02-08 10:03:07,426 [SMSServer - OutboundPollingThread]
> INFO  org.smslib.helper.Logger  - SMSServer: sending asynchronously...
> [0]
> 324619950 2010-02-08 10:03:07,815 [CNMIEmulatorProcessor [modem1]]
> DEBUG org.smslib.helper.Logger  - ** disabled **
> 324620760 2010-02-08 10:03:08,625 [QueueManager [modem1]] DEBUG
> org.smslib.helper.Logger  - Running...
> 324624110 2010-02-08 10:03:11,975 [WatchDog] DEBUG
> org.smslib.helper.Logger  - Running...
> 324625790 2010-02-08 10:03:13,655 [QueueManager [modem1]] DEBUG
> org.smslib.helper.Logger  - Running...
> 324629570 2010-02-08 10:03:17,435 [SMSServer - OutboundPollingThread]
> DEBUG org.smslib.helper.Logger  - OutboundPollingThread() run.
> 324629571 2010-02-08 10:03:17,436 [SMSServer - OutboundPollingThread]
> INFO  org.smslib.helper.Logger  - SMSServer: sending asynchronously...
> [0]
> 324630800 2010-02-08 10:03:18,665 [QueueManager [modem1]] DEBUG
> org.smslib.helper.Logger  - Running...
> 324635810 2010-02-08 10:03:23,675 [QueueManager [modem1]] DEBUG
> org.smslib.helper.Logger  - Running...
> 324639120 2010-02-08 10:03:26,985 [WatchDog] DEBUG
> org.smslib.helper.Logger  - Running...
> 324639580 2010-02-08 10:03:27,445 [SMSServer - OutboundPollingThread]
> DEBUG org.smslib.helper.Logger  - OutboundPollingThread() run.
> 324639581 2010-02-08 10:03:27,446 [SMSServer - OutboundPollingThread]
> INFO  org.smslib.helper.Logger  - SMSServer: sending asynchronously...
> [0]
> 324640820 2010-02-08 10:03:28,685 [QueueManager [modem1]] DEBUG
> org.smslib.helper.Logger  - Running...
> 324645830 2010-02-08 10:03:33,695 [QueueManager [modem1]] DEBUG
> org.smslib.helper.Logger  - Running...
> 324649590 2010-02-08 10:03:37,455 [SMSServer - OutboundPollingThread]
> DEBUG org.smslib.helper.Logger  - OutboundPollingThread() run.
> 324649591 2010-02-08 10:03:37,456 [SMSServer - OutboundPollingThread]
> INFO  org.smslib.helper.Logger  - SMSServer: sending asynchronously...
> [0]
> 324649960 2010-02-08 10:03:37,825 [CNMIEmulatorProcessor [modem1]]
> DEBUG org.smslib.helper.Logger  - ** disabled **
> 324650840 2010-02-08 10:03:38,705 [QueueManager [modem1]] DEBUG
> org.smslib.helper.Logger  - Running...
> 324654130 2010-02-08 10:03:41,995 [WatchDog] DEBUG
> org.smslib.helper.Logger  - Running...
> 324655850 2010-02-08 10:03:43,715 [QueueManager [modem1]] DEBUG
> org.smslib.helper.Logger  - Running...
> 324659601 2010-02-08 10:03:47,466 [SMSServer - OutboundPollingThread]
> DEBUG org.smslib.helper.Logger  - OutboundPollingThread() run.
> 324659601 2010-02-08 10:03:47,466 [SMSServer - OutboundPollingThread]
> INFO  org.smslib.helper.Logger  - SMSServer: sending asynchronously...
> [0]
> 324660860 2010-02-08 10:03:48,725 [QueueManager [modem1]] DEBUG
> org.smslib.helper.Logger  - Running...
> 324665870 2010-02-08 10:03:53,735 [QueueManager [modem1]] DEBUG
> org.smslib.helper.Logger  - Running...
> 324669140 2010-02-08 10:03:57,005 [WatchDog] DEBUG
> org.smslib.helper.Logger  - Running...
> 324669610 2010-02-08 10:03:57,475 [SMSServer - OutboundPollingThread]
> DEBUG org.smslib.helper.Logger  - OutboundPollingThread() run.
> 324669611 2010-02-08 10:03:57,476 [SMSServer - OutboundPollingThread]
> INFO  org.smslib.helper.Logger  - SMSServer: sending asynchronously...
> [0]
> 324670880 2010-02-08 10:03:58,745 [QueueManager [modem1]] DEBUG
> org.smslib.helper.Logger  - Running...
> 324674971 2010-02-08 10:04:02,836 [SMSServer - InboundPollingThread]
> DEBUG org.smslib.helper.Logger  - InboundPollingThread() run.
> 324675890 2010-02-08 10:04:03,755 [QueueManager [modem1]] DEBUG
> org.smslib.helper.Logger  - Running...
> 324677960 2010-02-08 10:04:05,825 [KeepAlive [modem1]] DEBUG
> org.smslib.helper.Logger  - Running...
> 324677961 2010-02-08 10:04:05,826 [KeepAlive [modem1]] DEBUG
> org.smslib.helper.Logger  - GTW: modem1: SEND :AT(cr)
> 324677981 2010-02-08 10:04:05,846 [KeepAlive [modem1]] DEBUG
> org.smslib.helper.Logger  - GTW: modem1: BUFFER: OK
> 324677981 2010-02-08 10:04:05,846 [KeepAlive [modem1]] DEBUG
> org.smslib.helper.Logger  - GTW: modem1: RECV :OK(cr)
>
> On Feb 5, 4:39 pm, Thanasis <[email protected]> wrote:
>
> > Hi,
>
> > The "read" operation reads the modem at the time of call - it does not use
> > any sort of buffer. So it may take a couple of seconds to complete and
> > return the answer.
>
> > If you set the "modemXXX.inbound" setting to "no", the specific modem does
> > not take part in any read operations. But you have to restart SMSServer in
> > order to take effect. Have you restarted it?
>
> > On 5 February 2010 04:14, lyf <[email protected]> wrote:
>
> > > Hi all,
>
> > > I have setup smsserver with http server interface. I have a problem
> > > here. When the smsserver polling thread read in the inbound messages,
> > > it will delete it them after reading from modem. But when I called the
> > > url (http://localhost:8080/read?password=0000) to read in the mesages,
> > > I cant see any inbound message (very empty xml).
> > > When we call the http read url, is it trying to read from modem also
> > > or is it from some temp storage after gateway has read in? Is there
> > > any way to stop the gateway/smsserver from reading the modem? I tried
> > > to set "modem1.inbound=no", but it still tries to poll. Hopefully, my
> > > questions are not too confusing.
>
> > > Thanks for your time and attention.
>
> > > lyf
>
> > > --
> > > You received this message
>
> ...
>
> read more »

-- 
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