[reSIProcate] Handling notifications using Resiprocate
Dien Ba Quang
dienbaquang at gmail.com
Thu May 10 12:19:58 CDT 2007
Inline
On 5/10/07, Subramanian Kasi Subramanian <subbu.subramanian at yahoo.com>
wrote:
>
> For the Subscriptioncallbacks:
> Do I write a class to over ride the ClientSubscriptionHandler classes
> methods.
>
> Yes.
> Do you know how I can add the ClientSubscriptionHandler to the DUM obejct.
>
> I do the following for the IM:
> clientDum.setClientPagerMessageHandler(cmh);
> clientDum.setServerPagerMessageHandler(smh);
clientDum->addClientSubscriptionHandler("presence",&uac);
clientDum->addServerSubscriptionHandler("presence",&uac);
uac is a class that override the ClientSubscriptionHandler and
ServerSubscriptionHandler classes
*Dien Ba Quang <dienbaquang at gmail.com>* wrote:
>
> Hi,
> You could use Subscription handler and Subscription Callbacks to handle
> the presence messages; and PagerMessageHandler to handle the IM messages.
>
> Regards,
> DBQ.
>
> On 5/8/07, Subramanian Kasi Subramanian <subbu.subramanian at yahoo.com>
> wrote:
> >
> > Hi
> > I'am trying to exhange presence information with a SIP enabled
> > presence Server. I have managed to send the SUBSCIRBE messages for presence
> > information to the server for the requested contact. I also see that I'am
> > recieving NOTIFICATIONS (when I see the incoming SIP Packets) but I'am
> > unable to handle these notification messages. Can someone direct me as to
> > how I can handle incoming Messages- both plaintext(IM) and
> > pidf+xml(presence).
> >
> >
> > Thank you
> > Subbu
> > ------------------------------
> > Finding fabulous fares is fun.
> > Let Yahoo! FareChase search your favorite travel sites<http://farechase.yahoo.com/promo-generic-14795097;_ylc=X3oDMTFtNW45amVpBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzEEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--%0A>to find flight and hotel bargains.
> >
> > _______________________________________________
> > resiprocate-devel mailing list
> > resiprocate-devel at list.resiprocate.org
> > https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
> >
>
>
> ------------------------------
> Ahhh...imagining that irresistible "new car" smell?
> Check out new cars at Yahoo! Autos.<http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM->
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070510/ed83365d/attachment.htm>
More information about the resiprocate-devel
mailing list