mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-20 12:20:12 +00:00
Do the last thing the right way (thanks Mark)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6266,7 +6266,7 @@ static int sip_dtmfmode(struct ast_channel *chan, void *data)
|
|||||||
{
|
{
|
||||||
struct sip_pvt *p = chan->pvt->pvt;
|
struct sip_pvt *p = chan->pvt->pvt;
|
||||||
char *mode;
|
char *mode;
|
||||||
if (strcasecmp(chan->name, "SIP")) {
|
if (chan->type != type) {
|
||||||
ast_log(LOG_WARNING, "Call this application only on SIP incoming calls\n");
|
ast_log(LOG_WARNING, "Call this application only on SIP incoming calls\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user