Multiple subscriptions support with in the same dialog....(RFC3265)

WE
Wang Eric
Wed, Jun 24, 2009 7:36 AM

Hi Benny and all,

One question need your confirm regarding the optional id parameter of event package header

Per the sec. 3.1.2. "Identification of Subscribed Events and Event Classes" in RFC 3265 pp7
The "Event" header MAY also contain an "id" parameter.
This "id" parameter, if present, contains an opaque token which
identifies the specific subscription within a dialog.

Also, in pp8 of RFC3265 says..

A SUBSCRIBE request MAY include an "id" parameter in its "Event"
header to allow differentiation between multiple subscriptions in the
same dialog.

I can find the "id parameter" definition in \pjsip-simple\Evsub_msg.h
However it seems that PJSIP does not implement the feature mentioned aboce (multiple subscriptions in the
same dialog. )

Am I right?

Thanks for your answer in advance!


輕鬆分享 – 利用 Windows Live 相簿分享相片

http://download.live.com/toolbar

Hi Benny and all, One question need your confirm regarding the optional id parameter of event package header Per the sec. 3.1.2. "Identification of Subscribed Events and Event Classes" in RFC 3265 pp7 The "Event" header MAY also contain an "id" parameter. This "id" parameter, if present, contains an opaque token which identifies the specific subscription within a dialog. Also, in pp8 of RFC3265 says.. A SUBSCRIBE request MAY include an "id" parameter in its "Event" header to allow differentiation between multiple subscriptions in the same dialog. I can find the "id parameter" definition in \pjsip-simple\Evsub_msg.h However it seems that PJSIP does not implement the feature mentioned aboce (multiple subscriptions in the same dialog. ) Am I right? Thanks for your answer in advance! _________________________________________________________________ 輕鬆分享 – 利用 Windows Live 相簿分享相片 http://download.live.com/toolbar
BP
Benny Prijono
Fri, Jul 3, 2009 9:13 AM

2009/6/24 Wang Eric eric_wanga@hotmail.com

Hi Benny and all,

One question need your confirm regarding the optional id parameter of event
package header

Per the sec. 3.1.2. "Identification of Subscribed Events and Event Classes"
in RFC 3265 pp7
The "Event" header MAY also contain an "id" parameter.
This "id" parameter, if present, contains an opaque token which
identifies the specific subscription within a dialog.

Also, in pp8 of RFC3265 says..
A SUBSCRIBE request MAY include an "id" parameter in its "Event"
header to allow differentiation between multiple subscriptions in the
same dialog.

I can find the "id parameter" definition in \pjsip-simple\Evsub_msg.h
However it seems that PJSIP does not implement the feature mentioned aboce
(multiple subscriptions in the
same dialog. )

Am I right?

We used to always put event id in our SUBSCRIBE request, but lots of other
software are not able to deal with this correctly (for examply no event id
in NOTIFY), so I decided to not use it long time ago. But if we're receiving
SUSBCRIBE with id set, we should be able to respond correctly.

I haven't tried with doing multiple subscriptions with one dialog. Though it
should work, what for?

cheers
Benny

Thanks for your answer in advance!


聰明搜尋和瀏覽網路的免費工具列 — Windows Live 工具列 http://download.live.com/toolbar


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

2009/6/24 Wang Eric <eric_wanga@hotmail.com> > Hi Benny and all, > > One question need your confirm regarding the optional id parameter of event > package header > > Per the sec. 3.1.2. "Identification of Subscribed Events and Event Classes" > in RFC 3265 pp7 > The "Event" header MAY also contain an "id" parameter. > This "id" parameter, if present, contains an opaque token which > identifies the specific subscription within a dialog. > > Also, in pp8 of RFC3265 says.. > A SUBSCRIBE request MAY include an "id" parameter in its "Event" > header to allow differentiation between multiple subscriptions in the > same dialog. > > I can find the "id parameter" definition in \pjsip-simple\Evsub_msg.h > However it seems that PJSIP does not implement the feature mentioned aboce > (multiple subscriptions in the > same dialog. ) > > Am I right? > > We used to always put event id in our SUBSCRIBE request, but lots of other software are not able to deal with this correctly (for examply no event id in NOTIFY), so I decided to not use it long time ago. But if we're receiving SUSBCRIBE with id set, we should be able to respond correctly. I haven't tried with doing multiple subscriptions with one dialog. Though it should work, what for? cheers Benny > > Thanks for your answer in advance! > > ------------------------------ > 聰明搜尋和瀏覽網路的免費工具列 — Windows Live 工具列 <http://download.live.com/toolbar> > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >