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

[reSIProcate] Out of dialog processing of MESSAGE method


Hello!

I am trying to learn the basics of DUM.

I modified the BasicCall test program trying to add out-of-dialog processing in the same fashion it is processing the OPTIONS method. I did this by adding the following lines...

dumUas->getMasterProfile()->addSupportedMethod(MESSAGE);
dumUas->getMasterProfile()->addSupportedMimeType(MESSAGE, Mime("text", "xml"));

and

dumUas->addOutOfDialogHandler(MESSAGE, &uas);

I was just expecting to get

"ServerOutOfDialogReq-onReceivedRequest" printed but instead got a

"testAppDialogSet:created"

On top of that the stack is answering with a 405 (method not allowed).

- Can someone give me an idea of how this could be done?
- Why is the method not allowed if MESSAGE is on the advertised allowed list on the REGISTER message?

Victor M.