Hi
I'm developing a gateway to translate SOAP message to SIP message (and vice
versa) in order to make a client SIP (Linphone 1.7.1) and Muse 2.2 (as a WS
presence server) communicate.
I have a problem when I want to send a message NOTIFY from the SOAP side of
the gateway to the JainSIP side.
I want to create a SipListener in the SOAP side (which is generated in *.war
and deployed by Tomcat) to make the link between the two sides.
But the port 5061 used for the SipListener is not opened when the WS is
deployed, as if the SipListener is not instantiated.
Is it possible to integrate a SipListener in a WS ?
// Extract of MyCapabilities.java
public void process(NotificationMessage message) {
/* Parsing of the Notification Message to extract the status and
the name
. */
/* calls the JainSip method to send a SIP notify request to the
client */
gListener.getSubscribeProcessing().sendNotify(name, status);
//-------------------------------------
Damien