Oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
6bf1183922
commit
d069845b46
1 changed files with 1 additions and 1 deletions
|
@ -9124,7 +9124,7 @@ static int sip_getheader(struct ast_channel *chan, void *data)
|
|||
}
|
||||
|
||||
ast_mutex_lock(&chan->lock);
|
||||
if (chan->type != type) {
|
||||
if (chan->type != channeltype) {
|
||||
ast_log(LOG_WARNING, "Call this application only on incoming SIP calls\n");
|
||||
ast_mutex_unlock(&chan->lock);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue