Skip to content

processDialogTimeout not called #202

Description

@kingle-zhuang

In SIPDialog.java
raiseErrorEvent(SIPDialogErrorEvent.DIALOG_ACK_NOT_RECEIVED_TIMEOUT);

nextListener.dialogErrorEvent(newErrorEvent);

The listener is SIPStackImpl not provider, SIPStackImpl inherit from SIPTransactionStack

then call below code, do nothing just exit & close timer, not call provider dialogErrorEvent or our own listener's processDialogTimeout

/*
 * (non-Javadoc)
 *
 * @see
 * gov.nist.javax.sip.stack.SIPDialogEventListener#dialogErrorEvent(gov.
 * nist.javax.sip.stack.SIPDialogErrorEvent)
 */
public synchronized void dialogErrorEvent(
        SIPDialogErrorEvent dialogErrorEvent) {
    SIPDialog sipDialog = (SIPDialog) dialogErrorEvent.getSource();
    SipListener sipListener = ((SipStackImpl)this).getSipListener();
    // if the app is not implementing the SipListenerExt interface we delete
    // the dialog to avoid leaks
    if(sipDialog != null && !(sipListener instanceof SipListenerExt)) {
        sipDialog.delete();
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions