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

Re: [reSIProcate-users] How to send in-dialog SUBSCRIBE request


I think there are two ways to do this.  Take a look at when REFER subscriptions are added to the mClientSubscription list.  REFER subscriptions are added when receiving the first NOTIFY  (see Dialog.cxx ~ln:572).  Another alternative would be to add the ClientSubcription to the list when the subscription is first created, without waiting for any response.  I'm leaning towards the later.

Scott

On Wed, May 26, 2010 at 6:21 AM, Barta Martin <barta.martin@xxxxxxxxx> wrote:
Thanks Scott,

  It is subscription to conference event package while in dialog with
  ad-hoc conference server.

  I have tried to implement in-dialog subscription and it works fine.

  But I'm not sure when to add new ClientSubscription instance in
  dialog's mClientSubscriptions list and how the response should be
  handled.

  What is your opinion?

  Martin

----------------------
Martin Bárta
barta.martin@xxxxxxxxx

Scott Godin (sgodin@xxxxxxxxxxxxxxx) wrote:
> InviteSessions currently only support the implied subscription created when
> issuing a REFER request.  Out of curiosity - what is your use case?
>
> Scott
>
> On Mon, May 24, 2010 at 6:41 AM, Barta Martin <barta.martin@xxxxxxxxx> wrote:
>
>     Hi all,
>
>       How can I send SUBSCRIBE request within an Invite session
>       dialog?
>
>       I can't find any API call in InviteSession.hxx for this.
>
>
>       Thanks,
>
>       Martin
>
>
>
>     ----------------------
>     Martin Bárta
>     barta.martin@xxxxxxxxx
>
>     _______________________________________________
>     resiprocate-users mailing list
>     resiprocate-users@xxxxxxxxxxxxxxx
>     List Archive: http://list.resiprocate.org/archive/resiprocate-users/
>
>