I have written one sipservlet. while doing the testing through SIPdriver, i am seeing doInvite,doResponce method is calling but doBye method is not calling. Please help. Thanks for your support in advance.
Asked
Active
Viewed 80 times
0
-
There is no way to help with so little info, please post your questions to https://groups.google.com/forum/#!forum/mobicents-public with code sample and logs files of such a test call. – jeand Feb 11 '15 at 18:23
1 Answers
0
Subsequent SIP requests (like the BYE) typically go direct from peer-to-peer (without going through the proxy). To cause your application to receive the BYE and indeed all other subsequent requests, do one of the following:
On receipt of the INVITE, proxy the request having set record route to true on the proxy (request.getProxy().setRecordRoute(true);) first.
Implement your application behaviour as a back-to-back user agent (b2bua). This is a much more complex application model to implement, but does also yield much more control over the SIP sessions.
Hope this helps!

Nathan Woodhouse
- 21
- 1