SIPServlet问题
继承SIPservlet,里面有哪些方法呢?具体我怎么处理消息?
------解决方案--------------------SIPservlet和HTTPServlet比较类似。
具体可以看API:http://docs.oracle.com/cd/E13153_01/wlcp/wlss40/javadoc/jsr289/
大致上有下面这些方法。通常处理业务的话doInvite
doInvite - for SIP INVITE requests
doAck - for SIP ACK requests
doOptions - for SIP OPTIONS requests
doBye - for SIP BYE requests
doCancel - for SIP CANCEL requests
doRegister - for SIP REGISTER requests
doSubscribe - for SIP SUBSCRIBE requests
doNotify - for SIP NOTIFY requests
doMessage - for SIP MESSAGE requests
doInfo - for SIP INFO requests
doPrack - for SIP PRACK requests
doUpdate - for SIP UPDATE requests
doRefer - for SIP REFER requests
doPublish - for SIP PUBLISH requests
doProvisionalResponse - for SIP 1xx informational responses
doSuccessResponse - for SIP 2xx responses
doRedirectResponse - for SIP 3xx responses
doErrorResponse - for SIP 4xx, 5xx, and 6xx responses