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

[reSIProcate] 200 OK for SUBSCRIBE


Hi

 

In the response handling in Dialog::dispatch, I see a code which ignores the 2XX response for SUBSCRIBE. Is there a reason why? In this case, how does the application get to know about successful  (200 OK) for SUBSCRIBE.

 

Case SUBSCRIBE:

                        int code = response.header(h_StatusLine).statusCode();

                        if ( code < 300)

                        {

                                    return;

                        }

 

 

Any thoughts on this

 

Regards

Suresh