How to simulate SIR from NOWgateway?

How to simulate SIR from NOWgateway? SearchSearch
Author Message
andy
Posted on Monday, October 13, 2003 - 07:59 am:   

Hi, I have questions about push please help me,thank you!
1) is SIR must before push message is sent.
if not, how to process it in terminal?

2) SIR is a short message, PUSH message is sent only by SMS, how to simualate SIR or PUSH from nowgateway?

thanks in advance.



Bryce Norwood - NowSMS Support
Posted on Monday, October 13, 2003 - 05:41 pm:   

Hi Andy,

I am not certain that I understand your question.

In the WAP specs, SIR usually is an abbreviation for "Session Initiation Request".

And "SI" usually is an abbreviation for "Service Indication", which is a type of push message.

When we talk about a push message from NowSMS, we are talking about an "SI" or "SL" (SL = Service Load) message, being sent as a WSP connection-less push.

Therefore, there is not a session context in which this push is transmitted.

Does this help answer your question? Please feel free to clarify, as I am not clear what you are asking.
andy
Posted on Tuesday, October 14, 2003 - 06:09 am:   

hi,
thanks for your response.
There are a sentence in section 8 of WAP-235-PUSHOTA spec.
"An SIR can be delivered using either connectionless or connection-oriented push."

what's the difference and relationship between SIR
and PUSH?

I think that after a SIR is received, terminal will setup a bearer and get push message. is it correct? if so, must a SIR(SMS??) be delivered before PPG send a push message?

you say SI/SL is sent as a WSP connectionless push, In fact, push also contain connection-oriental mode,when is this mode used?

In addition, I notice a sentence in section 5.2.2 of WSP spec.
"WSP provides three push mechanisms for data transfer:
Confirmed data push within an existing session context
Non-confirmed data push within an existing session context
Non-confirmed data push without an existing session"
but you say there is not a session context in which this push is transmitted. how to understand
this sentence in WSP spec?


thanks in advance


Bryce Norwood - NowSMS Support
Posted on Tuesday, October 14, 2003 - 07:01 pm:   


quote:

"An SIR can be delivered using either connectionless or connection-oriented push."

what's the difference and relationship between SIR and PUSH?




Well, to be honest, I am not an expert on how connection-oriented WAP push works, but I'll give my interpretation of the spec.

SIR is used in connection oriented push only. It is to tell the client to establish a session with the PPG, over which further connection-oriented push messages will be transmitted.

I believe that the SIR would be transmitted initially as a connection-less push. A Pom-Session-Request would be transmitted using the S-Push primitive in WSP (most likely over SMS as the WDP bearer).

When NowSMS sends a service indication push, it is sending "application/vnd.wap.sic" content in such a push message.

By contrast, an SIR request, would send "application/vnd.wap.sia" content as the SIR.

Assuming the message is successfully received (and understood), the client would then initiate a connection to the PPG. And the server would send any further push messages in the context of that session.

If you wanted to send such a message with NowSMS, you would need to binary encode the message (which is not a simple task).


quote:

I think that after a SIR is received, terminal will setup a bearer and get push message. is it correct? if so, must a SIR(SMS??) be delivered before PPG send a push message?




Yes. But the SIR is itself sent in a push request.

After the client establishes a connection to the PPG based upon this SIR ... then the PPG will send any further push messages over that connection.


quote:

you say SI/SL is sent as a WSP connectionless push, In fact, push also contain connection-oriental mode,when is this mode used?




A small correction ... I prefaced that statement with "When we talk about a push message from NowSMS" ... meaning that the statement I made refers to when NowSMS sends a push message (SI or SL). I did not state that SI and SL messages can only be sent in connection-less mode, I only stated that this is how NowSMS sends them.

When would you use connection-oriented mode? When the architecture made sense for a particular deployment. I could be wrong, but I do not believe that this support is very widely implemented. (Some PPGs that are integrated into an existing WAP gateway product may use a connection-oriented push to send a push message within the context of an existing session ... but I do not believe that the SIR approach has been implemented very widely.)

Now, SIR in OTA-HTTP is a different story. I do believe that will be more widely implemented in the future than SIR in OTA-WSP has been.


quote:

"WSP provides three push mechanisms for data transfer:
Confirmed data push within an existing session context
Non-confirmed data push within an existing session context
Non-confirmed data push without an existing session"
but you say there is not a session context in which this push is transmitted. how to understand this sentence in WSP spec?




You asked your question in the context of the Now SMS/MMS Gateway product, which only sends out connection-less push messages. My statement again, is referring to how that gateway sends out its push messages.

From a specifications perspective, you can push within an existing session context ... if a client has already made a connection to a WAP gateway (the WAP gateway can send push messages) ... or using the SIR approach (assuming it is implemented in any terminal devices).
Anonymous
 
Posted on Monday, October 20, 2003 - 03:05 am:   

Hi two,
I would like to explain the relationship with SIR,SIA,SL,SI. I am doing these in China, CDMA1X and PHS network.

Don't think more about the SIR, the SIR sending from PPG just is a network connection control message for TO-TCP using. You know there are two ways to build the network connection, one is TO-TCP another is PO-TCP. When Terminal received the SIR, the SMS agent in terminal wil transfer the message to SIA using the typical ID, for example in cdma 1x it is teleService_ID and Service_Type; the SIA will pars the SIR message and building the TO-TCP connection with PPG. After connection is OK ,the PPG will PUSH the push content(SI,SL) to Terminal using HTTP POST.
The key point technical is the SIR format, there are no clear explain and structrue of SIR in WAP forum. you must define by yourself.
http://support.nowsms.com/discus/messages/132/516.html

BR/Comete