jain-sip /jsip getListeningPoint method was removed from RequestEvent and ResponseEvent

111 views Asked by At

I have a JAIN-SIP project with one SipStack, multiple SipProviders each with one ListeningPoint. In earlier versions of the sip stack, when a request/response come in, I could just call: requestEvent.getListeningPoint().getIPAddress(), but the getListeningPoint() function was removed. How am I supposed to find out, to which ip address and port the request come in?

1

There are 1 answers

0
LostInTheFrequencyDomain On

Look at the event source i.e. Event.getSource() of the event delivered to your listener method.