0

I want to know if it's possible to implement the SIP stack outside the servlet container and interact between them with an interface. I want to have SIP transactions and dialogs for the first part and can host the servlet inside the servlet container like Tomcat.

Whenever a SIP request comes, the first part receives it, parses it, SIP transaction and dialog will be created, the servlet and application which should be invoked is chosen and the the message is sent to the servlet container through an interface. Then the servlet that is hosted in the servlet container is invoked and creates a response. Then the response goes back to the first part and will be sent to the destination.

Any idea how to accomplish this stack?

ndmeiri
  • 4,979
  • 12
  • 37
  • 45
Milix
  • 107
  • 10
  • Which interface are you thinking of? You should use Restcomm-connect you could then interact via any language through REST API interface – jeand Apr 21 '16 at 05:36
  • @jeand Thanks for the reply. I want to have the JAIN-SIP functionality and where the servlet is run, in separate parts(nodes). – Milix Apr 23 '16 at 00:38
  • You would need to implement a custom protocol then between JAIN SIP and the Servlet. Currently similarly to HTTP Servlet the JAIN SIP Stack needs to be located in the same node as the Servlet. – jeand Apr 24 '16 at 19:47
  • @jeand Could you give me some hints? – Milix Apr 25 '16 at 16:44

0 Answers0