}
/** Creates a new SUBSCRIBE request (RFC3265) out of any pre-existing dialogs. */
public static Message createSubscribeRequest(SipProvider sip_provider, SipURL recipient, NameAddress to, NameAddress from, NameAddress contact, String event, String id, String content_type, String body)
{ Message req=createRequest(sip_provider,SipMethods.SUBSCRIBE,recipient,to,from,contact,null);
req.setEventHeader(new EventHeader(event,id));
req.setBody(content_type,body);
return req;
}