[reSIProcate] About the OPTIONS

Scott Godin slgodin at icescape.com
Sun Dec 9 08:17:24 CST 2007


MESSAGE requests are defined in RFC3428:
http://www.ietf.org/rfc/rfc3428.txt

 

Scott

 

From: resiprocate-devel-bounces at resiprocate.org
[mailto:resiprocate-devel-bounces at resiprocate.org] On Behalf Of Karlsson
Sent: December 8, 2007 9:22 AM
To: resiprocate-devel at resiprocate.org
Subject: Re: [reSIProcate] About the OPTIONS

 

Usually what messanges will be fire the onMessage(InviteSessionHandle h,
const SipMessage& msg) ?

 

I have read the RFC3261,but still do not very clear.

 

Thanks, 


 

2007/12/8, Karlsson <boost.regex at gmail.com>: 

Hi, does the OPTIONS has two cases ? 

 

1: The OPTIONS out side the Dialog.

If the OPTIONS is out side the Dialog, then 

 

void UserAgent::-OnReceivedRequest(ServerOutOfDialogReqHandle h, const
SipMessage & request)
{
   if (request.method() == OPTIONS)
   {
      mDum.send(h->answerOptions());
   }
}

 

 

 

2: The OPTIONS comes within a Dialog.

 

If the OPTIONS comes within a Dialog, then will be fired this callback ?
It's right ?

 

void UserAgent::onMessage(InviteSessionHandle h, const SipMessage& msg)
{
 
}

 

If so, then how to reply this OPTIONS message?

 

Sorry for my question, thanks in advance.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20071209/9d4c089b/attachment.htm>


More information about the resiprocate-devel mailing list