RE: [reSIProcate] Question on Subscription Handlers and authentic ation
There are two choices to do that:
1) Add some code in the transaction management in
resiprocate. Take a look at the TransactionState
class.
2) Add some code in the DUM, but that is only for UA
based application. In this case, you may need to apply
some code to DialogUsageManagement class.
kaiduan
--- Elizabeth Clark
<elizabeth.clark@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> Kaiduan,
> If I needed my application to log or audit
> successful transactions, how can
> I achieve that?
> thanks
> -----Original Message-----
> From: kaiduan xie [mailto:kaiduanx@xxxxxxxx]
> Sent: Thursday, December 02, 2004 10:33 PM
> To: Elizabeth Clark;
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [reSIProcate] Question on Subscription
> Handlers and authentic
> ation
>
>
> Yes, for the first scenario, there is no sense to
> have
> a call back invoked since the NOTIFY will eventually
> arrive.
>
> For the second scenario, also there is no sense to
> call back after receiving 200 for NOTIFY from the
> server's point of view.
>
> kaiduan
> --- Elizabeth Clark
> <elizabeth.clark@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> > Thanks but that doesn't seem to do what I'm asking
> > as far as I can see.
> >
> > In the first situation, the client sends a
> SUBSCRIBE
> > and the server sends
> > back a 200 OK. The client receives the 200 OK
> > response but there is no
> > callback invoked at this point. Maybe it doesn't
> > make a whole lot of sense
> > since the NOTIFY will eventually come in anyway
> and
> > a callback will get
> > invoked then.
> >
> > In the second situation, the server sends a
> NOTIFY
> > and the client sends
> > back a 200 OK response. It appears the
> ServerSubscription::dispatch
> > gets invoked but for a 200 OK response, there is
> no
> > callback.
> >
> > Thanks,
> > Liz
> >
> > -----Original Message-----
> > From: kaiduan xie [mailto:kaiduanx@xxxxxxxx]
> > Sent: Thursday, December 02, 2004 6:07 PM
> > To: Elizabeth Clark;
> > resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> > Subject: Re: [reSIProcate] Question on
> Subscription
> > Handlers and
> > authentication
> >
> >
> > For client subscription, the call backs are
> > onUpdateActive(), onUpdatePending() and
> > onTerminated()after receiving NOTIFY for
> SUBSCRIBE,
> > please referClientSubscription::dispatch()
> function.
> >
> > kaiduan
> > --- Elizabeth Clark
> > <elizabeth.clark@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> > >
> > > I working my way through understanding the
> client
> > > and server subscription
> > > handlers and I noticed that no dispatch seems to
> > > happen when a 200 OK
> > > response is received following a SUBSCRIBE or
> > > NOTIFY. I'm wondering if this
> > > is intentional or would it make sense to provide
> > > this capability.
> > >
> > > I was also trying to see if Digest
> authentication
> > > was supported as per RFC
> > > 3261. I noticed there is a ServerAuthManager
> class
> > > but it doesn't see to be
> > > fully implemented. Is there any activity
> happening
> > > with authentication?
> > >
> > > Thanks a lot.
> > > Liz
> > >
> > >
> > >
> > >
> > > Elizabeth Clark
> > > Bridgewater Systems Corporation
> > > Phone : (613) 591-9104 x2776
> > > E-mail :
> > <mailto:elizabeth@xxxxxxxxxxxxxxxxxxxxxx>
> > > mailto:elizabeth@xxxxxxxxxxxxxxxxxxxxxx
> > >
> > >
> > >
> > >
> > > >
> _______________________________________________
> > > resiprocate-devel mailing list
> > resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> > >
> >
>
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
> >
> >
> >
>
______________________________________________________________________
> >
> > Post your free ad now! http://personals.yahoo.ca
> > _______________________________________________
> > resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> >
>
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
> >
>
>
______________________________________________________________________
>
> Post your free ad now! http://personals.yahoo.ca
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
>
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca