RE: [reSIProcate] Handling of 200 ok response with out Contacts Field
DUM is going to be changed so 2xx responses to a SUBSCRIBE do not create
dialogs.
CONFIDENTIALITY NOTICE
This email and any files transmitted with it contains proprietary
information and, unless expressly stated otherwise, all contents and
attachments are confidential. This email is intended for the addressee(s)
only and access by anyone else is unauthorized. If you are not an addressee,
any disclosure, distribution, printing or copying of the contents of this
email or its attachments, or any action taken in reliance on it, is
unauthorized and may be unlawful. If you are not an addressee, please inform
the sender immediately and then delete this email and any copies of it.
Thank you for your co-operation.
> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:resiprocate-
> devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Patel Parag
> Sent: Wednesday, November 16, 2005 11:06 PM
> To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [reSIProcate] Handling of 200 ok response with out Contacts Field
>
> hi scott,
> I am facing one problem during handling of 200 ok response(with out
> contacts field) of SUBSCRIBE Request. I try to explain flow of response
> handling for SUBSCRIBE response.
>
> 1)DialogUsageManager::processResponce()
> 2)DialogSet::dispatch()
> there is Dialog not found so, DUM create new Dialog for
> Subscription
>
> if (dialog == 0)
> {
> dialog = new Dialog(mDum, msg, *this);
> }
>
> but, problem is, response doesn't contain contact field so
> throw
> exception.
>
> if (response.exists(h_Contacts) &&
> response.header(h_Contacts).size() ==
> 1)
> {
> }
> else
> {
> // control will come here ... and throw exception.
> }
> please any buddy give me right direction...
>
> According to RFC 3842.. response to SUBSCRIBE may come without
> contacts
> field.
>
> regards,
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel