mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 12:52:33 +00:00
Little addition to the redirectionreason stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -7798,6 +7798,9 @@ static void *pri_dchannel(void *vpri)
|
||||
case 0xF:
|
||||
snprintf(redirstr, 20, "UNCONDITIONAL"); /* Other reason */
|
||||
break;
|
||||
default:
|
||||
snprintf(redirstr, 20, "NOREDIRECT");
|
||||
break;
|
||||
}
|
||||
|
||||
pbx_builtin_setvar_helper(c, "PRIREDIRECTCAUSE", redirstr);
|
||||
|
Reference in New Issue
Block a user