|
22 | 22 | import gov.nist.javax.sip.ServerTransactionExt;
|
23 | 23 |
|
24 | 24 | import java.io.IOException;
|
| 25 | +import java.text.ParseException; |
25 | 26 |
|
26 | 27 | import javax.servlet.ServletException;
|
27 | 28 | import javax.servlet.sip.SipSession.State;
|
|
42 | 43 | import org.mobicents.servlet.sip.core.proxy.MobicentsProxy;
|
43 | 44 | import org.mobicents.servlet.sip.core.session.MobicentsSipApplicationSession;
|
44 | 45 | import org.mobicents.servlet.sip.core.session.MobicentsSipSession;
|
| 46 | +import org.mobicents.servlet.sip.core.session.SipApplicationSessionCreationThreadLocal; |
| 47 | +import org.mobicents.servlet.sip.message.SipFactoryImpl; |
45 | 48 | import org.mobicents.servlet.sip.message.SipServletMessageImpl;
|
46 | 49 | import org.mobicents.servlet.sip.message.SipServletRequestImpl;
|
47 | 50 | import org.mobicents.servlet.sip.message.SipServletResponseImpl;
|
@@ -201,7 +204,9 @@ private final static void send487Response(Transaction inviteTransaction, SipServ
|
201 | 204 | throw new DispatcherException(Response.SERVER_INTERNAL_ERROR, "Impossible to send the 487 to the INVITE transaction corresponding to CANCEL", e);
|
202 | 205 | } catch (InvalidArgumentException e) {
|
203 | 206 | throw new DispatcherException(Response.SERVER_INTERNAL_ERROR, "Impossible to send the 487 to the INVITE transaction corresponding to CANCEL", e);
|
204 |
| - } |
| 207 | + } catch (ParseException e) { |
| 208 | + throw new DispatcherException(Response.SERVER_INTERNAL_ERROR, "Impossible to send the 487 to the INVITE transaction corresponding to CANCEL", e); |
| 209 | + } |
205 | 210 | }
|
206 | 211 |
|
207 | 212 | public static class CancelDispatchTask extends DispatchTask {
|
|
0 commit comments