[asterisk-bugs] [JIRA] (ASTERISK-26893) No "alert" or "progress" in chan_ooh323 if debug is enabled only on the module

Marco Giordani (JIRA) noreply at issues.asterisk.org
Thu Mar 23 03:54:10 CDT 2017


Marco Giordani created ASTERISK-26893:
-----------------------------------------

             Summary: No "alert" or "progress" in chan_ooh323 if debug is enabled only on the module
                 Key: ASTERISK-26893
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26893
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Addons/chan_ooh323
    Affects Versions: 13.14.0, 11.13.1
         Environment: Debian 8 amd64
            Reporter: Marco Giordani


During my debug of an h323 call from another vendor device I noticed that asterisk doesn’t send back “alerting” to the caller party and the call never starts “ringing” for the caller. This happens only if debug is enabled from the cli with “ooh323 set debug” and core debug is off.
When both ooh323 debug and core debug are consistent (enabled or disabled) the call behavior is normal and asterisk sends back the alerting message.

Even if I should not make assumption, I’ve noticed that if h323 debug is enabled, ooManualRingback is invoked by ast_debug that executes only if core debug is enabled.
The same problem is present for ooManualProgress.

Attached you can find a very simple patchthat solves the problem invoking ooManualRingback and ooManualProgress before ast_debug. It seems to solve completely this issue.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list