diff options
Diffstat (limited to 'channels/chan_h323.c')
-rw-r--r-- | channels/chan_h323.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_h323.c b/channels/chan_h323.c index f5fa3e6d6..c44e0597f 100644 --- a/channels/chan_h323.c +++ b/channels/chan_h323.c @@ -631,7 +631,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; |