I am trying to understand how Kannel handles messages
that are set to deliver near future. 

I set the deliver-after-timestamp field to 2-3 minutes
later inside the pap control file for that purpose and
sent a wappush message. First of all, it says it is
too early to send the message, waiting. when the time
was arrived nothing happened. Then i resent the same
message with a different push-id, it sent the
message(since the deliver-after-time had already been
passed.)

Is kannel support to send push messages according to
their deliver-after-timestamp?


I am using developer release 1.3.1 on redhat linux
9.0.

Here what I got from wapbox console:

2003-12-24 13:56:22 [11] DEBUG: HTTP: Creating
HTTPClient for `192.168.43.9'.
2003-12-24 13:56:23 [14] WARNING: Your ppg core
configuration allow all ips
2003-12-24 13:56:23 [14] INFO: PPG: Accept request
</wappush> from <192.168.43.9>
2003-12-24 13:56:23 [14] DEBUG: PPG: http_read_thread:
pap multipart accepted
2003-12-24 13:56:23 [14] INFO: client address was
<+905423877714>, accepted
2003-12-24 13:56:23 [14] DEBUG: PAP COMPILER: doing
semantic analysis for address type a phone number
2003-12-24 13:56:23 [14] DEBUG: using defaults instead
of anys
2003-12-24 13:56:23 [14] DEBUG: PPG: http_read_thread:
pap control entity compiled ok
2003-12-24 13:56:23 [14] DEBUG: PPG:
transform_message: push message content and headers
valid
2003-12-24 13:56:23 [14] DEBUG: PPG: push machine 0
created
2003-12-24 13:56:23 [14] DEBUG: PPG: store_push_data:
push machine 0 appended to unit push list
2003-12-24 13:56:23 [14] DEBUG: PPG: too early to push
the message, waiting
2003-12-24 13:56:23 [14] DEBUG: PPG:
send_push_response: telling pi
2003-12-24 13:56:23 [14] DEBUG: HTTP: Resetting
HTTPClient for `192.168.43.9'.
2003-12-24 13:56:23 [14] INFO: PPG:
handle_push_message: push message accepted for
processing
2003-12-24 13:56:23 [10] DEBUG: HTTP: Destroying
HTTPClient area 0x80d67f0.
2003-12-24 13:56:23 [10] DEBUG: HTTP: Destroying
HTTPClient for `192.168.43.9'.


2003-12-24 13:59:12 [11] DEBUG: HTTP: Creating
HTTPClient for `192.168.43.9'.
2003-12-24 13:59:12 [14] WARNING: Your ppg core
configuration allow all ips
2003-12-24 13:59:12 [14] INFO: PPG: Accept request
</wappush> from <192.168.43.9>
2003-12-24 13:59:12 [14] DEBUG: PPG: http_read_thread:
pap multipart accepted
2003-12-24 13:59:12 [14] INFO: client address was
<+905423877714>, accepted
2003-12-24 13:59:12 [14] DEBUG: PAP COMPILER: doing
semantic analysis for address type a phone number
2003-12-24 13:59:12 [14] DEBUG: using defaults instead
of anys
2003-12-24 13:59:12 [14] DEBUG: PPG: http_read_thread:
pap control entity compiled ok
2003-12-24 13:59:12 [14] DEBUG: PPG:
transform_message: push message content and headers
valid
2003-12-24 13:59:12 [14] DEBUG: PPG: push machine 1
created
2003-12-24 13:59:12 [14] DEBUG: PPG: store_push_data:
push machine 1 appended to unit push list
2003-12-24 13:59:12 [14] DEBUG: PPG:
send_push_response: telling pi
2003-12-24 13:59:12 [14] DEBUG: HTTP: Resetting
HTTPClient for `192.168.43.9'.
2003-12-24 13:59:12 [14] INFO: PPG:
handle_push_message: push message accepted for
processing
2003-12-24 13:59:12 [14] DEBUG: PPG: OTA request for
unit push
2003-12-24 13:59:12 [14] INFO: PPG: unconfirmed push
delivered to OTA
2003-12-24 13:59:12 [14] DEBUG: PPG: destroying push
machine 1
2003-12-24 13:59:12 [9] DEBUG: OTA: event arrived
2003-12-24 13:59:12 [2] DEBUG: WSP_UNIT:
Connectionless push accepted
2003-12-24 13:59:12 [2] DEBUG: WSP_UNIT: delivering to
wdp
2003-12-24 13:59:12 [9] DEBUG: OTA: made
connectionless session service request
2003-12-24 13:59:12 [10] DEBUG: HTTP: Destroying
HTTPClient area 0x80d7c40.
2003-12-24 13:59:12 [10] DEBUG: HTTP: Destroying
HTTPClient for `192.168.43.9'.


here the pap control file (BTW we are in GTM+2):

<?xml version="1.0"?>
<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP//EN"
          "http://www.wapforum.org/DTD/pap_1.0.dtd";>
<pap>
  <push-message push-id="[EMAIL PROTECTED]"
  deliver-before-timestamp="2004-09-28T06:45:00Z"
  deliver-after-timestamp="2003-12-24T11:57:00Z"
  progress-notes-requested="false">
    <address 
   
address-value="WAPPUSH=+905423877714/[EMAIL PROTECTED]">
    </address>
    <quality-of-service
    priority="low"
    delivery-method="unconfirmed"
    network-required="true"
    network="GSM"
    bearer-required="true"
    bearer="SMS">                               >
    </quality-of-service>
  </push-message>
</pap>

    
     


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

Reply via email to