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

[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.