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

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


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bc0a8073f13feaa8ec530b958611caac743f2c41
      https://github.com/OpenSIPS/opensips/commit/bc0a8073f13feaa8ec530b958611caac743f2c41
  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