Skip to content
Snippets Groups Projects
  • Sean Bright's avatar
    e71a65a3
    app_originate: Set ORIGINATE_STATUS correctly on failure · e71a65a3
    Sean Bright authored
    We were ignoring the return value from ast_pbx_outgoing_exten() and
    ast_pbx_outgoing_app() which could fail before setting the reason code.
    This resulted in failures being reported as success.
    
    ASTERISK-25266 #close
    Reported by: Allen Ford
    
    Change-Id: Idf16237b7e41b527d2c69c865829128686beeb3b
    e71a65a3
    History
    app_originate: Set ORIGINATE_STATUS correctly on failure
    Sean Bright authored
    We were ignoring the return value from ast_pbx_outgoing_exten() and
    ast_pbx_outgoing_app() which could fail before setting the reason code.
    This resulted in failures being reported as success.
    
    ASTERISK-25266 #close
    Reported by: Allen Ford
    
    Change-Id: Idf16237b7e41b527d2c69c865829128686beeb3b