}
public static CallflowNotificationFilter getCallflowNotificationFilter(HttpServletRequest request)
{
String msgFilter = request.getParameter(Parameters.SIP_MESSAGE_FILTER);
CallflowNotificationFilter filter = (CallflowNotificationFilter) request.getSession().getAttribute(Parameters.SIP_MESSAGE_FILTER);
if (filter == null)
{
filter = new CallflowNotificationFilter(msgFilter);
request.getSession().setAttribute(Parameters.SIP_MESSAGE_FILTER, filter);
}
else if (msgFilter != null)
filter.setFilter(msgFilter.trim());
return filter;
}