RE: how to get a message channel from incoming SIPResponse?

"Young-Geun Park" <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <000001c70ac1$f1b42770$3d01a8c0@zeroroot>
Thank you for your answer. 

I am implementing sip application server based on the sip servlet(jsr116). 
Sip servlet wants to know whether sip request/response is secure. 

So, I planed to decide that by comparing with a message channel instance.
If messageChannel instanceof TLSMessageChannel is true, the request/response
would true. 

As I said before, SIPRequest can get a message channel, but SIPResponse
cannot. 

Is there any idea?

Regards, 

Park
-----Original Message-----
From: M. Rangnathan [mailto:[email protected]] 
Sent: Saturday, November 18, 2006 1:09 AM
To: Young-Geun Park
Cc: [email protected]
Subject: Re: [nist-sip] how to get a message channel from incoming
SIPResponse?


You may be using the API at the wrong level, unless you are building
some extension features for which you need to touch the implementation
objects. If you are building a JAIN-SIP application, you should not need
to access the MessageChannel.

Regards,

Ranga

Young-Geun Park wrote:

> Hi, all
>
> Is there anyone who gives me how to get a message channel from a
> incoming SIPResponse?
>
> In SIPTransactionStack.newSIPServerResponse() method, there is no a
> method related to the message channel such as setMessageChannel.
>
> In case of a incoming SIPRequest, there is getMessageChannel() method:
>
> In SIPTransactionStack.newSIPServerRequest() method, there is
> requestReceived.setMessageChannel(requestMessageChannel).
>
> Regards,
>
> Park
>
>------------------------------------------------------------------------
>
>_______________________________________________
>nist-sip mailing list
>[email protected]
>http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
>  
>


-- 
M. Ranganathan 

Advanced Networking Technologies Division,
National Institute of Standards and Technology (NIST),
100 Bureau Drive, Stop 8920, Gaithersburg, MD 20899. 
tel:301 975 3664 , fax:301 590 0932 http://w3.antd.nist.gov/
Advanced Networking Technologies For the People!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.