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

Re: [reSIProcate] [resiprocate/resiprocate] send presence mechanism through PUBLICATION message (#52)


In resip/recon/UserAgent.cxx:

> @@ -569,6 +610,79 @@ UserAgent::destroySubscriptionImpl(SubscriptionHandle handle)
>     }
>  }
>  
> +void 
> +UserAgent::createPublicationImpl(PublicationHandle handle, const Data& status, const Data& eventType, const NameAddr& target, unsigned int publicationTime, const Mime& mimeType)
> +{
> +   // Ensure we have a client publication handler for this event type
> +   if(!mDum.getClientPublicationHandler(eventType))
> +   {
> +      mDum.addClientPublicationHandler(eventType, this);
> +   }
> +   // Ensure that the request Mime type is supported in the dum profile
> +   if(!mProfile->isMimeTypeSupported(PUBLISH, mimeType))
> +   {
> +      mProfile->addSupportedMimeType(PUBLISH, mimeType);  
I not 100% sure, but I'm thinking it's not needed.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.