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

Re: [reSIProcate] Out of dialog processing of MESSAGE method


There are specific handlers of ood Message requests.  You need to
install a ServerPagerMessageHandler - see basicMessage.cxx for an
example.

Scott

> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx
> [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of
> victor morales
> Sent: Tuesday, January 09, 2007 6:40 AM
> To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [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.
> 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel