[OpenSIPS-Devel] [OpenSIPS/opensips] e36884: Trigger exactly one callback per early state chang...

Damien Sandras dsandras at beip.be
Wed Jul 31 22:11:28 CEST 2013


  Branch: refs/heads/1.9
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e36884faae326258703e312b9c78fe5d6f18dd51
      https://github.com/OpenSIPS/opensips/commit/e36884faae326258703e312b9c78fe5d6f18dd51
  Author: Damien Sandras <dsandras at beip.be>
  Date:   2013-07-31 (Wed, 31 Jul 2013)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  Trigger exactly one callback per early state change.

There are several reasons behind this change:
1) Other callbacks are only triggered once for each state change.
2) SNOM phones send several 180 Ringing messages in a row. That triggers
several early dialog callbacks, which in turn trigger several PUBLISH
and NOTIFY through the pua_dialoginfo module. This can potentially lead
to problems.





More information about the Devel mailing list