예제 #1
0
 def newForAttributes(cls, statusCode=500, reasonPhrase="", content="", header=None):
     startLine = SIPResponseStartLine.newForAttributes(statusCode=statusCode, reasonPhrase=reasonPhrase)
     # SIPMessage._newForAttributes(cls, startLine=startLine, content=content, header=header)
     return cls._newForAttributes(startLine=startLine, content=content, header=header)