[reSIProcate] Handling of 200 ok response with out Contacts Field

Patel Parag papatel at varaha.com
Thu Nov 17 01:06:03 CST 2005


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,




More information about the resiprocate-devel mailing list