diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index cdfb867b39..bbb883056f 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -3105,7 +3105,8 @@ static int dahdi_call(struct ast_channel *ast, char *rdest, int timeout) redirect_reason = 0; else if (!strcasecmp(rr_str, "BUSY")) redirect_reason = 1; - else if (!strcasecmp(rr_str, "NO_REPLY")) + else if (!strcasecmp(rr_str, "NO_REPLY") || !strcasecmp(rr_str, "NOANSWER")) + /* the NOANSWER is to match diversion-reason from chan_sip, (which never reads PRIREDIRECTREASON) */ redirect_reason = 2; else if (!strcasecmp(rr_str, "UNCONDITIONAL")) redirect_reason = 15; diff --git a/channels/chan_h323.c b/channels/chan_h323.c index b574421841..7600cb8c35 100644 --- a/channels/chan_h323.c +++ b/channels/chan_h323.c @@ -626,7 +626,8 @@ static int oh323_call(struct ast_channel *c, char *dest, int timeout) pvt->options.redirect_reason = 0; else if (!strcasecmp(addr, "BUSY")) pvt->options.redirect_reason = 1; - else if (!strcasecmp(addr, "NO_REPLY")) + else if (!strcasecmp(addr, "NO_REPLY") || !strcasecmp(addr, "NOANSWER")) + /* the NOANSWER is to match diversion-reason from chan_sip, (which never reads PRIREDIRECTREASON) */ pvt->options.redirect_reason = 2; else if (!strcasecmp(addr, "UNCONDITIONAL")) pvt->options.redirect_reason = 15;