dect
/
asterisk
Archived
13
0
Fork 0

fix bug 3329 (monitor flags)

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4770 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
anthm 2005-01-12 18:14:47 +00:00
parent a3e0f97d77
commit e234ddbf1f
1 changed files with 2 additions and 2 deletions

View File

@ -790,8 +790,8 @@ static int dial_exec(struct ast_channel *chan, void *data)
ast_set2_flag(tmp, strchr(transfer, 'h'), DIAL_ALLOWDISCONNECT_IN);
ast_set2_flag(&peerflags, strchr(transfer, 'h'), DIAL_ALLOWDISCONNECT_IN);
ast_set2_flag(tmp, strchr(transfer, 'f'), DIAL_FORCECALLERID);
ast_set2_flag(tmp, strchr(transfer, 'w'), DIAL_MONITOR_IN);
ast_set2_flag(tmp, strchr(transfer, 'W'), DIAL_MONITOR_OUT);
ast_set2_flag(&peerflags, strchr(transfer, 'w'), DIAL_MONITOR_IN);
ast_set2_flag(&peerflags, strchr(transfer, 'W'), DIAL_MONITOR_OUT);
ast_set2_flag(tmp, strchr(transfer, 'g'), DIAL_GO_ON);
}
strncpy(numsubst, number, sizeof(numsubst)-1);