Questions tagged [sip-servlet]

A SIP servlet is a Java programming language server-side component defined as part of the Java Specification Request 359 that performs SIP signalling and allows convergence with the Java EE Java specification.

A SIP servlet is a Java programming language server-side component defined as part of the Java Specification Request 359 (https://jcp.org/en/jsr/detail?id=359) that performs SIP signalling. SIP servlets are managed by a SIP servlet container, which typically are part of a SIP-enabled application server. SIP servlets interact with clients by responding to incoming SIP requests and returning corresponding SIP responses, acting as UAS. SIP Servlets can also acts as Clients (UAC), Back to Back User Agents and Proxy SIP Entities.

SIP servlets are built off the generic servlet API provided by the Java Servlet Specification.

40 questions
0
votes
1 answer

doBye method of sip servlet not calling while doing the junit testing through SIPDriver

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.
0
votes
0 answers

SipSession and HttpSession

How can I associate a SipSession with an HttpSession in a converged application? I know that having a HttpSession you can create a SipApplicationSession, but supposing that I have a web page that is also contacting the SIP server (let's say through…
Adrian Ber
  • 20,474
  • 12
  • 67
  • 117
0
votes
1 answer

Warning on sip.xml in Eclipse

I have a sip.xml (for SIP servlets) ... and I get the Eclipse warning No grammar constraints (DTD or XML Schema) referenced in the document. How can I fix it? `
Adrian Ber
  • 20,474
  • 12
  • 67
  • 117
0
votes
1 answer

SIP Servlets: SipServletRequest getcontent as xml

I am doing a POC on SIP SIMPLE using SIP Servlets APIs. In publish request I want to read the contents of the published XML. I know the content type of the request is application/pidf+xml. But I am not able to convert it to XML, I don't know which…
user3275095
  • 1,605
  • 4
  • 24
  • 36
0
votes
2 answers

Sip Servlets - Control Not Passed to Next Servlet in Chain

I am working with Mobicents Sip Servlets 3.0.0-SNAPSHOT. I have two servlets configured in the DAR; one to check to see if a third party registration is being attempted, and a second to perform the actual registration. I am finding that when the…
Ron McLeod
  • 643
  • 7
  • 12
0
votes
1 answer

Stopwatch in Java with a resetting function

I have implemented a SIP Servlet, where I receive two types of messages from the clients. I can receive either a high priority message and low priority message, which I separate when I'm reading the URIs of the messages as shown in the code below. I…
Osman Esen
  • 1,704
  • 2
  • 21
  • 46
0
votes
1 answer

From Header Parameter Tag in SipSessionKey is `null`

I'm working on an application, where the SIPSession generated by Mobicents has one of it's attribute coming as null. After digging through the source code, I found out that, the value returned from the SipSession#getId() method is nothing but the…
Rohit Jain
  • 209,639
  • 45
  • 409
  • 525
0
votes
1 answer

SIP servlet FORM authentication

I have a java client/server application based on HTTP. Now I want to add some SIP functionality. The server can accept SIP messages from authenticated user only but the authentication is HTTP based. Is there a way to authorize SIP messages only for…
Alf
  • 2,291
  • 1
  • 28
  • 34
0
votes
1 answer

Manipulating VIA header in Sailfin

This might be a basic problem I'm facing during integration of application over sailfin with a PSTN gateway. The initial INVITE is received from the gateway and processed internally then the 100 trying and 200 OK response is sent back to the…
Tek Writ
  • 1
  • 2
0
votes
1 answer

Sharing State between two or more SIP Servlet servers

I'm writing a SIP Servlet application using Cipango. The inevitable question has come up about how to scale this thing horizontally. If I front the cluster of SIP Servlet boxes with a load balancer, how can I ensure that SIP sessions will be…
Danny G
  • 3,660
  • 4
  • 38
  • 50
1 2
3