diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 020ebdcf6370599d39b41e7a3e0fc84f1cc4f4b8..802e497f84f475b348f74d47a68005e683208b6a 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -11313,11 +11313,6 @@ static int sip_addheader(struct ast_channel *chan, void *data) return 0; } ast_mutex_lock(&chan->lock); - if (chan->type != channeltype) { - ast_log(LOG_WARNING, "Call this application only on incoming SIP calls\n"); - ast_mutex_unlock(&chan->lock); - return 0; - } /* Check for headers */ while (!ok && no <= 50) {