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

[reSIProcate] crash during handling of SUBSCRIBE response


hi ,

                I am facing one problem during handling of 200 ok response of 
SUBSCRIBE
Request. I      try to explain flow of response handling for SUBSCRIBE.

        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...

regards,
parag Patel