< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] About the OPTIONS


Use the search feature on the wiki – this page is the top hit, if you search for OPTIONS.

 

From: Karlsson [mailto:boost.regex@xxxxxxxxx]
Sent: December 9, 2007 9:47 AM
To: Scott Godin
Cc: resiprocate-devel@xxxxxxxxxxxxxxx
Subject: Re: [reSIProcate] About the OPTIONS

 

Hi Scott, thanks for your answer, can you please let me know how to view all this knowledge?

I have try to found it on the Wiki, but do not got it,

 

Thanks

 

2007/12/9, Scott Godin <slgodin@xxxxxxxxxxxx>:

http://www.resiprocate.org/Handling_Options_Requests

 

Scott

 

From: resiprocate-devel-bounces@xxxxxxxxxxxxxxx [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxx] On Behalf Of Karlsson
Sent: December 8, 2007 9:13 AM
To: resiprocate-devel@xxxxxxxxxxxxxxx
Subject: [reSIProcate] About the OPTIONS

 

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.